117
EES4710BD 10 Slots L2/L3/L4 Chassis Switch

1. 1. 1. 5

1. 1. 1. 9

Fig 5-2 SNMP Configuration Example
The IP address of NMS is 1.1.1.5; the Switch (Agent) IP address is 1.1.1.9.
Scenario 1: The NMS network administrative software uses SNMP protocol to obtain data from the
switch.
The configuration of the switch is listed below:
Switch(Config)#snmp-server enable
Switch(Config)#snmp-server community rw private
Switch(Config)#snmp-server community ro public
Switch(Config)#snmp-server securityip 1.1.1.5
Thus, the NMS can use “private” as the community string to access the switch with read-write
permission, or use “public” as the community string to access the switch with read-only permission.
Scenario 2: NMS will receive Trap messages from the switch (note: NMS may have community
string verification for the Trap messages, in this scenario, the NMS uses a Trap verification
community string of “dcstrap”).
The configuration of the switch is listed below:
Switch(Config)#snmp-server host 1.1.1.5 dcstrap
Switch(Config)#snmp-server enable traps
5.4.6 SNMP Troubleshooting Help 5.4.6.1 Monitor and Debug Commands

5.4.6.1.1 show snmp

Command: show snmp