The problem here is the numbering inside your device.
This needs to be consistent. It looks more like that the -17 bBm port is not connected and also not reported inside SNMP data. If then the device continues with the numbers without a gap you have no chance to know on the SNMP side if the numbering is correct.
Here you can only inspect the SNMP data of these ports if there is something beside the “ifIndex” that can be used as unique identifier and then mapped to the real port index.
I would think this is a hard task. But it depends on the data sent.
Hi @andreas-doehler, thanks for your answer. All that you said is correct.
Well, we are on 2026, you know. Huge huge revolution, more than the industrial revolution. I’m talking about llm’s.
I located the .py script, corrected the code (make it work with “problematic” ports, which anyone can have… ) with the help of AI’s and that was it. Is working beautifully :).