LLDP
— Link Layer Discovery Protocol (IEEE 802.1AB)LLDP lets each device describe itself to its directly connected neighbours without any negotiation or configuration on the far end. Every 30 seconds a device transmits an LLDPDU built from type-length-value elements, and neighbours store what they learn in a management database used for topology maps and fault isolation.
Interactive Session: How LLDP Works
Step through the packet exchange sequence between nodes.
Interactive Execution Sandbox
Interact with a live or clearly-labelled simulated instance of LLDP.
Threat Model & Attack Simulation
How this protocol is attacked in practice, what defenders can see, and which control stops it.
Threat model & attack simulation
SimulatedDefensive education. Every step runs in this page; no traffic is generated or sent.
LLDP neighbour spoofing
ReconnaissanceForged LLDP TLVs advertise a fake switch or phone identity, poisoning topology and inventory records.
Advertise a fake neighbour
The attacker sends LLDP frames claiming to be a core switch or IP phone.
LLDP neighbour changes on an access port.
Incorrect topology data and possible policy manipulation.
Defences that matter
- Disable LLDP on untrusted edge ports
- Use LLDP-MED policies with authentication
- Alert on neighbour identity changes
This is a conceptual model for defenders, not an exploit toolkit. It contains no payloads, tooling or instructions for attacking systems you do not own.
Protocol Specification & Architecture
Key characteristics, real-world deployment patterns, and trade-offs.
Core Technical Features
- TLV structure starting with Chassis ID, Port ID and Time To Live
- Default transmit interval of 30 seconds with a TTL of 120 seconds
- One-way advertisement, so no reply or agreement is required
- Optional LLDP-MED TLVs for voice VLAN, power and inventory data
- Frames sent to 01:80:C2:00:00:0E with EtherType 0x88CC
Real-World Use Cases
- Automatic network topology discovery for monitoring tools
- Identifying which switch port a workstation or phone is plugged into
- LLDP-MED voice VLAN assignment for IP phones
Advantages & Strengths
- Works across multiple vendors instead of a single proprietary protocol
- Needs no addressing or routing and is safe to leave enabled
Limitations & Vulnerabilities
- Reveals device names and port details to anyone on the segment
- Learned information is limited to direct neighbours only