C
OMMAND
L
INE
I
NTERFACE
4-142
show snmp
This command checks the status of SNMP communications.
Default Setting
None
Command Mode
Normal Exec, Privileged Exec
Command Usage
This command provides information on the community access strings,
counter information for SNMP input and output protocol data units,
and whether or not SNMP logging has been enabled with the
snmp-server enable traps command.
Example
Console#show snmp
SNMP traps:
Authentication: enabled
Link-up-down: enabled
SNMP communities:
1. alpha, and the privilege is read-write
2. private, and the privilege is read-write
3. public, and the privilege is read-only
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
0 Set-request PDUs
0 SNMP packets output
0 Too big errors
0 No such name errors
0 Bad values errors
0 General errors
0 Response PDUs
0 Trap PDUs
SNMP logging: enabled
Logging to 10.1.19.23 batman version 1
Console#