Chapter 21 Troubleshooting and FAQs

Configuration

To verify that SNMP and Traps are configured to be sent to the Cisco 12000/10720 Router Manager, in the CLI enter:

show running-config begin snmp

This command will list all the SNMP configurations for the router. You should see the following statement defining the SNMP read community strings for the router. When the following statement is configured in the router, the SNMP agent is up and running:

snmp-server community public RO

Note You should also define the SNMP write community string. Cisco IOS only requires the read community string defined in order to have the SNMP agent running in the router.

Traps and trap recipients can be configured from the Cisco 12000/10720 Router Manager.

Right click on the chassis object and choose Configuration > SNMP Management. In the SNMP Management window, click Enable to allow trap generation. You will get a report message with the details on the IOS CLI commands that were executed.

Once you have enabled traps, running-config begin snmp

you will see the following trap entries. In the CLI, enter show command in IOS to view the following output:

snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart snmp-server enable traps atm subif

snmp-server enable traps srp snmp-server enable traps hsrp snmp-server enable traps config snmp-server enable traps entity snmp-server enable traps envmon snmp-server enable traps syslog snmp-server enable traps fru-ctrl snmp-server enable traps bgp

snmp-server enable traps pim neighbor-change rp-mapping-change invalid-pim-messagesnmp-server enable traps msdp snmp-server enable traps frame-relay

snmp-server enable traps frame-relay subif snmp-server enable traps rtr snmp-server enable traps mpls ldp snmp-server enable traps mpls traffic-eng snmp-server enable traps mpls vpn

Note You should see an entry for trap recipient (like the Cisco 12000/10720 Router Manager server) similar to:

snmp-server host 172.29.139.6 version 2c public

You should see an entry for enabling syslog messages to be sent as SNMP traps:

snmp-server enable traps syslog

In order to verify that logging (syslog) is configured in IOS, execute the following commands:

show running configuration include logging

Cisco 12000/10700 v3.1.1 Router Manager User Guide

21-4

OL-4455-01

 

 

Page 576
Image 576
Cisco Systems 12000/10700 V3.1.1 manual Show running-config begin snmp, 21-4