[22839] in North American Network Operators' Group
Re: Byte Counters on Ciscos
daemon@ATHENA.MIT.EDU (Phillip Vandry)
Wed Jan 27 16:35:01 1999
Date: Wed, 27 Jan 1999 16:05:12 -0500 (EST)
From: Phillip Vandry <vandry@Mlink.NET>
To: Dean Anderson <dean@av8.com>
cc: nanog@merit.edu
In-reply-to: Your message of "Mon, 25 Jan 1999 14:11:51 EST."
<3.0.32.19990125135929.00bf7320@odie.av8.com>
> 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.
Actually, I've seen some other equipment store more than 32 bits... and it's
Cisco gear! Catalyst 1924/2820, to be exact. But the implementation is
different. There are two variables, like swPortTxTotalOctets and
swPortTxTotalOctetsWraps. The formula to get the actual byte count is,
of course,
(swPortTxTotalOctetsWraps << 32) | swPortTxTotalOctets
-Phil