2-431
Catalyst 2950 and Catalyst 2955 Switch Command Reference
0L-10102-01
Chapter 2 Catalyst 2950 and 2955 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 | bridge | c2900 | cluster | config | copy-config | entity |
envmon [fan | shutdown | status | supply | temperature | voltage] | flash | hsrp |
mac-notification | port-security [trap-rate value] | rtr | snmp [authentication | coldstart |
linkdown | linkup | warmstart] | stpx | syslog | vlan-membership | vlancreate | vlandelete |
vtp]
no snmp-server enable traps [alarms | bridge | c2900 | cluster | config | copy-config | entity |
envmon [fan | shutdown | status | supply | temperature | voltage] | flash | hsrp |
mac-notification | port-security [trap-rate ] | rtr | snmp [authentication | coldstart |
linkdown | linkup | warmstart]| stpx | syslog | vlan-membership | vlancreate | vlandelete |
vtp]
Syntax Description alarms (Optional) Enable SNMP alarm traps. This keyword is only available on a
Catalyst 2955 switch.
bridge (Optional) Enable SNMP Spanning Tree Protocol (STP) bridge management
information base (MIB) traps.
c2900 (Optional) Enable SNMP configuration traps.
cluster (Optional) Enable cluster traps.
config (Optional) Enable SNMP configuration traps.
copy-config (Optional) Enable SNMP copy-configuration traps.
entity (Optional) Enable SNMP entity traps.
envmon (Optional) Enable environmental monitor (EnvMon) MIB.
fan (Optional) Enable SNMP EnvMon fan traps.
shutdown (Optional) Enable SNMP EnvMon monitor shutdown traps.
status Optional) Enable SNMP EnvMon monitor status change traps.
supply (Optional) Enable SNMP power supply traps.
temperature (Optional) Enable SNMP EnvMon temperature traps.
voltage (Optional) Enable SNMP EnvMon voltage traps.
flash (Optional) Enable SNMP FLASH notifications.
hsrp (Optional) Enable Hot Standby Router Protocol (HSRP) traps.
mac-notification (Optional) Enable MAC address notification traps.
port-security (Optional) Enable port security traps.
trap-rate value (Optional) Set the number of traps per second. The range is 0 to 1000.
rtr (Optional) Enable SNMP Response Time Reporter traps.
snmp (Optional) Enable SNMP traps.
authentication (Optional) Enable SNMP authentication traps.
coldstart (Optional) Enable SNMP coldstart traps.
linkdown (Optional) Enable SNMP linkdown traps.