AW: No SNMP ifHCInOctets counters for ipsec interfaces

Hartmut.Brandt at dlr.de Hartmut.Brandt at dlr.de
Fri Oct 25 16:14:02 UTC 2019


Hi,

They used to be enabled only when the bit rate reported by the interface was high enough (there is some wording in the corresponding RFC when the HC counters 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 the bitrate that these interfaces report.

harti

-----Ursprüngliche Nachricht-----
Von: owner-freebsd-net at freebsd.org [mailto:owner-freebsd-net at freebsd.org] Im Auftrag von Victor Gamov
Gesendet: Friday, October 25, 2019 4:45 PM
An: freebsd-net at 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 
counters for ipsec interfaces:

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


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


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


Is it bug or known feature?


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



More information about the freebsd-net mailing list