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 6Asnmpwalk -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: 18snmpwalk -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: 21snmpwalk -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 40snmpwalk -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: 47snmpwalk -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: 51snmpwalk -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!