2-385
Catalyst 2350 Switch Command Reference
OL-19055-01
Chapter 2 Catalyst 2350 Cisco IOS Commands
snmp-server enable traps
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.
Related Commands
Release
Modification
12.2(46)EY
This command was introduced.
Command
Description
show running-config
Displays the operating configuration. For syntax information, use this link to
the Cisco IOS Release 12.2 Command Reference listing page:
http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command
_reference_list.html
Select the
Cisco IOS Commands Master List, Release 12.2
to navigate to
the command.
snmp-server host
Specifies the host that receives SNMP traps.