10-30-2013 10:50 AM
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.
10-30-2013 10:43 PM
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"
10-31-2013 06:41 AM
Thanks, Joseph.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide