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

Dean Smith dean at eatworms.org.uk
Tue Mar 25 16:02:23 EDT 2008


Basically - No.

Counters like those are really only valid for polling every minute at a
minimum and even then you can occasionally see strange affects due to the
internal updates happening out of sync.

If you essentially need granularity of a second or so sampling you probably
need an external tool.

Dean

-----Original Message-----
From: cisco-nsp-bounces at puck.nether.net
[mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of Gurung, Provin
Sent: 25 March 2008 17:02
To: cisco-nsp at puck.nether.net
Subject: [c-nsp] SNMP MIB update interval on CISCO?

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

 

 

_______________________________________________
cisco-nsp mailing list  cisco-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/



More information about the cisco-nsp mailing list