cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1549
Views
0
Helpful
2
Replies
Mike Schooley
Beginner

can you have an event on one router trigger and eem script on another

                   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?

2 REPLIES 2
avayner
Beginner

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:

http://www.cisco.com/en/US/prod/collateral/switches/ps5718/ps708/white_paper_c11_493718.html#wp9000295

It is documented in more detail in this Cisco Press book:

http://www.amazon.com/Interconnecting-Continuance-Virtualized-Implementing-Connectivity/dp/1587059924

If interesting, I can share some examples.

Arie

Joe Clarke
Hall of Fame Cisco Employee

I've done this with SNMP traps in the past with success.  See this thread for some details:

https://supportforums.cisco.com/message/3924093#3924093