show snmp
User EXEC mode
If
enable password-display is configured on the device, the MD5 password is displayed in clear text in the output
for the
show snmp server command. To prevent the MD5 password from being displayed in clear text, the
enable password-display command should be used with the
md5-fmt parameter. Refer to the
enable password-display command for more information.
The
show snmp
engineid command displays the following information:
| Output field | Description |
|---|---|
| Local SNMP Engine ID | The engine ID that identifies the source or destination of the packet. |
| Engine Boots | The number of times that the SNMP engine reinitialized itself with the same ID. If the engine ID is modified, the boot count is reset to 0. |
| Engine time | The current time with the SNMP agent. |
The
show snmp
group command displays the following information:
The following example displays output of the
show snmp
engineid command.
device# show snmp engineid Local SNMP Engine ID: 800007c703748ef88315c0 Engine Boots: 24 Engine time: 1586246
The following example displays output of the
show snmp
group command.
device# show snmp group groupname = 1n security model = v3 security level = authNoPriv ACL id = 1 readview = r writeview = exit notifyview = n groupname = d3 security model = v3 security level = authNoPriv ACL id = 3 readview = all writeview = all notifyview = all groupname = d4 security model = v3 security level = authNoPriv ACL id = 3 readview = <none> writeview = <none> notifyview = 3
The following example displays output of the
show snmp
server command.
device# show snmp server
Status: Enabled
Contact: XYZ
Location: CopyCenter
Max Ifindex per module: 64
Traps
Cold start: Enable
Link up: Enable
Link down: Enable
Authentication: Enable
Power supply failure: Enable
Fan failure: Enable
Fan speed change: Enable
Module inserted: Enable
Module removed: Enable
Redundant module state change: Enable
Temperature warning: Enable
STP new root: Enable
STP topology change: Enable
MAC notification: Enable
MAC-AUTH notification: Enable
VSRP: Enable
MRP: Enable
UDLD: Enable
VRF: Enable
link-oam: Enable
cfm: Enable
nlp-phy: Enable
Total Trap-Receiver Entries: 0
The following example displays output of the
show snmp
user command.
device# show snmp user username = bob ACL id = 2 group = admin security model = v3 group ACL id = 0 authtype = md5 authkey = 3aca18d90b8d172760e2dd2e8f59b7fe privtype = des, privkey = 1088359afb3701730173a6332d406eec engine ID= 800007c70300e052ab0000
The following example shows a portion of sample output from the
show snmp server command when the
enable password-display feature is configured. The MD5 password is displayed in clear text.
device> show snmp server … Community(ro): public Community(rw): private …