show snmp
User EXEC mode
The show snmp
engineid command displays the following information:
When the SNMP server is disabled, the following warning message is displayed: "SNMP
is
disabled. Please enable SNMP to run show snmp commands."
| 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 snmpgroup command displays the following information:
The following example displays output of the
show snmpengineid command.
device# show snmp engineid Local SNMP Engine ID: 800007c703748ef88315c0 Engine Boots: 24 Engine time: 1586246
The following example displays output of the
show snmpgroup 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 snmpserver 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 snmpuser 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