cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1629
Views
0
Helpful
3
Replies

SNMP Trap Configuration

dhalaska
Level 1
Level 1

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

3 Replies 3

David Stanford
Cisco Employee
Cisco Employee

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

http://www.cisco.com/warp/public/477/SNMP/catos_traps.shtml

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?

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