nanog mailing list archives

RE: Byte Counters on Ciscos


From: "Martin, Christian" <CMartin () mercury balink com>
Date: Mon, 25 Jan 1999 15:54:26 -0500

32 bits unsigned.   4294967296 MAX.

Chris

-----Original Message-----
From: alex () nac net [mailto:alex () nac net]
Sent: Monday, January 25, 1999 10:47 AM
To: nanog () merit edu
Subject: Byte Counters on Ciscos




I am working on some byte counting stuff, and have a odd question.

I noticed on my of my routers:

     2403558863 packets input, 2476827328 bytes

thats:

     2,403,558,863 packets input, 
     2,476,827,328 bytes


which when divided out, comes to 1.03 bytes per packet, which without
saying is obviously in error.

So, when does a Cisco counter 'flip' ? How many bits is it?


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
-- -- -- -- --
     Atheism is a non-prophet organization. I route, therefore I am.
       Alex Rubenstein, alex () nac net, KC2BUO, ISP/C Charter Member
               Father of the Network and Head Bottle-Washer
     Net Access Corporation, 9 Mt. Pleasant Tpk., Denville, NJ 07834
 Don't choose a spineless ISP; we have more backbone!  
http://www.nac.net
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
--



Current thread: