lldpctl

displays Link Layer Discovery Protocol information collected by the lldpd daemon

TLDR

Display neighbor data
$ sudo lldpctl
Display help
$ lldpctl --help

SYNOPSIS

lldpctl [options] [interfaces]

DESCRIPTION

lldpctl displays Link Layer Discovery Protocol (LLDP) information collected by the lldpd daemon. LLDP is used by network devices to advertise their identity, capabilities, and neighbors on a local network.

PARAMETERS

-f FORMAT

Output format: plain, xml, json, keyvalue
-a
Show all interfaces including hidden
-C PATTERN
Configure specific settings
-L LOCATION
Set location information
-h, --help
Display help information

INSTALL

sudo apt install lldpd
sudo dnf install lldpd
sudo pacman -S lldpd
sudo apk add lldpd
sudo zypper install lldpd
brew install lldpd
nix profile install nixpkgs#lldpd

CAVEATS

Requires lldpd daemon to be running. Root privileges needed for full functionality.

HISTORY

LLDP was standardized as IEEE 802.1AB in 2005 as a vendor-neutral discovery protocol, replacing proprietary protocols like Cisco CDP.

SEE ALSO

tcpdump(8)