What is lldp

Last updated: April 1, 2026

Quick Answer: LLDP (Link Layer Discovery Protocol) is a standardized network protocol that enables network devices to announce and discover information about themselves on the same network link. It operates at Layer 2 (data link layer) and is used for network management and device identification.

Key Facts

Understanding LLDP

LLDP (Link Layer Discovery Protocol) is a vendor-independent link layer protocol standardized by the IEEE as 802.1AB. It enables network devices such as switches, routers, and endpoints to announce and learn information about each other on the same network link. This protocol is fundamental for automatic network discovery, topology mapping, and device management in modern computer networks.

How LLDP Works

LLDP operates by having network devices periodically broadcast information about themselves in special frames called LLDP Protocol Data Units (LLDPDUs). These frames contain Type-Length-Value (TLV) encoded information that describes the device. When other devices on the network link receive these frames, they process the information and store it in an LLDP Management Information Base (MIB). This allows network administrators and management systems to discover devices and understand network topology without manual configuration.

Information Transmitted by LLDP

LLDP devices broadcast various types of information to their neighbors:

Benefits and Applications

LLDP provides significant advantages for network administrators. It enables automatic network discovery without requiring manual documentation, saves time in network provisioning and troubleshooting, and allows network management tools to automatically map network topology. LLDP is particularly valuable in environments with frequent device changes. It's widely supported by enterprise networking equipment and is used by network monitoring and management platforms to visualize network connections.

Limitations and Scope

LLDP operates only at Layer 2 and does not route between networks. LLDP frames are not forwarded by routers or across different network segments, limiting discovery to devices on the same physical link or VLAN. Additionally, devices must explicitly support LLDP for the protocol to function—older equipment may not have LLDP capability. Network administrators must ensure LLDP is enabled on devices for effective network discovery.

Related Questions

What is the difference between LLDP and CDP?

LLDP is an IEEE-standardized, vendor-neutral protocol, while CDP (Cisco Discovery Protocol) is Cisco's proprietary protocol. LLDP is more widely supported across different manufacturers and is the industry standard for interoperability, whereas CDP is primarily used in Cisco environments.

How do I enable LLDP on my network switch?

LLDP is typically enabled by default on modern switches, but you can verify through the device's management interface or command-line interface. Most enterprise switches have LLDP configuration options in their management menus or configuration files.

Can LLDP be used to discover devices across different networks?

No, LLDP operates only on the same network link (Layer 2) and does not traverse routers or network boundaries. It's designed for local network segment discovery only, which helps prevent network flooding and keeps discovery traffic localized to relevant segments.

Sources

  1. Wikipedia - Link Layer Discovery Protocol CC-BY-SA-4.0
  2. IEEE 802.1AB Standard IEEE