Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

EEM for EIGRP flapping

Hello Experts,

Customer needs to find out the root cause of the EIGRP neighbors flapping. Haplessly, the flap occurs for around 4 seconds and then recover. I would like to find out if it is possible to configure an EEM script to run when the neighbor flaps. When the EIGRP neighbot goes down, the log shows: "DUAL-5-NBRCHANGE" and we will need to run the following commands:

- debug eigrp packet

- debug ip eigrp neighbor

- show interface

If you would like further information, please let me know.

Thanks in advance.

2 REPLIES
Cisco Employee

EEM for EIGRP flapping

This should work:

event manager applet eigrp-flap

event syslog pattern "DUAL-5-NBRCHANGE" maxrun 60

action 1.0 cli command "enable"

action 2.0 cli command "debug eigrp packet"

action 3.0 cli command "debug ip eigrp neighbor"

action 4.0 wait 5

action 5.0 cli command "show log | append flash:eigrp_flap.txt"

action 6.0 cli command "show interface | append flash:eigrp_flap.txt"

action 7.0 cli command "undebug all"

New Member

EEM for EIGRP flapping

Thanks, Joseph.

930
Views
5
Helpful
2
Replies
CreatePlease to create content