What is lldp
Last updated: April 1, 2026
Key Facts
- LLDP is defined by IEEE 802.1AB standard and is an open, vendor-neutral protocol for network device discovery
- LLDP operates at Layer 2 (data link layer) and works independently of higher-layer protocols like IP
- Devices using LLDP broadcast information including port descriptions, device identifiers, capabilities, and management addresses
- LLDP is commonly used in network management tools and switches to automatically map network topologies and identify connected devices
- LLDP frames are not forwarded between networks or routed, limiting discovery to devices on the same physical link or VLAN
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:
- Chassis ID: A unique identifier for the physical device
- Port ID: An identifier for the specific port transmitting the LLDP frame
- Port Description: Human-readable description of the port function
- System Name: The hostname or name of the device
- System Description: Information about the device manufacturer and model
- Capability Advertisement: Indicates what network functions the device supports (router, switch, phone, etc.)
- Management Address: IP address for managing the device
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.
More What Is in Daily Life
Also in Daily Life
More "What Is" Questions
Trending on WhatAnswers
Browse by Topic
Browse by Question Type
Sources
- Wikipedia - Link Layer Discovery ProtocolCC-BY-SA-4.0
- IEEE 802.1AB StandardIEEE