Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2019 16:13:28 +0000
From:      <Hartmut.Brandt@dlr.de>
To:        <vit@otcnet.ru>, <freebsd-net@freebsd.org>
Subject:   AW: No SNMP ifHCInOctets counters for ipsec interfaces
Message-ID:  <74f31d4fd9c94f12800c0d831698e836@dlr.de>
In-Reply-To: <519854de-fbc9-81a0-634c-56611e6cde75@otcnet.ru>
References:  <519854de-fbc9-81a0-634c-56611e6cde75@otcnet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

They used to be enabled only when the bit rate reported by the interface wa=
s high enough (there is some wording in the corresponding RFC when the HC c=
ounters are required and when not). This check was removed at some point - =
in 12.1 the Hc counters are unconditionally there. You may want to check th=
e bitrate that these interfaces report.

harti

-----Urspr=FCngliche Nachricht-----
Von: owner-freebsd-net@freebsd.org [mailto:owner-freebsd-net@freebsd.org] I=
m Auftrag von Victor Gamov
Gesendet: Friday, October 25, 2019 4:45 PM
An: freebsd-net@freebsd.org
Betreff: No SNMP ifHCInOctets counters for ipsec interfaces

Hi All

In my FreeBSD 11.2-STABLE #0 r339734 I have no SNMP ifHCInOctets=20
counters for ipsec interfaces:

=3D=3D=3D=3D=3D
IF-MIB::ifName.1 =3D STRING: vmx0
IF-MIB::ifName.2 =3D STRING: vmx1
IF-MIB::ifName.3 =3D STRING: lo0
IF-MIB::ifName.4 =3D STRING: vlan102
IF-MIB::ifName.6 =3D STRING: ipsec1632
IF-MIB::ifName.8 =3D STRING: enc0
IF-MIB::ifName.9 =3D STRING: ipsec1614
IF-MIB::ifName.10 =3D STRING: ipsec20016


IF-MIB::ifInOctets.1 =3D Counter32: 63580689
IF-MIB::ifInOctets.2 =3D Counter32: 2466393770
IF-MIB::ifInOctets.3 =3D Counter32: 338773
IF-MIB::ifInOctets.4 =3D Counter32: 2273962037
IF-MIB::ifInOctets.6 =3D Counter32: 839822061
IF-MIB::ifInOctets.8 =3D Counter32: 3206656133
IF-MIB::ifInOctets.9 =3D Counter32: 985675403
IF-MIB::ifInOctets.10 =3D Counter32: 434465084


IF-MIB::ifHCInOctets.1 =3D Counter64: 21538014781
IF-MIB::ifHCInOctets.2 =3D Counter64: 19645260518
IF-MIB::ifHCInOctets.4 =3D Counter64: 19452829789
=3D=3D=3D=3D=3D


Is it bug or known feature?


--=20
CU,
Victor Gamov
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?74f31d4fd9c94f12800c0d831698e836>