2-750
Catalyst 3750 Switch Command Reference
OL-8552-07
Chapter 2 Catalyst 3750 Switch Cisco IOS Commands
snmp-server enable traps
Note 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.
To set the CPU threshold notification types and values, use the process cpu threshold type global
configuration command.
Examples This example shows how to send VTP traps to the NMS:
Switch(config)# snmp-server enable traps vtp
vlandelete (Optional) Enable SNMP VLAN-deleted traps.
vtp (Optional) Enable VLAN Trunking Protocol (VTP) traps.
Release Modification
12.1(11)AX This command was introduced.
12.1(14)EA1 The bgp, copy-config, envmon, flash, port-security, stpx, syslog,
vlancreate, and vlandelete keywords were added.
12.2(18)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.
12.2(37)SE The errdisable notification-rate value keywords were added.
12.2(46)SE The dot1x [ auth-fail-vlan | guest-vlan | no-auth-fail-vlan |
no-guest-vlan
] keywords were added.
12.2(50)SE The cpu threshold keywords were added.