snmp community—Define an SNMP community (on vEdge routers and vSmart controllers only).
vManage Feature Template
For vEdge routers and vSmart controllers only:
Configuration ► Templates ► SNMP
snmp community name authorization read-only view string
- Authorization Level
- authorization read-only
Set the access authorization level for SNMP Get, GetNext, and GetBulk requests. The MIBs supported by the Viptela software do not allow write operations, so you can configure only read-only authorization (which is the default authorization).
- Community String
- community name
Define the name an SNMP community, which authorizes SNMP clients based on the source IP address of incoming packets. The community name can be a maximum of 32 characters. If it includes spaces, enclose it in quotation marks (" "). The name can include angle brackets (< and >).
- Specify the MIB Objects an SNMP Manager Can Access
- view string
Configure the view, or MIB objects, that the SNMP manager can access for this community. You define the view name with the snmp view configuration command. The view name can be a maximum of 255 characters. If it includes spaces, enclose the name in quotation marks (" ").
show running-config snmp
Configure the public community to be read-only:
vEdge# config Entering configuration mode terminal vEdge(config)# snmp community public vEdge(config-community-public)# authorization read-only vEdge(config-community-public)# show config snmp community public authorization read-only ! ! vEdge(config-community-public)#
Command introduced in Viptela Software Release 14.1.
In Release 16.3, allow angle brackets in the community string.
See the Configuring SNMP article for your software release.