SNMP Commands
snmp-server
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
438
32
snmp-server
To enable SNMP on the switch, use the snmp-server Global Configuration mode
command.
To disable SNMP on the switch, use the no form of this command.
Syntax
snmp-server
no snmp-server
Parameters
N/A
Default Configuration
N/A
Command Mode
Global Configuration mode
Example
switchxxxxxx(config)#
snmp-server
snmp-server community
To define an SNMP community that permits access to SNMP commands (v1 and
v2), use the snmp-server community Global Configuration mode command.
To delete an SNMP community, use the no form of this command.
Syntax
snmp-server community
community-string
[view
view-name
] {ro | rw}
snmp-server community
community-string
group
group-name
no snmp-server community
community-string