[nsp] Broken counters

Gert Doering gert at greenie.muc.de
Wed Mar 10 04:23:15 EST 2004


Hi,

On Wed, Mar 10, 2004 at 09:57:01AM +0100, Vincent De Keyzer wrote:
> So we went from 3/4 GB back to 1.3 GB... I imagine (and hope) that the
> counters simply wrapped, and that it's not an totally incontrolled bug.

This is the 32bit wrap at 4 Gbyte (=2^32 bytes).

As for why cisco is using 64bit counters for SNMP internally, but not
displaying them in "show int" - this really escapes me...

> The issue is that the customer wanted me to check his traffic and give him a
> correct total amount on a period of 3 days.
>  
> Can somebody enlighten me on this? Did the counters simply wrap? If yes, at
> what value? Can I add this value to the present figure to obtain a correct
> figure (assuming the counters didn't wrap twice)?

2^32 = 4294967296

> Odd thing is that the packet counters did not wrap?...

Sure, you haven't hit 2^32 packets yet...

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert at greenie.muc.de
fax: +49-89-35655025                        gert at net.informatik.tu-muenchen.de


More information about the cisco-nsp mailing list