Wrong ifSpeed using bsnmpd for LAGG with VLAN interfaces

Abel Alejandro aalejandro at alliedtechnologygrouppr.com
Sun Oct 30 05:31:03 UTC 2016


Hello,

I am using FreeBSD 10.3 with bsnmpd and the ucd port.

It seems bsnmpd is correctly sending ifSpeed for lagg0 but all vlan
interfaces under it are wrongly identified as 10Mb/s instead of 2Gbps.

Is there anyway to fix this?

root at nms:~# snmpwalk -c XXXX -v 2c 10.247.162.131 ifName
IF-MIB::ifName.1 = STRING: igb0
IF-MIB::ifName.2 = STRING: igb1
IF-MIB::ifName.3 = STRING: cxl0
IF-MIB::ifName.4 = STRING: cxl1
IF-MIB::ifName.5 = STRING: igb2
IF-MIB::ifName.6 = STRING: igb3
IF-MIB::ifName.7 = STRING: igb4
IF-MIB::ifName.8 = STRING: igb5
IF-MIB::ifName.9 = STRING: lo0
IF-MIB::ifName.10 = STRING: lo1
IF-MIB::ifName.11 = STRING: lagg0
IF-MIB::ifName.12 = STRING: lagg0.12
IF-MIB::ifName.13 = STRING: lagg0.21
IF-MIB::ifName.14 = STRING: lagg0.22
IF-MIB::ifName.15 = STRING: lagg0.29
IF-MIB::ifName.16 = STRING: lagg0.1210
IF-MIB::ifName.17 = STRING: lagg0.3144
root at nms:~# snmpwalk -c XXXX -v 2c 10.247.162.131 ifSpeed
IF-MIB::ifSpeed.1 = Gauge32: 10000000
IF-MIB::ifSpeed.2 = Gauge32: 10000000
IF-MIB::ifSpeed.3 = Gauge32: 1410065408
IF-MIB::ifSpeed.4 = Gauge32: 1410065408
IF-MIB::ifSpeed.5 = Gauge32: 1000000000
IF-MIB::ifSpeed.6 = Gauge32: 10000000
IF-MIB::ifSpeed.7 = Gauge32: 10000000
IF-MIB::ifSpeed.8 = Gauge32: 10000000
IF-MIB::ifSpeed.9 = Gauge32: 0
IF-MIB::ifSpeed.10 = Gauge32: 0
IF-MIB::ifSpeed.11 = Gauge32: 2820130816
IF-MIB::ifSpeed.12 = Gauge32: 10000000
IF-MIB::ifSpeed.13 = Gauge32: 10000000
IF-MIB::ifSpeed.14 = Gauge32: 10000000
IF-MIB::ifSpeed.15 = Gauge32: 10000000
IF-MIB::ifSpeed.16 = Gauge32: 10000000
IF-MIB::ifSpeed.17 = Gauge32: 10000000
root at nms:~#

-- 
Abel Alejandro

787 586 8313 | 787 705 0555

400 Calle Calaf 477
San Juan, PR 00918
aalejandro at alliedtechnologygrouppr.com


More information about the freebsd-net mailing list