can EEM on two switches communicate between each other ?

Unanswered Question
Jun 5th, 2009
User Badges:
  • Bronze, 100 points or more

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Joe Clarke Fri, 06/05/2009 - 08:47
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

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

gnijs Fri, 06/05/2009 - 12:53
User Badges:
  • Bronze, 100 points or more

Currently 12.2SXF8, soon 12.2(33)SXH4

Joe Clarke Fri, 06/05/2009 - 13:09
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

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.

Joe Clarke Sat, 06/06/2009 - 10:56
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

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.

Actions

This Discussion