79-25
Cisco ASA 5500 Series Configuration Guide using the CLI
Chapter79 Configuring SNMP
Troubleshooting Tips
The output is based on the SNMP group of the SNMPv2-MIB.
To make sure that SNMP packets are going through the ASA or ASASM and to the SNMP process, enter
the following commands:
hostname(config)# clear asp drop
hostname(config)# show asp drop
If the NMS cannot request objects successfully or is not handing incoming traps from the ASA or
ASASM correctly, use a packet capture to isolate the problem, by entering the following commands:
hostname (config)# access-list snmp permit udp any eq snmptrap any
hostname (config)# access-list snmp permit udp any any eq snmp
hostname (config)# capture snmp type raw-data access-list snmp interface mgmt
hostname (config)# copy /pcap capture:snmp tftp://192.0.2.5/exampledir/snmp.pcap
If the ASA or ASASM is not performing as expected, obtain information about network topology and
traffic by doing the following:
For the NMS configuration, obtain the following information:
Number of timeouts
Retry count
Engine ID caching
Username and password used
Run the following commands:
show block
show interface
show process
show cpu
If a fatal error occurs, to help in reproducing the error, send a traceback file and the output of the show
tech-support command to Cisco TAC.
If SNMP traffic is not being allowed through the ASA or ASASM interfaces, you might also need to
permit ICMP traffic from the remote SNMP server using the icmp permit command.
For the ASA 5580, differences may appear in the physical interface statistics output and the logical
interface statistics output between the show interface command and the show traffic command.
Interface Types and Examples
The interface types that produce SNMP traffic statistics include the following:
Logical—Statistics collected by the software driver, which are a subset of physical statistics.
Physical—Statistics collected by the hardware driver. Each physical named interface has a set of
logical and physical statistics associated with it. Each physical interface may have more than one
VLAN interface associated with it. VLAN interfaces only have logical statistics.
Note For a physical interface that has multiple VLAN interfaces associated with it, be aware that
SNMP counters for ifInOctets and ifOutoctets OIDs match the aggregate traffic counters for that
physical interface.