See also: lldpd upstream documentation

The goal of LLDP is to provide an inter-vendor compatible mechanism to deliver Link-Layer notifications to adjacent network devices.

An implementation of IEEE 802.1ab

lldpd (Link Layer Discovery Protocol daemon) daemon providing an industry standard protocol designed to supplant proprietary Link-Layer protocols such as Extreme's EDP (Extreme Discovery Protocol) and CDP (Cisco Discovery Protocol).

LLDP frames are link-local frames, do not use any network interfaces other than the ones that achieve a link with its link partner, and the link partner being another networking device. Do not use bridge,VLAN, or DSA conduit interfaces.

Example /etc/config/lldpd, start lldpd on all interfaces:

config lldpd config
       # lldp defaults to listening on all interfaces
       # Set class of device
       option lldp_class 4
       # if empty, the distribution description is sent
       option lldp_description "OpenWrt System"

daemon must be running for lldpcli to work

View neighbors across each enabled interface.

lldpcli show neighbors

Get statistics about which interfaces are sending/receiving LLDP frames:

lldpcli show statistics

- lldpd unable to receive frames on mediatek due to bug: https://github.com/openwrt/openwrt/issues/13788

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2024/01/11 23:45
  • by sarcasticadmin