Troubleshooting guide

3. Troubleshooting Functional Failures During Operation
136
3.15 SNMP communication failures
3.15.1 MIBs cannot be obtained from the SNMP manager
Make sure the configuration has been set correctly.
When using SNMPv1 or SNMPv2C
Execute the show access-list configuration command, and check whether the IP address of
the SNMP manager has been set in the access list in the configuration. After that, execute the
show snmp-server configuration command, and check whether the community name and
access list have been set correctly.
If the community name and access list have not been set, execute the
snmp-server community
configuration command to set information about the SNMP manager.
(config)# show access-list
access-list enable
access-list 1 permit ip 20.1.1.1 0.0.0.255
!
(config)# show snmp-server
snmp-server community "event-monitor" ro 1
!
(config)#
When using SNMPv3
Execute the show snmp-server configuration command, and check whether the information
about SNMP has been set correctly in the configuration of the Switch. If the information has
not been set correctly, execute the following configuration commands to set the information
about SNMP.
snmp-server engineID local
snmp-server view
snmp-server user
snmp-server group
(config)# show snmp-server
snmp-server engineID local "engine-ID"
snmp-server group "v3group" v3 priv read "view1" write "view1"
snmp-server user "v3user" "v3group" v3 auth md5 "abc*_1234" priv des "xyz/
+6789"
snmp-server view "view1" 1.3.6.1.2.1.1 included
!
(config)#
3.15.2 Traps cannot be received by the SNMP manager
Make sure the configuration has been set correctly.
When using SNMPv1 or SNMPv2C
Execute the show snmp-server configuration command, and check whether the information
about the SNMP manager and traps has been set in the configuration of the Switch.
If the information has not been set, execute the
snmp-server host configuration command to
set the information about the SNMP manager and traps.
(config)# show snmp-server
snmp-server host 20.1.1.1 traps "event-monitor" snmp
!
(config)#