2-553
Catalyst 3560 Switch Command Reference
78-16405-05
Chapter 2 Catalyst 3560 Switch Cisco IOS Commands
snmp-server enable traps
Note Though visible in the command-line help strings, the cpu [threshold], fru-ctrl, insertion, and removal
keywords are not supported. The snmp-server enable informs global configuration command is not
supported. To enable the sending of SNMP inform notifications, use the snmp-server enable traps
global configuration command combined with the snmp-server host host-addr informs global
configuration command.
Defaults The sending of SNMP traps is disabled.
Command Modes Global configuration
Command History
Usage Guidelines Specify the host (NMS) that receives the traps by using the snmp-server host global configuration
command. If no trap types are specified, all trap types are sent.
When supported, use the snmp-server enable traps command to enable sending of traps or informs.
Note Informs are not supported in SNMPv1.
To enable more than one type of trap, you must enter a separate snmp-server enable traps command
for each trap type.
Examples This example shows how to send VTP traps to the NMS:
Switch(config)# snmp-server enable traps vtp
You can verify your setting by entering the show vtp status or the show running-config privileged
EXEC command.
vlan-membership (Optional) Enable SNMP VLAN membership traps.
vlancreate (Optional) Enable SNMP VLAN-created traps.
vlandelete (Optional) Enable SNMP VLAN-deleted traps.
vtp (Optional) Enable VLAN Trunking Protocol (VTP) traps.
Release Modification
12.1(19)EA1 This command was introduced.
12.2(20)SE The ipmulticast, msdp, ospf [cisco-specific | errors | lsa | rate-limit |
retransmit | state-change], pim [invalid-pim-message | neighbor-change
| rp-mapping-change], and tty keywords were added.
12.2(25)SE The storm-control trap-rate value keywords were added.