cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1722
Views
0
Helpful
2
Replies

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

Mike Schooley
Level 1
Level 1

                   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
Level 1
Level 1

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
Cisco Employee
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

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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco