Sergey Matveychuk wrote:
Hello.

Some weird thing has happened with 64bit counters:

% snmpwalk -v2c -cpublic localhost ifInOctets
IF-MIB::ifInOctets.1 = Counter32: 4107815474
...
IF-MIB::ifInOctets.16 = Counter32: 2894713654

% snmpwalk -v2c -cpublic localhost ifHCInOctets
IF-MIB::ifHCInOctets.1 = Counter64: 7911064279758
...
IF-MIB::ifHCInOctets.4 = Counter64: 13143091216588

There are all 16 32bits counters but only 4 64bits. That's less than physical interfaces on this router (em0-em5).

7.1-PRERELEASE


Looks like this is a reason:
# ifconfig em4
em4: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
     options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
        ether 00:15:17:80:f5:ee
        media: Ethernet autoselect
        status: no carrier
# ifconfig em5
em5: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
     options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
        ether 00:15:17:80:f5:ef
        media: Ethernet autoselect
        status: no carrier

No 64bits counters returned for interfaces bellow them.
--
Dixi.
Sem.
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to