Byte Counters on Ciscos
Dean Anderson
dean at av8.com
Mon Jan 25 19:11:51 UTC 1999
Cisco stores them as 32 bits, but SNMP also retrieves them as 32 bits. HP
has a proprietary MIB & impl. for its Lanprobes & RMON s/w for HP
workstations, which is 64 bits wide. These are the only devices I know of
that store more than 32 bits, and have accurate counts of bytes over a long
period of time.
So on ciscos, you should clear counters before they can roll over.
You should really have a raffle to guess the uptime on your router. ;-)
--Dean
At 10:46 AM 1/25/1999 -0500, alex at nac.net wrote:
>
>
>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
>-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>
>
>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Plain Aviation, Inc dean at av8.com
LAN/WAN/UNIX/NT/TCPIP http://www.av8.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
More information about the NANOG
mailing list