SNMP trap question

From: David Mahler <dave.mahler_at_gmail.com>
Date: Tue, 3 May 2011 22:53:55 -0700

Hello All,

This is probably an easy one, but it's stumping me at the moment:

In this config I believe globally I am saying "enable ospf traps" but
on the host level I am saying "send only eigrp traps to 5.5.5.5"
effectively saying no traps should send:

snmp-server enable traps ospf state-change
snmp-server enable traps ospf errors
snmp-server enable traps ospf retransmit
snmp-server enable traps ospf lsa
snmp-server enable traps ospf cisco-specific state-change nssa-trans-change
snmp-server enable traps ospf cisco-specific state-change shamlink interface-old
snmp-server enable traps ospf cisco-specific state-change shamlink neighbor
snmp-server enable traps ospf cisco-specific errors
snmp-server enable traps ospf cisco-specific retransmit
snmp-server enable traps ospf cisco-specific lsa

snmp-server host 5.5.5.5 CISCO eigrp

However when I debug - I still see ospf traps sent to 5.5.5.5

*Mar 1 01:20:49.463: SNMP: Queuing packet to 5.5.5.5
*Mar 1 01:20:49.467: SNMP: V1 Trap, ent ospfTrap.2, addr 46.0.0.4,
gentrap 6, spectrap 12
 ospfGeneralGroup.1 = 4.4.4.4
 ospfLsdbEntry.1 = 0.0.0.0
 ospfLsdbEntry.2 = 5
 ospfLsdbEntry.3 = 3.3.3.3
 ospfLsdbEntry.4 = 4.4.4.4
*Mar 1 01:20:49.579: SNMP: Packet sent via UDP to 5.5.5.5
*Mar 1 01:20:49.835: SNMP: Packet sent via UDP to 5.5.5.5

Even in Cisco Docs I see an example like this:

"This example does not send traps to any host. The BGP traps are
enabled for all hosts, but only the ISDN traps are enabled to be sent
to a host.

snmp-server enable traps bgp
snmp-server host bob public isdn"

Am I missing something easy?

Thanks in advance!!

Blogs and organic groups at http://www.ccie.net
Received on Tue May 03 2011 - 22:53:55 ART

This archive was generated by hypermail 2.2.0 : Wed Jun 01 2011 - 09:01:11 ART