2-427
Cisco Catalyst Blade Switch 3030 Command Reference
78-17262-01
Chapter 2 Cisco
Catalyst
Blade Switch 3030 Cisco IOS Commands
snmp-server enable traps
Note
Though visible in the command-line help strings, the
cpu
[
threshold
],
cluster, hsrp, msdp, ospf, pim,
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.
Related Commands
Release
Modification
12.2(25)SEE
This command was introduced.
Command
Description
show running-config
Displays the running configuration on the switch. For syntax information,
select
Cisco IOS Configuration Fundamentals Command Reference,
Release 12.2 > File Management Commands > Configuration File
Management Commands
.
snmp-server host
Specifies the host that receives SNMP traps.