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

EEM for interface bandwidth utilization

faizanelahi
Level 1
Level 1

Hello,

I was trying to write a script to alert our help desk when any interface on switch exceeds the bandwidth.

For one interface we can use interface event detector..(event interface name gi0/1....)

I want this to apply for all interfaces in one applet.

Please suggest.

Regards,

Faizan.

4 Replies 4

Joe Clarke
Cisco Employee
Cisco Employee

You can use a watchdog timer instead and parse the output of "show interface" to get the load factor.  This requires quite a bit more logic as well as EEM 3.0 or higher.

Hello Joe,

Thanks for your reply.

If i use watchdog timer to check interfaces load for every five minutes, does it take high cpu utilization ??

It will depend on the number of interfaces and how often the timer runs.  You can estimate CPU by what it would take to manually run the CLI commands to pull out the interface load factor that in with the frequency.  Ultimately, it shouldn't impact the CPU too much if you're running this every five minutes.

Sorry for the late reply Joe,

will give a try and get back to you.