cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6877
Views
0
Helpful
1
Comments
SunilKhanna
Level 1
Level 1

     
    Abstract

     

    Embedded Event Manager (EEM) is a powerful tool  integrated with Cisco IOS Software for system management from within the  device itself. EEM offers the ability to monitor events and take  informational, corrective, or any desired action when the monitored  events occur or when a threshold is reached.

    This document helps in getting output of various troubleshooting commands when EIGRP neighbour flaps through EEM script.

     

    Prerequisite

    Knowledge of EIGRP and working of EEM script.

    Configuration

    Step 1:telnet the router.

    IMPORTANT: console access is not reliable and will miss characters when copy/pasting, telnet/ssh using TCP will take care that all characters are received.


    Step 2: Go in enable mode

    Step 3: EEM Configuration to register the script

     

    conf t

     

    event manager session cli username "{username}"
    event manager applet EIGRP_TROUBLESHOOT
    event syslog pattern "holding time expired"

     

    action 1.1 cli command "en"
    action 2.1 cli command "ping [IP Address of the EIGRP Neighbor] repeat 3 df"
    action 2.2 syslog priority debugging msg "cli: $_cli_result"
    action 3.1 cli command "debug eigrp packets hello"
    action 3.2 cli command "show ip EIGRP interface"
    action 3.3 syslog priority debugging msg "cli: $_cli_result"
    action 4.1 cli command "ping [IP Address of the EIGRP Neighbor] repeat 3 df"
    action 4.2 syslog priority debugging msg "cli: $_cli_result"
    action 5.1 cli command "debug eigrp packets hello"
    action 5.2 cli command "show ip EIGRP interface"
    action 5.3 syslog priority debugging msg "cli: $_cli_result"
    action 6.1 cli command "show ip EIGRP traffic"
    action 6.2 syslog priority debugging msg "cli: $_cli_result"
    action 7.0 cli command "un all"

     

    Step 4: show logging

     

    References
    Comments
    netops3
    Level 1
    Level 1

    I am following this guide to troubleshoot an eigrp flap that we have. In my case the eigrp neighbor is in a GRE/IPSEC tunnel so instead of the eigrp neighbor interface I am pinging the ip address of the tunnel source interface of the neighbor to identify if my provider is dropping packets.

    Testing toward a non existing ip to simulate that the provider is dropping packet I get none of the output from $_cli_result so not sure how to proceed from there.

    Best Regards

    Jean Louis

    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: