cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
478
Views
5
Helpful
4
Replies

can EEM on two switches communicate between each other ?

gnijs
Level 4
Level 4

May seem a strange question, but the goal is pretty simple: when you have two distribution switches connecting several access switches, i want to verify the HSRP state on each switch for each VLAN.

The state ACTIVE ACTIVE or STANDBY STANDBY on both switches for the same VLAN, should trigger an alarm.

4 Replies 4

Joe Clarke
Cisco Employee
Cisco Employee

The short answer is maybe. What version of IOS are these switches running?

Currently 12.2SXF8, soon 12.2(33)SXH4

No, there is no communication possible between EEM policies on remote devices with these versions of code. You would need code capable of supporting EEM 2.4 or higher for this.

I should point out that why there is no easy programmatic communication available, there are ways to work around this using EEM. For example, if you're willing to go the Tcl route, you can telnet from one switch to the other using EEM. This would also mean storing passwords in EEM policies.

Another alternative is to use TFTP as an RPC medium. For example, if you enable the TFTP server on both switches, you can copy files between the two, then periodically check for the presence of files using EEM. Again, this requires Tcl.

If you move to 12.2(33)SXI, you can do exactly what you want using the new snmp-notification event detector.

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: