Network Management Protocol (SNMP) Commands
78-21075-01 Command Line Interface Reference Guide
Example
The following example displays the SNMP engine ID.
switchxxxxxx # show snmp engineID
Local SNMP engineID: 08009009020C0B099C075878
IP address
Remote SNMP engineID
-----------
-------------------------------
172.16.1.1
08009009020C0B099C075879
12.16 snmp-server enable traps
Use the snmp-server enable traps Global Configuration mode command to enable
the device to send all SNMP traps. Use the no form of the command to disable all
SNMP traps.
Syntax
snmp-server enable traps
no snmp-server enable traps
Default Configuration
SNMP traps are enabled.
Command Mode
Global Configuration mode
User Guidelines
If no snmp-server enable traps has been entered, you can enable failure traps by
using
snmp-server trap authentication
Example
The following example enables SNMP traps except for SNMP failure traps.
switchxxxxxx(config)#
switchxxxxxx(config)#
as shown in the example.
snmp-server enable traps
no snmp-server trap authentication
12
217