7200 routers sending generic Agent Interface Down traps

Unanswered Question
May 11th, 2007
User Badges:
  • Gold, 750 points or more

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#)?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Joe Clarke Fri, 05/11/2007 - 10:10
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

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.

yjdabear Fri, 05/11/2007 - 10:19
User Badges:
  • Gold, 750 points or more

>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

Joe Clarke Fri, 05/11/2007 - 10:33
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

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.

Joe Clarke Fri, 05/11/2007 - 11:14
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

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.

yjdabear Fri, 05/11/2007 - 11:28
User Badges:
  • Gold, 750 points or more

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


Joe Clarke Fri, 05/11/2007 - 11:30
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

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

Actions

This Discussion