Link Layer Discovery Protocol (LLDP) is a vendor-neutral Layer 2 protocol defined by IEEE 802.1AB that enables network devices to advertise their identity, capabilities, and neighboring connections on a local area network. As a standardized alternative to proprietary protocols like Cisco Discovery …Link Layer Discovery Protocol (LLDP) is a vendor-neutral Layer 2 protocol defined by IEEE 802.1AB that enables network devices to advertise their identity, capabilities, and neighboring connections on a local area network. As a standardized alternative to proprietary protocols like Cisco Discovery Protocol (CDP), LLDP provides interoperability between devices from different manufacturers.
LLDP operates by having network devices periodically send advertisements, called LLDP Data Units (LLDPDUs), to their connected neighbors. These frames are sent to a special multicast MAC address (01:80:C2:00:00:0E) and contain Type-Length-Value (TLV) structures that carry specific information about the sending device.
Mandatory TLVs include Chassis ID, Port ID, Time-To-Live, and End of LLDPDU. Optional TLVs can contain system name, system description, system capabilities, management address, port description, and organizationally specific information. This modular TLV structure allows flexibility in what information devices share.
Key characteristics of LLDP include: it operates in a one-way fashion where each device sends its own information; it uses a default transmission interval of 30 seconds; and the time-to-live value determines how long received information remains valid, typically 120 seconds.
LLDP-MED (Media Endpoint Discovery) is an extension specifically designed for Voice over IP applications. It enables automatic discovery of network policies, location identification for emergency services, and Power over Ethernet management information exchange between switches and endpoints like IP phones.
For CCNA candidates, understanding LLDP is essential for network troubleshooting and documentation. Network administrators use LLDP to create network topology maps, verify physical connections, identify connected devices, and troubleshoot connectivity issues. Commands like 'show lldp neighbors' and 'show lldp neighbors detail' on Cisco devices display discovered neighbor information, helping administrators verify proper network connectivity and device placement within the infrastructure.
Link Layer Discovery Protocol (LLDP) - Complete CCNA Guide
What is Link Layer Discovery Protocol (LLDP)?
Link Layer Discovery Protocol (LLDP) is a vendor-neutral Layer 2 discovery protocol defined by IEEE 802.1AB. It allows network devices to advertise their identity, capabilities, and neighbors on a local area network. Unlike Cisco's proprietary CDP (Cisco Discovery Protocol), LLDP works across multi-vendor environments, making it essential for heterogeneous networks.
Why is LLDP Important?
• Vendor Interoperability: LLDP enables discovery between devices from different manufacturers • Network Documentation: Helps administrators understand network topology and device connections • Troubleshooting: Quickly identifies neighboring devices and their configurations • VoIP Deployments: Critical for IP phones to discover switches and obtain VLAN information • Automation: Provides data for network management systems and automation tools
How LLDP Works
LLDP operates at Layer 2 and sends advertisements at regular intervals:
• Multicast Address: LLDP frames are sent to 01:80:C2:00:00:0E • Default Timer: Advertisements sent every 30 seconds • Hold Time: Information is held for 120 seconds (4x the timer) by default • Reinit Delay: 2-second delay before re-initialization after port changes
LLDP uses Type-Length-Value (TLV) structures to convey information: • Chassis ID • Port ID • Time-To-Live • System Name and Description • Port Description • System Capabilities • Management Address
LLDP Configuration Commands
Enable LLDP globally: Switch(config)# lldp run
Disable LLDP globally: Switch(config)# no lldp run
Configure on specific interface: Switch(config-if)# lldp transmit Switch(config-if)# lldp receive
Disable on specific interface: Switch(config-if)# no lldp transmit Switch(config-if)# no lldp receive
• show lldp - Displays global LLDP settings • show lldp neighbors - Shows summary of discovered neighbors • show lldp neighbors detail - Shows detailed neighbor information • show lldp interface - Shows LLDP status per interface • show lldp traffic - Displays LLDP packet statistics
LLDP-MED is an extension designed for VoIP environments: • Provides VLAN information to IP phones • Enables power management for PoE devices • Supports location identification for E911 services • Facilitates inventory management
Exam Tips: Answering Questions on Link Layer Discovery Protocol (LLDP)
1. Remember the standard: LLDP is IEEE 802.1AB - this distinguishes it from CDP
2. Know the defaults: Timer = 30 seconds, Hold time = 120 seconds (hold time is 4x the timer)
3. Layer 2 protocol: LLDP operates at the Data Link layer and uses multicast frames
4. Global vs Interface: Use lldp run globally; use lldp transmit/receive per interface
5. Vendor-neutral advantage: When questions mention multi-vendor environments, LLDP is the answer
6. LLDP is disabled by default on Cisco devices, while CDP is enabled by default
7. Separate transmit and receive: Unlike CDP, LLDP allows independent control of sending and receiving
8. VoIP scenarios: Questions about IP phone discovery in mixed-vendor networks point to LLDP-MED
9. Security consideration: Both LLDP and CDP can expose network information - disable on untrusted ports
10. Show commands: Focus on show lldp neighbors and show lldp neighbors detail for verification questions