Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Oct 2016 01:31:01 -0400
From:      Abel Alejandro <aalejandro@alliedtechnologygrouppr.com>
To:        freebsd-net@freebsd.org
Subject:   Wrong ifSpeed using bsnmpd for LAGG with VLAN interfaces
Message-ID:  <CAKiNg23eMgeyS3P10BXkcEP7QFQfM%2BUCdnH%2BuMtB0JSp7Pyk4Q@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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@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@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@nms:~#

-- 
Abel Alejandro

787 586 8313 | 787 705 0555

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKiNg23eMgeyS3P10BXkcEP7QFQfM%2BUCdnH%2BuMtB0JSp7Pyk4Q>