Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Bronze

can EEM on two switches communicate between each other ?

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

Re: can EEM on two switches communicate between each other ?

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

Bronze

Re: can EEM on two switches communicate between each other ?

Currently 12.2SXF8, soon 12.2(33)SXH4

Cisco Employee

Re: can EEM on two switches communicate between each other ?

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.

Cisco Employee

Re: can EEM on two switches communicate between each other ?

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.

131
Views
5
Helpful
4
Replies
CreatePlease to create content