2-603
Cisco ME 3400 Ethernet Access Switch Command Reference
OL-9640-10
Chapter 2 Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
snmp-server enable traps
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.
SNMP transceiver traps apply to SFPs that support DoM-capable transceivers installed on the switch.
The sensor values are polled every 10 minutes, which is how often the user sees traps or alarms.
Examples This example shows how to send port security traps to the NMS:
Switch(config)# snmp-server enable traps port security
You can verify your setting by entering the show running-config privileged EXEC command.
Related Commands
Release Modification
12.2(25)EX This command was introduced.
12.2(40)SE The change, move, and threshold keywords were added to the mac-notification option.
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.
12.2(52)SE The transceiver all keywords were added.
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.