Chapter 2 Catalyst 3750 Switch Cisco IOS Commands
snmp-server enable traps
Use the snmp-server enable traps global configuration command on the switch stack or on a standalone
switch 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.
Syntax Description
bgp
bridge
cluster
config
copy-config
entity
envmon
fan
shutdown
supply
temperature
flash
insertion
removal
fru-ctrl
hsrp
ipmulticast
mac-notification
mdsp
78-16181-01
snmp-server enable traps [bgp | bridge | cluster | config | copy-config | entity | envmon [fan |
shutdown | supply | temperature] | flash [insertion | removal] | fru-ctrl | hsrp | ipmulticast
| mac-notification | msdp | pim [invalid-pim-message | neighbor-change |
rp-mapping-change] | port-security [trap-rate value] | rtr | snmp [authentication | coldstart
| linkdown | linkup | warmstart] | stpx | syslog | tty | vlancreate | vlandelete |
vlan-membership | vtp]
no snmp-server enable traps [bgp | bridge | cluster | config | copy-config | entity | envmon [fan
| shutdown | supply | temperature] | flash [insertion | removal] | fru-ctrl | hsrp | ipmulticast
| mac-notification | msdp | pim [invalid-pim-message | neighbor-change |
rp-mapping-change] | port-security [trap-rate] | rtr | snmp [authentication | coldstart |
linkdown | linkup | warmstart] | stpx | syslog | tty | vlancreate | vlandelete |
vlan-membership | vtp]
(Optional) Enable Border Gateway Protocol (BGP) state change traps.
Note
(Optional) Generate STP bridge MIB traps.
(Optional) Enable cluster traps.
(Optional) Enable SNMP configuration traps.
(Optional) Enable SNMP copy configuration traps.
(Optional) Enable SNMP entity traps.
(Optional) Generate environmental monitor traps.
(Optional) Generate environmental fan trap.
(Optional) Generate environmental monitor shutdown traps.
(Optional) Generate environmental monitor power supply traps.
(Optional) Generate environmental monitor temperature traps.
(Optional) Enable SNMP FLASH notifications.
(Optional) Generate a trap when a switch (flash) is inserted into a stack,
either physically or because of a power cycle or reload.
(Optional) Generate a trap when a switch (flash) is removed from a stack,
either physically or because of a power cycle or reload.
(Optional) Generate entity FRU control traps. In the Catalyst 3750 switch
stack, this trap refers to the insertion or removal of a switch in the stack.
(Optional) Enable Hot Standby Router Protocol (HSRP) traps.
(Optional) Enable IP multicast routing traps.
(Optional) Enable MAC address notification traps.
(Optional) Enable Multicast Source Discovery Protocol (MSDP) traps.
This keyword is available only when the enhanced multilayer image
is installed on the stack master.
Catalyst 3750 Switch Command Reference
snmp-server enable traps
2-407