03-07-2012 11:47 AM
I have just started researching EEM and am looking for some guidence in writing an EEM applet or script to report on RXpause frame requests
03-07-2012 12:03 PM
Input pauses are not part of the interface ED. What you can do is write a timer policy that runs periodically, grabs the show interface output for your desired interface, and then checks the value of input pauses. What version of IOS will this run on?
03-07-2012 12:07 PM
Thanks for the response Joseph, I am currently testing on 12.2(33) on a catalyst 6500
03-10-2012 04:10 PM
This script should do what you want. It will check an interface for its current input pause value, store it, then check if that value increases. If it does, it will generate a syslog message. To configure it, you need to set two environment variables:
event manager environment pause_interval 10
event manager environment pause_interface GigabitEthernet4/1
Then register the policy. With the sample values above, the script will check input pauses for Gi4/1 every 10 seconds.
03-12-2012 06:21 AM
Thanks for the script, I plan to test it htis week. I do have one question, if I set environment variables for every interafce, will it cause issues or will it just run the script against all interfaces individually
03-12-2012 04:42 PM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide