Show LLDP/CDP neighbors

webui
Tags: #<Tag:0x00007f932a1907c0>

#1

It would be nice if we could show LLDP/CDP neighbors in the WEB UI.
We pull the data when discovery runs why not store it and show it.? :slight_smile:


Feature request: Unresolvable lldp/cdp neighbours
#2

You’re in luck, I just updated the discovery to store all lldp/cdp info :smiley:
All that is needed now is some webui to display it.


#3

Been thinking about the same.
A table with the LLDP neighbours and the ability to “exclude” some of those devices from auto-disco for example.


#4

This data is already shown under device-> ports-> neighbors. Or are you talking about something different?


#5

Kinda but im thinking more like what Rosiak is talking about.


#6

Hello,

I allow me to participe at this poste.

I have around 650 network devices in my network.
This is a good idea of store devices learn by LLDP/CDP.

We could imagine here or other :

2017-10-12-145010-remote_extension

But, I think with the mib LLDP , we retrieve data as model, version.

For exemple:

http://paste.ubuntu.com/25726272/


#7

I was thinking the same thing. It would be nice to list them all in one place and to be able to search. An example I’m familiar with is in Cisco Prime and it’s one of the features I’m hoping for in LibreNMS.

In prime you can search mac, ip, or hostname in the search box. It will display the port and switch the device is connected to. It’s extremely useful to find a device on the network fast.


#8

You can kinda do this part already with --> image


#9

Maybe something is misconfigured on my setup but most of the entries in my fdb table are only macs. The ones that do show IP addresses in the table are switches and the ip used for switch management.

What I am thinking is a table like fdb with all the lldp neighbors listed for every device is one place. That way we could have the hostname, Mac, IP, switch, and port listed all on one page. I feel going switch to switch > ports > neighbors is very useful in some cases but overly tedious on others so both options being available is better.

Similar to the mockup above but with an “All Devices” list as well.

I feel it would prove helpful in cases when you want to find devices on the wrong vlan such as a printer or phone plugged into a port configured for an AP.

A real world example I’ve seen is that the DHCP scope for assigning APs addresses is running low because someone mispatched phones or computers on the wrong ports. You can then take the info from DHCP and search for what port they are on and fix them.

Another example is that you want to make sure all Cisco phones are on the correct vlan. In this case you could search for any hostname starting with sep, then sort by IP, now you can scroll to the section with the wrong IPs and quickly see all the ports that need to be changed.

I hope my rambling makes sense.


#10

IP Address and MAC Address tables store IPs and MACs directly assigned to devices added to LibreNMS.
FDB only knows about physical port to mac address mappings. (on supported L2 or L3 devices)
ARP knows about mac address to ip address and port mappings (only on supported L3 devices)
xDP only shows info about neighbors and ports, on devices that support the MIB.

Yes, it would be great to get all this data in one place and I originally wanted that when the FDB feature came in, but it is very complex. No one has attempted yet.


#11

is this in the docs?


#12

Not sure, it is really just general networking knowledge (perhaps not common), not specific to LibreNMS.


#13

@murrant yes I get that… I’m talking more like in this screen shot… I was thinking of writing up a section on those search features.


#14

Sorry for late reply in old thread.
But where is this information (lldp/cdp) stored in the DB?
I can’t find the tables involved.