06-05-2009 01:01 AM
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.
06-05-2009 08:47 AM
The short answer is maybe. What version of IOS are these switches running?
06-05-2009 12:53 PM
Currently 12.2SXF8, soon 12.2(33)SXH4
06-05-2009 01:09 PM
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.
06-06-2009 10:56 AM
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.
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: