Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

Blue

7200 routers sending generic Agent Interface Down traps

Does anyone know why the 7200s would be sending generic "Agent Interface Down (linkDown)" traps (.1.3.6.1.6.3.1.1.5.3) rather than "Cisco Agent Interface Down (linkDown)" traps (.1.3.6.1.6.3.1.1.5.3.1.3.6.1.4.1.9.1.ifIndex#)?

6 REPLIES
Cisco Employee

Re: 7200 routers sending generic Agent Interface Down traps

What version of IOS, and what does your SNMP config look like? If you have:

snmp-server trap link ietf

Then it will send standard link trap.

Blue

Re: 7200 routers sending generic Agent Interface Down traps

>sh ver

Cisco IOS Software, 7200 Software (C7200-A3JK9S-M), Version 12.4(8b), RELEASE SOFTWARE (fc2)

I don't see ietf configured, just:

snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart

Cisco Employee

Re: 7200 routers sending generic Agent Interface Down traps

This was changed recently so that the link traps will be sent from 1.3.6.1.6.3.1.1.5. However, there should still be an additional varbind at the end of the trap, locIfReason, which gives the reason the interface state changed.

Cisco Employee

Re: 7200 routers sending generic Agent Interface Down traps

I just confirmed your code is recent enough to have these changes. Basically, all linkUp traps will have the OID snmpTraps.4, and all linkDown traps, snmpTraps.3. Depending on whether or not you enable IETF link traps, the varbinds will change. The Cisco (i.e. non-IETF varbinds) are:

ifIndex

ifDescr

ifType

locIfReason

The IETF varbinds are:

ifIndex

ifAdminStatus

ifOperStatus

ifDescr

ifType

locIfReason

If this interface has a cciDescr (i.e. this is a circuit interface) the traps will contain the following varbinds. Cisco:

ifIndex

ifDescr

ifType

cciDescr

locIfReason

IETF:

ifIndex

ifAdminStatus

ifOperStatus

ifDescr

ifType

cciDescr

locIfReason

So, enabling the IETF link traps will give you more information in the body of the trap.

Blue

Re: 7200 routers sending generic Agent Interface Down traps

Does enabling the IETF option always make the linkDown trap more informative across all platforms (7200 vs 6500, etc.)?

Cisco Employee

Re: 7200 routers sending generic Agent Interface Down traps

Yes, provided the IOS supports enabling this option. The "snmp-server trap link ietf" command was added in 12.1(2)T.

656
Views
0
Helpful
6
Replies