snmp-server
Parameter
None
Default
None
Command Mode
Global configuration mode
Example
switch(config)#snmp-server user ro 111
7.2.7
example
SNMP is enabled on the switch and PC1 is installed with MIB
Browser to obtain the switch node information.
sw:
switch(config)# snmp-server
switch(config)#snmp-server community ro 123
switch(config)#snmp-server community rw 123
// This command is used to configure the SNMP version and read/write
community.
switch(config)# snmp-server trap enable
switch(config)# snmp-server trap2sink 192.168.222.107
// This command is used to configure SNMP trap information.