Update interval for IOS MIB counters?
Dear readers! This time I really need your help (uncle Google and his relatives gave me only one relevant hit and even that doesn't work on 7200 or 1800).
I'm trying to implement an EEM applet that would detect traffic rate change using CISCO-CLASS-BASED-QOS-MIB. Everything would work perfectly ... if only IOS wouldn't update the MIB counters approximately every 10 seconds, not in real-time. Is anyone aware of a configuration command that would force the router to update these counters any faster?
I'm trying to implement an EEM applet that would detect traffic rate change using CISCO-CLASS-BASED-QOS-MIB. Everything would work perfectly ... if only IOS wouldn't update the MIB counters approximately every 10 seconds, not in real-time. Is anyone aware of a configuration command that would force the router to update these counters any faster?
if the QOS MIB isn't your only option, and if the administrative overhead won't be too high, you might consider using an EEM applet tracking the rxload/txload parameters on an interface. these will give you a much granular results.
-scott
try:
snmp-server hc poll 100
That will have IOS update the HC counters once per second. -WP
https://brandonfarmer.com/2014/12/16/snmp-polling-interval-granularity/