Chapter 22
Show Commands
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
show snmp
To display SNMP status and setting information, use the show snmp command.
Syntax Description
community
engineID
group
host
sessions
trap
user
user-name
engineID
engine-id
Defaults
None.
Command Modes
EXEC mode.
Command History
Release
1.0(2)
2.0(x)
3.1(2)
Usage Guidelines
None.
Examples
The following example displays SNMP information.
switch# show snmp
sys contact:
sys location:
1631 SNMP packets input
OL-8413-07, Cisco MDS SAN-OS Release 3.x
show snmp [community | engineID | group | host | sessions | trap | user [user-name]
[engineID engine-id]]
Displays SNMP community strings.
Displays SNMP engine IDs.
Displays SNMP groups.
Displays SNMP hosts.
Displays SNMP sessions.
Displays SNMP traps.
Displays SNMPv3 users.
Specifies the user name. The maximum is 32.
Displays the engine ID.
Specifies the engine ID. The maximum is 128.
Modification
This command was introduced.
Added the engineid, group, and sessions keywords.
Added the trap keyword.
0 Bad SNMP versions
0 Unknown community name
0 Illegal operation for community name supplied
0 Encoding errors
64294 Number of requested variables
1 Number of altered variables
Cisco MDS 9000 Family Command Reference
show snmp
22-307