FDB table missing interface info on Huawei

Hello,

got a problem with some Huawei models, where there is no port shown in fdb table.
For example, Huawei S5720, which works ok:

and Huawei CE6851HI, where is port missing:

as per snmpwalk, both switches provides same information with same OIDs:

S5720:

→ snmpwalk -v 2c -c public -m all -M mibs/huawei <switch_ip> iso.3.6.1.2.1.17.4.3.1.1.0.20.11.136.124.106
iso.3.6.1.2.1.17.4.3.1.1.0.20.11.136.124.106 = Hex-STRING: 00 14 0B 88 7C 6A

snmpwalk -v 2c -c public -m all -M mibs/huawei <switch_ip> iso.3.6.1.2.1.17.4.3.1.2.0.20.11.136.124.106
iso.3.6.1.2.1.17.4.3.1.2.0.20.11.136.124.106 = INTEGER: 18

snmpwalk -v 2c -c public -m all -M mibs/huawei <switch_ip> iso.3.6.1.2.1.17.1.4.1.2.18
iso.3.6.1.2.1.17.1.4.1.2.18 = INTEGER: 21

snmpwalk -v 2c -c public -m all -M mibs/huawei <switch_ip> iso.3.6.1.2.1.31.1.1.1.1.21
iso.3.6.1.2.1.31.1.1.1.1.21 = STRING: “GigabitEthernet0/0/16”

CE6851HI:

snmpwalk -v 2c -c public -m all -M mibs/huawei sw1.mgm.lsoffice.cz iso.3.6.1.2.1.17.4.3.1.1.64.125.15.189.239.64
iso.3.6.1.2.1.17.4.3.1.1.64.125.15.189.239.64 = Hex-STRING: 40 7D 0F BD EF 40

snmpwalk -v 2c -c public -m all -M mibs/huawei sw1.mgm.lsoffice.cz iso.3.6.1.2.1.17.4.3.1.2.64.125.15.189.239.64
iso.3.6.1.2.1.17.4.3.1.2.64.125.15.189.239.64 = INTEGER: 47

snmpwalk -v 2c -c public -m all -M mibs/huawei sw1.mgm.lsoffice.cz iso.3.6.1.2.1.17.1.4.1.2.47
iso.3.6.1.2.1.17.1.4.1.2.47 = INTEGER: 51

snmpwalk -v 2c -c public -m all -M mibs/huawei sw1.mgm.lsoffice.cz iso.3.6.1.2.1.31.1.1.1.1.51
iso.3.6.1.2.1.31.1.1.1.1.51 = STRING: “10GE1/0/47” → this is correct physical port

providing fdb part from /discovery.php -h HOSTNAME -d :

S5720: S5720 - LibreNMS
CE6851: CE6851 - LibreNMS

(i deleted most of the lines regaridng different mac addresses so its not hundreds line long)

i think problem is that i dont see this part
HUAWEI-L2MAM-MIB:

vlan 306 mac 00005e0001cf port (215) 545

in CE6851 output, but have no idea why its not there

Thanks for any help!

I’ll have a look at this one.

Hi,
A patch is on the way here:

It must be tested but it fixes the issue on some 5855 I have.
5810 are fine (cause they don’t use at all HUAWEI-L2MAM-MIB and use standard bridge mib)

Can confirm that this fix my issue :slight_smile:

1 Like