[c-nsp] SNMP MIB update interval on CISCO?

Gurung, Provin pgurung at telcordia.com
Tue Mar 25 13:01:56 EDT 2008


I have a question about how to get the cisco routers updates rate of one
of the snmp mib entries.

 

Background:

 

I am using a cisco 3640 series router running ios 12.4.

I am cyclically doing snmpwalks to get the number of bytes transmitted
on an output interface for a particular Diff serv code point.  The
actually snmpwalk call is for cbQosMatchPrePolicyByte
(enterprises.9.9.166.1.16.1.1.5) in the CISCO-CLASS-BASED-QOS-MIB mib.

 

My problem.

 

I would like to compute the number of bytes sent per second as quickly
and accurately as possible.  However I found that the above mib entry
can be updated anywhere from 6 to 10 seconds.  Sometimes if I poll this
snmp entry every 8 seconds the entry hasn't had a chance to change yet
and my message rate incorrectly is 0 kbs.

 

My question:

 

1)      Is there somewhere in the mib or cisco's command line interface
where I can get the cyclic rate that is being used? Or the timestamp
when the MIB entries are being updated?

 

2)      Is it possible to set this rate via snmp or the cisco command
line interface and make the router update at a fixed interval of my
choosing?

3)      Alternatively, Is there a way to generate SNMP traps when router
updates its traffic statistics for some DSCP value? 

 

Thanks for any inputs,

-Proveen

 

 



More information about the cisco-nsp mailing list