Link Layer Discovery Protocol is a Layer 2 protocol that advertises device identity, port and capability information to neighbouring network devices. It helps with inventory and topology discovery, but it also reveals useful data to an attacker on the local network. Defenders should limit where it is enabled and validate exposed details.
How LLDP advertises information on a local network
LLDP is designed for direct neighbour discovery, not for routing or remote management. Each device periodically sends Layer 2 advertisements with fields that identify the system, the port, and selected capabilities so adjacent switches, phones, endpoints, or controllers can learn what is connected and how to classify it.
The important operational detail is that LLDP is link-local by design. It is normally not forwarded across routers, which means its visibility is confined to the local broadcast domain. That makes it useful for topology discovery, but it also means anyone on that segment can potentially observe the same metadata if they can capture Layer 2 traffic.
Because the protocol is informational rather than stateful, the value comes from the receiver building a neighbour table from repeated advertisements. In practice, that helps with switchport mapping, VoIP discovery, and automated inventory, while also exposing device names, interface labels, and other details that can simplify reconnaissance.
What LLDP does not protect, and why that matters
LLDP was not designed to authenticate the sender or hide the contents of the advertisement. If a host can listen on the same segment, it may learn enough to identify vendors, roles, and attachment points without needing to compromise the device first. That is why LLDP is often treated as a convenience protocol with security implications, not as a trust control.
The same openness that makes discovery easy can also create a mapping aid for an attacker. A local observer can use LLDP output to understand where infrastructure resides, which ports matter, and which devices may deserve closer scrutiny, especially in flat networks or poorly segmented access layers.
In environments with sensitive port metadata, LLDP should be enabled selectively and reviewed as part of switch hardening. The protocol is most defensible when the operational value of discovery outweighs the exposure of device and topology information, and when access to the segment is already tightly controlled.
Where LLDP fits in operational discovery and hardening
LLDP is best thought of as an inventory assist and topology aid. Network teams use it to correlate what is physically connected with what is logically configured, which reduces manual tracing and supports faster troubleshooting. It can also improve change control when device identity and port capability are visible to adjacent infrastructure.
The downside is that discovery data becomes part of the attack surface. If you enable LLDP everywhere by default, you increase the amount of environment detail available to any device that can join the same Layer 2 domain. That is especially relevant on user access switches, shared offices, guest networks, and mixed-trust segments.
For the protocol standard itself, the authoritative reference is the IEEE 802.1AB specification, and for registry context around protocol and identifier assignments, IANA is the canonical source for internet protocol registries.
Risk and Threat Considerations
LLDP can leak enough infrastructure detail to make lateral reconnaissance easier, even when the traffic never leaves the local link. The exposure is usually modest in a hardened campus or datacenter segment, but it becomes more material when untrusted hosts, rogue devices, or guest systems can attach to the same broadcast domain.
Failure mechanism: LLDP frames are openly advertised on the wire, so any local listener with Layer 2 visibility can collect neighbour identity, port, and capability information without authenticating.
Impact: An attacker can use that metadata to map the network, identify valuable devices or ports, and narrow follow-on abuse such as rogue attachment, targeted spoofing, or selective reconnaissance.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP API Security Top 10 addresses the attack surface, CIS Controls v8, NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the technical controls, and ISO/IEC 27001:2022 defines the regulatory obligations.
| Framework | Control / Reference | Relevance |
|---|---|---|
| CIS Controls v8 | CIS-4 — Secure Configuration of Enterprise Assets and Software | LLDP exposure is a switch and segment hardening decision. |
| Recommendation — Disable LLDP where topology disclosure is unnecessary and standardize secure port configurations. | ||
| NIST CSF 2.0 | PR.AA-05 — Identity and Access Management, Assets Are Managed | LLDP reveals asset and port identity details that should be governed by access boundaries. |
| Recommendation — Restrict LLDP to managed segments and document where discovery metadata is intentionally exposed. | ||
| NIST SP 800-53 Rev 5 | CM-7 — Least Functionality | Only essential discovery services should remain enabled on network infrastructure. |
| Recommendation — Remove LLDP from ports and zones that do not need neighbour discovery. | ||
| ISO/IEC 27001:2022 | A.8.9 — Configuration management | LLDP enablement and exposure belong in controlled configuration baselines. |
| Recommendation — Baseline LLDP settings by segment and review deviations during configuration change control. | ||
| OWASP API Security Top 10 | API9 — Improper Inventory Management | LLDP is an inventory aid whose misuse can expose unmanaged or unexpected infrastructure details. |
| Recommendation — Use LLDP only where discovery feeds a maintained inventory and topology process. | ||
Practitioner Guidance
What to verify: Confirm which switchports truly need LLDP, then check whether the exposed fields include more detail than operations actually require. On access layers, validate that discovery is limited to managed segments and that guest, lab, and other untrusted zones do not inherit it by default.
What good looks like: LLDP is enabled where it supports inventory, VoIP, or automation, but disabled or tightly scoped where topology disclosure would add unnecessary exposure. The resulting neighbour data should be sufficient for operations without turning every access port into a source of intelligence for a local observer.
Practitioner takeaway: Treat LLDP as useful discovery metadata, not as a security boundary, and make enablement a deliberate segment-by-segment decision rather than a universal default.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on October 19, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org