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

EIGRP Neighbhor down applet

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
Everyone's tags (1)
2 REPLIES
Community Member

EIGRP Neighbhor down applet

I wanted to send a customized neighbhor down trap for eigrp neighbhor failure for existing MIB..Please assist

Regards Vinayak
Community Member

Re: EIGRP Neighbhor down applet

I am very new to this EEM...

I have downloaded the MIB file for EEM...

ftp://ftp.cisco.com/pub/mibs/v2/CISCO-EMBEDDED-EVENT-MGR-MIB.my

Can someone guide me writing an applet that would match "specific neighbhor loss" and triggers an snmp trap which matches the listed MIB..? or is my perception wrong?

I know there are some additional var bind commands i have to add to complete this..but i am looking for some asistance

Any help will be highly appreciated...thank you

Regards Vinayak
969
Views
0
Helpful
2
Replies
CreatePlease to create content