D
EFAULT
None
C
OMMAND
Global Configuration
E
XAMPLE
Console(config)#snmp-server location WC-19
Console(config)#
R
ELATED
snmp-server contact (774)
This command can be used to check the status of SNMP communications.
show snmp
D
EFAULT
None
C
OMMAND
Normal Exec, Privileged Exec
C
OMMAND
This command provides information on the community access strings,
counters for SNMP input and output protocol data units, and whether or not
SNMP logging has been enabled with the snmp-server enable traps
command.
E
XAMPLE
Console#show snmp
SNMP Agent : Enabled
SNMP Traps :
Authentication : Enabled
Link-up-down
MAC-notification : Disabled
MAC-notification interval : 1 second(s)
SNMP Communities :
1. public, and the access level is read-only
2. private, and the access level is read/write
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
S
ETTING
M
ODE
C
OMMANDS
S
ETTING
M
ODE
U
SAGE
: Enabled
– 775 –
| SNMP Commands
C
21
HAPTER
General SNMP Commands