Collecting LLDP information

  • 1
  • Question
  • Updated 8 months ago
What does everyone use to collect LLDP information and export it to a graphviz file? I was hoping there might be an easy way to create dynamic network diagrams.
Photo of Nick Fisk

Nick Fisk

  • 360 Points 250 badge 2x thumb

Posted 10 months ago

  • 1
Photo of Alvaro Rodrigues

Alvaro Rodrigues

  • 110 Points 100 badge 2x thumb
Photo of Eric Pulvino

Eric Pulvino, Official Rep

  • 3,868 Points 3k badge 2x thumb
We have some scripts that can do this but I must admit I tend to do it the old-fashioned way.

Here is one -->
Photo of Vincent Bernat

Vincent Bernat

  • 142 Points 100 badge 2x thumb
You can use "lldpctl -f json" to get a JSON-formatted output. This will simplify your parsing as you can use "json.loads()".