Byte Counters on Ciscos

Martin, Christian CMartin at mercury.balink.com
Mon Jan 25 20:54:26 UTC 1999


32 bits unsigned.   4294967296 MAX.

Chris

> -----Original Message-----
> From: alex at nac.net [mailto:alex at nac.net]
> Sent: Monday, January 25, 1999 10:47 AM
> To: nanog at 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 at 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
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
--




More information about the NANOG mailing list