05-16-2013 08:26 AM
I want to run an eem script on router b if router A track/sla goes down. Is there a way to have router A send an event/message to router b that and eem applet or tcl script could monitor for and trigger on?
05-16-2013 09:16 AM
Mike,
An easy way to do that is by using routes and a routing protocol.
For example we have a solution for Data Center Interconnect where we used "IP Semaphores"
The idea is that we have devices A and B:
Device A wants to signal state to B, so it would advertise a special loopback address (not the general lo0).
If Device A has a different state now (detected something happening), it would use a small EEM script to shut down the special loopback.
Device B would be tracking up and down events for that IP addresses being (or not) in the routing table.
Also, if device A goes down (power, off the network), Device B detects the route going away and can react.
Some more info about the solution can be found here:
It is documented in more detail in this Cisco Press book:
If interesting, I can share some examples.
Arie
05-16-2013 03:15 PM
I've done this with SNMP traps in the past with success. See this thread for some details:
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