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.

ProtocolStandardNotes
LLDPIEEE 802.1AB, openSupported by most vendors
LLDP-MEDANSI/TIA-1057Voice VLAN, location and PoE for endpoints
CDPVendor-specificSimilar 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.

Need help designing your network?

Navijin engineers provide free design consultations, bills of materials and quotations for business projects.