Linux server equivalent of Cisco Discovery Protocol (CDP)?
48
Are you looking for LLDP?
Agent software is out there for Linux, and many network devices support it.
Related videos on Youtube
Author by
Mohmd Ali
Updated on September 18, 2022Comments
-
Mohmd Ali almost 2 years
I need help in drawing a Pie Chart using JavaScript. I'm using Ajax to get my data and to fetch them properly inside a pie chart in my dashboard. Please keep in mind I'm getting my data using Ajax .
-
EEAA about 12 yearsWhat's the use case here?
-
Andy Shinn about 12 yearsTo help remotely identify port to port mapping of Linux machines connected to each other without a switch.
-
EEAA about 12 yearsSo you have a bunch of servers connected directly? Sound very painful.
-
Dan almost 8 yearsWelcome to Stack Overflow. Please keep in mind for future questions that you should post what you have tried and what your specific problem is. This should also be shown in a MCVE to help other users understand your problem and answer you sufficiently.
-
Dan almost 8 yearsAlso if my answer does not work for you leave a comment and I will see if I can edit it to help
-
Mohmd Ali almost 8 yearsthanks @Dan i really appreciate it ! i worked , but if you can just edit your code with some comments please so i know what's going on . thank you
-
Dan almost 8 yearsOf course. Give me 2 minutes
-
Mohmd Ali almost 8 yearsBro let's say im getting nb of males and females from db and im drawing it.
-
Dan almost 8 yearsI added an example for you at the bottom. You would sub in your code for getting a value from a database in the getter methods for boys and girls
-
Dan almost 8 yearsAlso if this answer is sufficiently correct would you please mark it accepted by using the tick on the left? If not leave another comment :)
-
Mohmd Ali almost 8 yearsit worked bro , but im still trying to know how do i write male/female inside each circle
-
Dan almost 8 years
-
-
Andy Shinn about 12 yearsYep, this looks like what I was after. Actually, the Intel LLDP agent doesn't provide much information at all. With some more searching about LLDP I discovered github.com/vincentbernat/lldpd which does a simple output of the LLDP neighbors, their interface, MAC, hostname, IP address, and more. This becomes very helpful information when there are no switches to provide a MAC table.
-
Andy Shinn about 12 yearsThe LLDP information also led me to netdisco.org which appears to be exactly what I was looking for.
-
Mohmd Ali almost 8 yearsThanks bro !! @Dan