Date: Tue, 16 Dec 2008 21:06:03 +0300 From: Sergey Matveychuk <sem@FreeBSD.org> To: Harti Brandt <harti@freebsd.org> Cc: freebsd-net@freebsd.org Subject: Re: bsnmpd & 64bits counters problem Message-ID: <4947EE0B.9050902@FreeBSD.org> In-Reply-To: <20081216181850.O74416@beagle.kn.op.dlr.de> References: <4947D7A9.2050407@FreeBSD.org> <20081216181850.O74416@beagle.kn.op.dlr.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Harti Brandt wrote: > On Tue, 16 Dec 2008, Sergey Matveychuk wrote: > > SM>Hello. > SM> > SM>Some weird thing has happened with 64bit counters: > SM> > SM>% snmpwalk -v2c -cpublic localhost ifInOctets > SM>IF-MIB::ifInOctets.1 = Counter32: 4107815474 > SM>... > SM>IF-MIB::ifInOctets.16 = Counter32: 2894713654 > SM> > SM>% snmpwalk -v2c -cpublic localhost ifHCInOctets > SM>IF-MIB::ifHCInOctets.1 = Counter64: 7911064279758 > SM>... > SM>IF-MIB::ifHCInOctets.4 = Counter64: 13143091216588 > SM> > SM>There are all 16 32bits counters but only 4 64bits. That's less than physical > SM>interfaces on this router (em0-em5). > SM> > SM>7.1-PRERELEASE > > The highspeed counters are only there if this is a high-speed interface. > High speed means that the baudrate in the interface MIB (the one in the > kernel) must be larger than 20Mbaud. Well, these is lagg interfaces: lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000 options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4> ether 00:30:48:67:d4:68 media: Ethernet autoselect status: active laggproto lacp laggport: em2 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING> laggport: em0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING> There is no baudrate on them. But they are really high-speed however. -- Dixi. Sem.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4947EE0B.9050902>