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

EIGRP Traps

Vinayaka Raman
Level 1
Level 1

We have p2p metro-ethernet link between a 65kVSS and N7k running eigrp..
I wanted to monitor this link and forward the traps to SNMP server in the event of failure..
N7k and 65k has many other eigrp peers..but I wanted to monitor only this particular peers over p2p link...
so decided to monitor this particular eigrp neighbhorship..

Can we use EEM and write an applet to match the nighbhor down on the syslog and then forward the log to snmp?

Log messages on N7k:

2011 Oct 23 13:17:37 NEXUS-1-DMZ %EIGRP-5-NBRCHANGE_DUAL:  eigrp-1 [5158] (default-base) IP-EIGRP(0) 1: Neighbor 10.45.255.133 (Vlan777) is down: holding time expired

2011 Oct 23 13:03:44 NEXUS-1-DMZ %EIGRP-5-NBRCHANGE_DUAL:  eigrp-1 [5158] (default-base) IP-EIGRP(0) 1: Neighbor 10.45.255.133 (Vlan777) is up: new adjacency

2011 Oct 23 13:05:14 NEXUS-1-DMZ %EIGRP-5-NBRCHANGE_DUAL:  eigrp-1 [5158] (default-base) IP-EIGRP(0) 1: Neighbor 10.45.255.133 (Vlan777) is down: retry limit exceeded

2011 Oct 23 13:17:37 NEXUS-1-DMZ %EIGRP-5-NBRCHANGE_DUAL:  eigrp-1 [5158] (default-base) IP-EIGRP(0) 1: Neighbor 10.45.255.133 (Vlan777) is down: holding time expired

2011 Oct 23 13:03:44 NEXUS-1-DMZ %EIGRP-5-NBRCHANGE_DUAL:  eigrp-1 [5158] (default-base) IP-EIGRP(0) 1: Neighbor 10.45.255.133 (Vlan777) is up: new adjacency

2011 Oct 23 13:05:14 NEXUS-1-DMZ %EIGRP-5-NBRCHANGE_DUAL:  eigrp-1 [5158] (default-base) IP-EIGRP(0) 1: Neighbor 10.45.255.133 (Vlan777) is down: retry limit exceeded

So I planned to write an applet which will forward an snmp trap for Neighbor 10.45.255.133 (Vlan777) is down:
Does this idea sound good..Can you give me some tips in achieving this ?

event manager applet P2P_Link_Failure      <Creates and registers the applet with EEM>

event syslog pattern "Neighbor 10.45.255.133 (Vlan777) is down"  <Configures syslog event detector to match the error message>

action 1.0 snmp-trap strdata "Neighbor 10.45.255.133 (Vlan777) is down"

action 1.1 syslog priority Emergency msg "P2P Link Failure"

Regards Vinayak
3 Replies 3

Hi,

Sounds good, haveyou tried to implement that ??

Other possible solution maybe to implement a ip sla reachability and track that IP SLA in applet.

Regards,

Smitesh

Hi

I implemented this and it sends message successfully to external syslog server...

But for the snmp server, we are still having an issue..

The issue is that we need to know what MIBs to turn ON on the server to recieve this trap..

Regards Vinayak

Hi,

Check the below link, you may find something which you need

http://www.cisco.com/en/US/docs/ios-xml/ios/iproute_eigrp/configuration/12-4/EIGRP_MIB.html

HTH,

Smitesh

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card