networkctl lldp eth0

Category: Local Network & Public Hosting

networkctl lldp eth0

Show neighbors discovered via LLDP

The Link Layer Discovery Protocol lets switches and routers announce themselves on the wire, and this command prints whatever LLDP neighbor data systemd-networkd has collected on eth0. It identifies the switch port and chassis your cable plugs into, invaluable in server rooms. Enable LLDP reception in the .network file if nothing appears.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.