79-27
Cisco ASA 5500 Series Configuration Guide using the CLI
Chapter79 Configuring SNMP
Monitoring SNMP
SNMP Syslog Messaging
SNMP generates detailed syslog messages that are numbered 212nnn. Syslog messages indicate the
status of SNMP requests, SNMP traps, SNMP channels, and SNMP responses from the ASA to a
specified host on a specified interface.
For detailed information about syslog messages, see syslog message guide.
Note SNMP polling fails if SNMP syslog messages exceed a high rate (approximately 4000 per second).
SNMP Monitoring
To monitor SNMP, enter one of the following commands:
Examples
The following example shows how to display SNMP server statistics:
hostname(config)# show snmp-server statistics
0 SNMP packets input
0 Bad SNMP version errors
0 Unknown community name
0 Illegal operation for community name supplied
0 Encoding errors
0 Number of requested variables
0 Number of altered variables
0 Get-request PDUs
0 Get-next PDUs
Command Purpose
show running-config [default]
snmp-server
Shows all SNMP server configuration information.
show running-config snmp-server group Shows SNMP group configuration settings.
show running-config snmp-server host Shows configuration settings used by SNMP to control messages and
notifications sent to remote hosts.
show running-config snmp-server user Shows SNMP user-based configuration settings.
show snmp-server engineid Shows the ID of the SNMP engine configured.
show snmp-server group Shows the names of configured SNMP groups.
Note If the community string has already been configured, two extra groups
appear by default in the output. This behavior is normal.
show snmp-server statistics Shows the configured characteristics of the SNMP server.
To reset all SNMP counters to zero, use the clear snmp-server statistics
command.
show snmp-server user Shows the configured characteristics of users.