2-975
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
snmp-server enable traps
snmp-server enable traps
To enable SNMP notifications (traps or informs), use the snmp-server enable traps command. To
disable all SNMP notifications, use the no form of this command.
snmp-server enable traps [flash [insertion | removal] | fru-ctrl | port-security [trap-rate
trap-rate] | removal | stpx | vlancreate | vlandelete | vtp] [mac-notification [change | move |
threshold]
no snmp-server enable traps [flash [insertion | removal] | fru-ctrl | port-security [trap-rate
trap-rate] | removal | stpx | vlancreate | vlandelete | vtp] [mac-notification]
Syntax Description
Defaults SNMP notifications are disabled.
Command Modes Global configuration mode
Command History
Usage Guidelines If you enter this command without an option, all notification types controlled by this command are
enabled.
flash (Optional) Controls the SNMP FLASH trap notifications.
insertion (Optional) Controls the SNMP flash insertion trap notifications.
removal (Optional) Controls the SNMP flash removal trap notifications.
fru-ctrl (Optional) Controls the SNMP entity FRU control trap notifications.
port-security (Optional) Controls the SNMP trap generation.
trap-rate trap-rate (Optional) Sets the number of traps per second.
stpx (Optional) Controls all the traps defined in
CISCO-STP-EXTENSIONS-MIB notifications.
vlancreate (Optional) Controls the SNMP VLAN created trap notifications.
vlandelete (Optional) Controls the SNMP VLAN deleted trap notifications.
vtp (Optional) Controls the SNMP VTP trap notifications.
mac-notification (Optional) Controls the SNMP MAC trap notifications.
change (Optional) Controls the SNMP MAC change trap notifications.
move (Optional) Controls the SNMP MAC move trap notifications.
threshold (Optional) Controls the SNMP MAC threshold trap notifications.
Release Modification
12.1(13)EW Support for this command was introduced on the Catalyst 4500 series switch.
12.2(31)SG Support for MAC notification was added.