From owner-freebsd-net@FreeBSD.ORG Tue Dec 16 18:06:03 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 764441065670 for ; Tue, 16 Dec 2008 18:06:03 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from mail.ciam.ru (mail.ciam.ru [212.34.63.72]) by mx1.freebsd.org (Postfix) with ESMTP id 31AEA8FC18 for ; Tue, 16 Dec 2008 18:06:02 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from dhcp250-210.yandex.ru ([87.250.250.210]) by mail.ciam.ru with esmtpa (Exim 4.x) id 1LCeIz-000DFt-Sz; Tue, 16 Dec 2008 21:06:01 +0300 Message-ID: <4947EE0B.9050902@FreeBSD.org> Date: Tue, 16 Dec 2008 21:06:03 +0300 From: Sergey Matveychuk User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Harti Brandt References: <4947D7A9.2050407@FreeBSD.org> <20081216181850.O74416@beagle.kn.op.dlr.de> In-Reply-To: <20081216181850.O74416@beagle.kn.op.dlr.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: bsnmpd & 64bits counters problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2008 18:06:03 -0000 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 metric 0 mtu 9000 options=19b ether 00:30:48:67:d4:68 media: Ethernet autoselect status: active laggproto lacp laggport: em2 flags=1c laggport: em0 flags=1c There is no baudrate on them. But they are really high-speed however. -- Dixi. Sem.