cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1109
Views
0
Helpful
4
Replies

EEM script to disable a module - triggered by log event

thoffman
Level 1
Level 1

Running VSS on 6509-e

We had the following waning below in the logs and less than 2 hours an event occured in which the transport between the CORE and Distro did not pass traffic.   Would like a EEM script to fire and shut down the module when this log event occurs. I've never setup an EEM script before and looking for some help.   Thanks

%CONST_DIAG-SW2_SPSTBY-4-ERROR_COUNTER_WARNING: Module 9 Error counter exceeds threshold, system operationcontinue.

config t

no power enable switch # module ##

In this case,

config t

no power enable switch 2 module 9

4 Replies 4

Joe Clarke
Cisco Employee
Cisco Employee

Try this script.

Thanks, 

  It is my first time, how do you apply it to the 6509?  Do I tftp the .tcl on the distro?  How do I enable it?

Thanks

First create a directory on flash called "policies".  For example:

mkdir disk0:/policies

Then, copy the script into this directory.  NOTE: since you have a VSS, you'll need to create the directory on both switches' flashes and copy the script into both locations.

Next, configure the following:

event manager directory user policy disk0:/policies

Finally, register the policy by configuring:

event manager policy sl_power_down_mod.tcl

Review Cisco Networking for a $25 gift card