cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2334
Views
5
Helpful
2
Replies

EEM for EIGRP flapping

rmorganq
Level 1
Level 1

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 2

Joe Clarke
Cisco Employee
Cisco Employee

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"

Thanks, Joseph.

Review Cisco Networking for a $25 gift card