Specifications

2-256
Catalyst 2950 and Catalyst 2955 Switch Command Reference
78-15304-01
Chapter 2 Cisco IOS Commands
snmp-server enable traps
snmp-server enable traps
Use the snmp-server enable traps global configuration command to enable the switch to send Simple
Network Management Protocol (SNMP) notification for various trap types to the network management
system (NMS). Use the no form of this command to return to the default setting.
snmp-server enable traps [alarms | c2900 | cluster | config | entity | envmon [fan | shutdown |
supply | temperature | voltage] | hsrp | mac-notification | rtr | snmp | syslog |
vlan-membership | vtp]
no snmp-server enable traps [alarms | c2900 | cluster | config | entity | envmon | hsrp |
mac-notification | rtr | snmp | syslog | vlan-membership | vtp]
Note Though visible in the command-line help strings, the snmp-server enable informs command is not
supported. To enable sending SNMP inform notifications, use the snmp-server enable traps command
combined with the snmp-server host host-addr informs command.
Syntax Description
Defaults The sending of SNMP traps is disabled.
Command Modes Global configuration
alarms (Optional) Enable SNMP alarm traps.
c2900 (Optional) Enable SNMP configuration traps.
cluster (Optional) Enable cluster traps.
config (Optional) Enable SNMP configuration traps.
entity (Optional) Enable SNMP entity traps.
envmon (Optional) Enable environmental monitor (EnvMon) management
information base (MIB).
fan (Optional) Enable SNMP EnvMon fan traps.
hsrp (Optional) Enable Hot Standby Router Protocol (HSRP) traps.
mac-notification (Optional) Enable MAC address notification traps.
rtr (Optional) Enable SNMP Response Time Reporter traps.
shutdown (Optional) SNMP EnvMon monitor shutdown traps.
snmp (Optional) Enable SNMP traps.
supply (Optional) Enable SNMP power supply traps.
syslog (Optional) Enable SNMP syslog traps.
temperature (Optional) Enable SNMP EnvMon temperature traps.
vlan-membership (Optional) Enable SNMP VLAN membership traps.
voltage (Optional) Enable SNMP EnvMon voltage traps.
vtp (Optional) Enable VLAN Trunking Protocol (VTP) traps.