snmp-info icon indicating copy to clipboard operation
snmp-info copied to clipboard

Issues with IBM and Lenovo Switches

Open fz883 opened this issue 7 years ago • 2 comments

As described here netdisco/netdisco-mibs#64 already, IBM Switches like the G8052 are now sold under the Lenovo brand. Starting with FW Version 8, Lenovo updates the MIBs and the SW. However, Switches running IBM FW and Switches running Lenovo Firmware are not properly detected. E.g. Neighbor detection is not working at all for me. Please review the link mentioned at the beginning, lots of detail has been covered there already.

Current Behavior

Neighbor detection is not working at all, neither with IBM FW, nor with Lenovo FW.

Your Device

  • Vendor: IBM/Lenovo
  • Device Model: G8052
  • Operating System Version: 7.11.3 / 8.4.12
  • Snmpwalk output of .1.3.6.1.2.1.1:
root@hostname:~# OID=.1.3.6.1.2.1.1; snmpwalk -ObentU -v2c -c public g8052-lnv-fw $OID
.1.3.6.1.2.1.1.1.0 = STRING: Lenovo RackSwitch G8052
.1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.26543.1.7.7
.1.3.6.1.2.1.1.3.0 = 397722600
.1.3.6.1.2.1.1.4.0 = STRING: sysContact
.1.3.6.1.2.1.1.5.0 = STRING: g8052-lnv-fw
.1.3.6.1.2.1.1.6.0 = STRING: ibmG8052Location
.1.3.6.1.2.1.1.7.0 = INTEGER: 6
root@hostname:~# OID=.1.0.8802.1.1.2.1.3.4.0; snmpwalk -ObentU -v2c -c public g8052-lnv-fw $OID
.1.0.8802.1.1.2.1.3.4.0 = STRING: "Lenovo RackSwitch G8052, flash image: version 8.4.12, boot image: version 8.4.12"

root@hostname:~# OID=.1.3.6.1.2.1.1; snmpwalk -ObentU -v2c -c public g8052-ibm-fw $OID
.1.3.6.1.2.1.1.1.0 = STRING: IBM Networking Operating System RackSwitch G8052
.1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.26543.1.7.7
.1.3.6.1.2.1.1.3.0 = 272100
.1.3.6.1.2.1.1.4.0 = STRING: sysContact
.1.3.6.1.2.1.1.5.0 = STRING:
.1.3.6.1.2.1.1.6.0 = STRING: ibmG8052Location
.1.3.6.1.2.1.1.7.0 = INTEGER: 6
root@hostname:~# OID=.1.0.8802.1.1.2.1.3.4.0; snmpwalk -ObentU -v2c -c public g8052-ibm-fw $OID
.1.0.8802.1.1.2.1.3.4.0 = STRING: "IBM Networking Operating System RackSwitch G8052, flash image: version 7.11.3, boot image: version 7.11.3"

snmpwalk dumps are available. @inphobia I'll send them to you by mail.

fz883 avatar Feb 01 '19 00:02 fz883

received the mib info link & accepted. i'll see if i can figure it out on my own, if not i'll ping you first if i need to share it with more seasoned devs. i've already discussed this a bit with @JeroenvIS , he and @jeneric are our snmp::info experts, so i've got some ideas but i'm not even close at their level yet. this could take a bit of time, so i hope you're in no rush.

inphobia avatar Feb 01 '19 00:02 inphobia

I'm in no rush, no worries.

fz883 avatar Feb 01 '19 10:02 fz883