RSS Amplifier

Michael Kehoe - SRE · Jul 8, 2018

LLDP on Linux

0
Sign in to vote or save

michael-kehoe.io

Link Layer Discovery Protocol (LLDP) is an independant IEEE protocol (IEEE 802.1AB) that helps with gathering/ advertising a device’s identity, capabilities, and neighbors. LLDP is Layer 2 protocol.

LLDP is usually used on network devices (switches/ routers) to find ‘neighbor’ (connected) devices, but is equally useful on servers to find details of the switch it’s connected to. This is not enabled by default on Linux, but here’s a quick guide to get it working.

  1. Install the package
$ sudo yum install lldp
  1. Start the daemon
$ sudo service lldpd start
  1. Find your neighbor device
$ sudo lldpcli show neighbors

Read the original on michael-kehoe.io

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.