11-08-2006 05:39 AM
I would like to enable snmp traps on my CatOS and IOS switches. Specifically, I would like to receive notifications on the following:
Power supply failure
Line card failure on chassis
Uplink failures (regardless of interface type)
I understand I should use the command snmp-server enable traps IOS. If so, I see that power supply traps can be sent with the envmon keyword. I also see that interface traps can be sent with the SNMP keyword. Is this correct and can I configure that for specific interfaces and not all of the ports/interfaces on a device
How can the line card failure traps be configured and how can all these be setup on CATOS?
Thank you,
David
11-08-2006 06:05 AM
Hi David,
You are correct that you can limit interface traps on a per interface basis, this is available in most code. You can enter a command like:
NO SNMP-SERVER TRAP LINK-STATUS
or
SNMP-SERVER TRAP LINK-STATUS
This will tell the interface whether to generate linkUp/Down traps
Here's a couple of good links which show what traps are sent from the different snmp-server trap options in IOS and CatOS:
http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a008021de3e.shtml
11-08-2006 07:18 AM
This is good. Thank you for the quick response.
I still don't see how to do module up/down traps on a Catalyst switch running IOS. Can it be done on IOS?
11-08-2006 07:45 AM
On my cat6K running IOS I could do:
Interface level:
no snmp trap link-status
or
snmp trap link-status
Global to enable up/down traps:
snmp-server enable traps snmp
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide