2-409
Catalyst 2960 Switch Command Reference
78-16882-01
Chapter 2 Catalyst 2960 Switch 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) notifications for various traps or inform requests to the network
management system (NMS). Use the no form of this command to return to the default setting.
snmp-server enable traps [bridge | cluster | config | copy-config | entity | envmon [fan |
shutdown | status | supply | temperature] | flash | hsrp | ipmulticast | mac-notification |
msdp | ospf [cisco-specific | errors | lsa | rate-limit | retransmit | state-change] | pim
[invalid-pim-message | neighbor-change | rp-mapping-change] | port-security [trap-rate
value] | rtr | snmp [authentication | coldstart | linkdown | linkup | warmstart] |
storm-control trap-rate value | stpx | syslog | tty | vlan-membership | vlancreate | vlandelete
| vtp]
no snmp-server enable traps [bridge | cluster | config | copy-config | entity | envmon [fan |
shutdown | status | supply | temperature] | flash | hsrp | ipmulticast | mac-notification |
msdp | ospf [cisco-specific | errors | lsa | rate-limit | retransmit | state-change] | pim
[invalid-pim-message | neighbor-change | rp-mapping-change] | port-security [trap-rate] |
rtr | snmp [
authentication | coldstart | linkdown | linkup | warmstart] | storm-control
trap-rate | stpx | syslog | tty | vlan-membership | vlancreate | vlandelete | vtp]
Syntax Description bridge (Optional) Generate STP bridge MIB 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 [fan |
shutdown | status |
supply | temperature]
Optional) Enable SNMP environmental traps. The keywords have these
meanings:
• fan—(Optional) Enable fan traps.
• shutdown—(Optional) Enable environmental monitor shutdown traps.
• status—(Optional) Enable SNMP environmental status-change traps.
• supply—(Optional) Enable environmental monitor power-supply traps.
• temperature—(Optional) Enable environmental monitor temperature
traps.
flash (Optional) Enable SNMP FLASH notifications.
hsrp (Optional) Enable Hot Standby Router Protocol (HSRP) traps.
ipmulticast (Optional) Enable IP multicast routing traps.
mac-notification (Optional) Enable MAC address notification traps.
msdp (Optional) Enable Multicast Source Discovery Protocol (MSDP) traps.