Hello,
I have a problem with LLDP on switches.
At the outset, I would like to inform you that the devices have already been removed from the system and added again due to a problem with SNMP communication.
In the device’s neighbors view, the remote port column indicates an invalid connection to a port that does not exist and not the current one (a port other than that reported by the device CLI). The device field is empty. In the port preview, the system indicates there is no data to display. After selecting the port, you can see that the system is referring to the identifier of the device that was previously removed from Libre (e.g. device_id = 10). The actual LLDP neighbor has a different identifier (e.g., device_id = 24).
Below is a screenshot of the system view:
When verifying LLDP on a device with the script “discovery.php -h x.x.x.x -d -m discovery-protocols”, Libre returns the correct LLDP neighbor port values. The same problem is with the main switch on the other side, which also remembers/diaplays in the GUI the identifiers of previous neighbors that have been removed and added back to the system.
I have a question, how can I update the current device ID and port ID for LLDP on the system after adding the device back to LibreNMS? How to delete information on identifiers that no longer exist from the system memory.
Will appreciate any help.
Thanks in advance!
