Switching · 5 min read · 19 November 2026
What Is LLDP? How Network Devices Discover Their Neighbours
LLDP explained: how switches, phones, access points and cameras advertise themselves, how LLDP-MED sets voice VLANs and PoE, how it helps documentation, and when to turn it off.
LLDP (Link Layer Discovery Protocol, IEEE 802.1AB) lets each network device tell its directly connected neighbour who it is: name, model, port, management address and capabilities. Switches collect this into a neighbour table, so you can see what is plugged into every port without walking to the cabinet.
What LLDP is used for
- Documentation: which switch port connects to which access point, phone, camera or other switch.
- Troubleshooting: confirm the cable goes where the drawing says, find miswired uplinks.
- Topology maps: management platforms build network diagrams automatically from LLDP.
- Automation: apply port settings based on the device type detected.
LLDP-MED for phones and PoE
LLDP-MED (Media Endpoint Discovery) adds information for endpoints. The switch tells IP phones which voice VLAN and priority to use, and devices can request the exact PoE power they need. That makes voice deployment plug-and-play.
| Protocol | Standard | Notes |
|---|---|---|
| LLDP | IEEE 802.1AB, open | Supported by most vendors |
| LLDP-MED | ANSI/TIA-1057 | Voice VLAN, location and PoE for endpoints |
| CDP | Vendor-specific | Similar purpose, limited to one vendor's devices |
Security considerations
LLDP reveals model names, software versions and addresses to anyone plugged into a port. Keep it enabled on infrastructure links and ports for phones and access points, and consider disabling it on ports facing guests, the internet or untrusted devices.
show lldp neighbors
show lldp neighbors detail
FAQ
Frequently asked questions
Does LLDP work across routers?
No. LLDP frames reach only the directly connected device; they are not forwarded.
Is LLDP enabled by default?
On many managed switches, yes. Check and decide per port type.
Can LLDP set the voice VLAN on phones?
Yes, with LLDP-MED network policy on the switch port.
Related
Keep reading
Voice VLAN and QoS for IP phones
Read more →Network asset inventory
Read more →Secure switch management
Read more →Private 5G vs Wi-Fi for Enterprises: Which Wireless Technology Fits?
Compare private cellular networks and enterprise Wi-Fi for factories, ports, campuses and warehouses: coverage, mobility, device support, spectrum, cost and when to combine both.
Read more →What Is Port Security on a Switch? Stop Unknown Devices From Connecting
Switch port security explained: limiting MAC addresses per port, sticky learning, violation modes (protect, restrict, shutdown), when to use it and how it compares with 802.1X.
Read more →Warehouse and Logistics Network Design: Scanners, Cameras and Automation
How to design networks for warehouses and logistics centres: Wi-Fi for scanners and vehicles, outdoor yards and docks, CCTV, industrial switches for automation, and resilience.
Read more →Need help designing your network?
Navijin engineers provide free design consultations, bills of materials and quotations for business projects.