
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@nac.net wrote:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Plain Aviation, Inc dean@av8.com LAN/WAN/UNIX/NT/TCPIP http://www.av8.com ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

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
participants (2)
-
Dean Anderson
-
Phillip Vandry