This document describes the traps sent when you configure the command snmp-server enable traps <…> on a Cisco device.
Readers of this document should have knowledge of these topics:
How to configure SNMP on a Cisco device
Use of SNMP get and walk commands
This document applies to Cisco devices (routers and switches) that run IOS which supports SNMP. The information in this document is based on several releases of IOS® because the trap command differs from release to release and platform to platform. For example, you will not have the capacity to send ATM related traps on a system that has no ATM interface.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Refer to Cisco Technical Tips Conventions for more information on document conventions.
In order to get an overview of the traps you have enabled on your device, issue this command on every Cisco IOS device:
cognac# conf t Enter configuration commands, one per line. End with CNTL/Z. cognac(config)# snmp-server enable traps ? atm Enable SNMP atm traps bgp Enable BGP state change traps config Enable SNMP config traps dial Enable SNMP dial control traps dlsw Enable SNMP dlsw traps dsp Enable SNMP dsp traps entity Enable SNMP entity traps envmon Enable SNMP environmental monitor traps frame-relay Enable SNMP frame-relay traps hsrp Enable SNMP HSRP traps ipmulticast Enable SNMP ipmulticast traps isdn Enable SNMP isdn traps msdp Enable SNMP MSDP traps rsvp Enable RSVP flow change traps rtr Enable SNMP Response Time Reporter traps snmp Enable SNMP traps syslog Enable SNMP syslog traps tty Enable TCP connection traps voice Enable SNMP voice traps xgcp Enable XGCP protocol traps <cr> cognac(config)#
Once you know the traps you have enabled, you can enable them as you need. This document helps you find which traps are sent when you enable a command.
Note: This list can differ from platform to platform and release to release because of the features in a specific device and available interfaces.
The Cisco Support Community is a forum for you to ask and answer questions, share suggestions, and collaborate with your peers.
Refer to Cisco Technical Tips Conventions for information on conventions used in this document.