You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using pysnmp for requesting the neighbors of remote machines with LLDP-MIB::lldpRemTable. Additionally, I added several Organizationally Defined TLVs which can be requested with LLDP-MIB::lldpRemOrgDefInfoTable. Everything works fine for LLDP-MIB::lldpRemTable. However, I'm experiencing a weird behaviour when trying to query for LLDP-MIB::lldpRemOrgDefInfoTable. For some reasons, the index of a Organizationally Defined TLV with subtype 0 is omitted, though the index is very important in order to link it to the corresponding device. For all the other subtypes everything works fine.
Note the missing index in line 1 and 4. Observing the packet traffic in Wireshark I was able to see that the index is successfully transmitted. Using snmptable from the net-snmp tools also shows the index:
Hey Guys,
I'm using pysnmp for requesting the neighbors of remote machines with LLDP-MIB::lldpRemTable. Additionally, I added several Organizationally Defined TLVs which can be requested with LLDP-MIB::lldpRemOrgDefInfoTable. Everything works fine for LLDP-MIB::lldpRemTable. However, I'm experiencing a weird behaviour when trying to query for LLDP-MIB::lldpRemOrgDefInfoTable. For some reasons, the index of a Organizationally Defined TLV with subtype 0 is omitted, though the index is very important in order to link it to the corresponding device. For all the other subtypes everything works fine.
This is the code I'm using to do a request:
, where mib results in LLDP-MIB and oid in lldpRemTable or lldpRemOrgDefInfoTable.
The code results in this output for LLDP-MIB::lldpRemTable:
For LLDP-MIB::lldpRemOrgDefInfoTable, I get the following:
Note the missing index in line 1 and 4. Observing the packet traffic in Wireshark I was able to see that the index is successfully transmitted. Using snmptable from the net-snmp tools also shows the index:
Do you have any idea how I can make the index visible again?
The text was updated successfully, but these errors were encountered: