Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

LLDP (Link Layer Discovery Protocol)

Direct answer

LLDP (Link Layer Discovery Protocol, IEEE 802.1AB) is the vendor-neutral discovery protocol: devices send their system name, port ID, port description, capabilities and management address to direct neighbours.

When to use this

Use it towards non-Cisco switches, servers, hypervisors and phones (LLDP-MED), or when CDP is not available.

First 30 seconds

1. show lldp — running? If not, lldp run.

2. show lldp neighbors — expected neighbour on the port?

3. Nothing seen → show lldp interface <if> (tx/rx) and LLDP on the far device.

4. show lldp neighbors <if> detail — management address and port description.

5. Phones: LLDP-MED network policy gives the voice VLAN.

Operational verification

protocol enabled on both ends → advertisements sent on the link → neighbour entry created → device name and remote port match the design

Evidence · next step

Compare cabling and the peer interface, then verify VLAN/routing separately for the service path.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE · IOS/IOS XE
Key commandlldp run
Scope / prerequisiteUse it towards non-Cisco switches, servers, hypervisors and phones (LLDP-MED), or when CDP is not available.
Configure · 1Show · 4Reference · 3
What next?3 suggested next steps
Catalog command links8
Evidence4
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

5 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 First 30 seconds Verify boundary

Immediate answer: Identify the exact LLDP scope before changing state. Follow link/global policy → peer transmit/local receive → advertised identity/port/TTL → independent topology and traffic checks.

Verification chain: link/global policy → peer transmit/local receive → advertised identity/port/TTL → independent topology and traffic checks

Boundary: A local display shows only its own state. Read the Topic’s bounded example and recovery limits before testing.

Step 2 LLDP: bounded example and recovery Verify boundary

Illustrative observation: local Gi1/0/1 hears chassis ID 0011.2233.4455, remote port ID Gi1/0/48, bridge capability and 90 seconds remaining. These are advertised identity/location hints, not cryptographic identity or a packet-forwarding test.

In an isolated pair, disable only the peer’s LLDP transmit, keep data link up and observe the local entry age according to its actual lifetime. Restore exact transmit state and confirm renewed advertisements plus an independent bidirectional data test. Do not clear every neighbor to hide stale-state behavior. This example is not captured output or an executed device test.

Step 3 Verification and output interpretation Verify boundary

Use show lldp neighbors for the compact local-port/chassis/port relationship and show lldp neighbors detail for richer system, management and capability information. Confirm global status and per-interface transmit/receive state when expected neighbors are missing. Interpret the local interface and remote port ID together; a correct device name on the wrong local interface is still a topology discrepancy. A healthy entry should refresh consistently before TTL expiration and correspond to the expected physical connection. Compare LLDP with interface operational state and, where useful, MAC learning or CDP. A missing LLDP neighbor on an otherwise healthy link can simply mean the peer does not support or has disabled LLDP, so do not equate protocol absence with link failure.

Step 4 LLDP: first failed boundary Narrow the fault

No neighbor: inspect global/interface enablement, physical link and peer transmit/local receive independently. One-way visibility is possible without a broken user-data path. A table entry can persist until expiry after advertisements stop; compare elapsed time and actual TTL rather than declaring cabling showed by a stale row.

Different port-ID subtype or omitted optional TLV need not be a faulty neighbor. Compare both endpoints and physical inventory before inferring a mismatch. Avoid changing discovery exposure on untrusted edge ports merely to produce a complete topology table.

Step 5 Verification & troubleshooting Narrow the fault

Start with show lldp neighbors, then show lldp neighbors detail. If the peer is absent, verify show lldp, show lldp interface, interface state, global lldp run, and transmit/receive behavior on both ends.

Evidence references

Evidence · 4 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

command output · 3other · 1
Command lookup Jump straight to Cisco syntax
Key points

Often off by default on Cisco IOS: enable with lldp run. Per port, lldp transmit and lldp receive control each direction. LLDP-MED gives phones their voice VLAN and power needs.

Key checks
  • show lldp — LLDP running and timers.
  • show lldp neighbors — neighbour, local port, capabilities, remote port.
  • show lldp neighbors <if> detail — system name, description, management address.
  • show lldp interface <if> — transmit and receive enabled.
  • show lldp traffic — frames sent and received.
ReferenceHow it works1 section · depth on demand

LLDP: observation versus configuration

Scope: supported IOS / IOS XE Ethernet LLDP, per-interface transmit and receive. lldp receive changes interface behavior; it is not a status query. Read show lldp, show lldp interface, show lldp neighbors and detail output using the deployed platform’s syntax.

Record local interface, advertised chassis ID, remote port ID, capabilities and remaining lifetime. A management address is an advertised attribute, not evidence it is reachable or belongs to an authenticated trusted device. LLDP does not install a production forwarding route.

Reference: Cisco IOS XE LLDP.

ReferenceImportant terms & boundaries5 sections · depth on demand

LLDP TLV model

LLDP advertisements are built from TLVs. Common information includes chassis ID, port ID, time-to-live, port/system description, system name, capabilities and management address when the peer advertises them. Optional TLVs vary by device and platform.

In depth

LLDP and LLDP-MED in detail

LLDP (IEEE 802.1AB) is the vendor-neutral discovery protocol. Cisco's LLDP configuration chapter for the ME 3800X/3600X lists the basic management TLVs as port description, system name, system description, system capabilities and management address. It adds the IEEE 802.1 port VLAN ID and the IEEE 802.3 MAC/PHY configuration TLVs. That chapter's default values are a 30-second timer, a 120-second hold time and a 2-second reinitialisation delay, with transmit and receive enabled per interface. On that platform LLDP is disabled globally by default, so check the default on your own platform.

LLDP-MED TLVs (chapter)

TLVPurpose
CapabilitiesWhat the network device supports and has enabled
Network policyVoice VLAN and Layer 2/3 priority settings for applications
Power managementPower source, priority and requirement
InventoryHardware, firmware, software, serial number, model, asset ID
LocationCivic address or ELIN for emergency calls

By default the switch sends standard LLDP until an endpoint sends LLDP-MED. It then adds the MED TLVs and returns to standard LLDP once the endpoint's entry ages out.

Commands (chapter)

CommandScopeEffect
lldp runGlobalEnable LLDP
lldp timer <5–65534>GlobalTransmission interval
lldp holdtime <0–65535>GlobalHow long receivers keep the information
lldp reinit <2–5>GlobalInitialisation delay on an interface
lldp transmit / lldp receiveInterfaceSend and receive separately
lldp med-tlv-select <tlv>InterfaceChoose MED TLVs (inventory-management, location, network-policy, power-management)
SW1(config)# lldp run
SW1(config)# interface GigabitEthernet1/0/12
SW1(config-if)# lldp transmit
SW1(config-if)# lldp receive
SW1(config)# interface GigabitEthernet1/0/48
SW1(config-if)# no lldp transmit
SW1# show lldp
Global LLDP Information:
    Status: ACTIVE
    LLDP advertisements are sent every 30 seconds
    LLDP hold time advertised is 120 seconds
    LLDP interface reinitialisation delay is 2 seconds
SW1# show lldp neighbors GigabitEthernet1/0/12 detail | include System Name|Port id|Management Addresses|IP:|Capabilities
SW1# show lldp traffic

Using transmit and receive separately

Port typeSetting
Infrastructure linksTransmit and receive
Phone and AP portsTransmit and receive, with LLDP-MED network policy
Internet and provider handoffsno lldp transmit (receiving can still help identify the far end)
Untrusted guest portsBoth off

LLDP data isn't authenticated. A device can advertise any name, so treat neighbour information as a hint for troubleshooting, not as proof of identity.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

LLDP (IEEE 802.1AB) is the vendor-neutral equivalent of CDP: devices advertise identity, port and capabilities to neighbors in TLVs. LLDP-MED adds information for endpoints such as voice VLAN and PoE needs for phones.

lldp run
show lldp neighbors
show lldp neighbors detail
interface Gi1/0/10
 no lldp transmit

Documented example, not captured output.

LLDP is disabled by default on many Cisco IOS XE platforms; enable it for multi-vendor environments and for servers, which commonly speak LLDP.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

State model and protocol mechanics

LLDP advertises structured TLVs to directly connected Ethernet neighbors and learns their corresponding advertisements. Core information includes chassis ID, port ID, time-to-live and optional system name, description, capabilities and management addressing. Unlike a routing protocol, LLDP does not negotiate a forwarding path or install routes; it maintains a local management view of who is attached to each participating interface. Transmit and receive behavior can be controlled independently, which means a device can legitimately send LLDP without learning neighbors or learn without advertising. Learned entries age according to their TTL and can remain visible for a short period after connectivity changes. LLDP’s value is therefore topology and identity context across vendors, especially when CDP is unavailable or intentionally not used.

Limits and common misconceptions

LLDP is not an authentication protocol and learned system names or chassis IDs should not be treated as cryptographically trusted identity. Neighbor visibility does not show that VLAN tagging, spanning tree, IP addressing or routing above the link is correct. Conversely, a link can forward perfectly with LLDP disabled. Because transmit and receive are independent, one side may see a neighbor while the other does not. LLDP and CDP can coexist; duplicate discovery entries do not mean two physical links exist. Use discovery data to answer “what appears directly connected here?” and then use the appropriate Layer 2/Layer 3 state to answer whether that connection is actually carrying the intended service.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration model

Enable LLDP where standardized neighbor visibility is valuable, then decide whether each infrastructure, endpoint or external-facing interface should transmit, receive, both or neither. Preserve a deliberate information-exposure boundary: system descriptions, management addresses and capabilities are useful to operators but can also reveal topology details on untrusted links. Keep interface descriptions and inventory authoritative enough that LLDP can be used as corroborating live state rather than the only documentation source. On access networks with voice or specialized endpoints, additional LLDP extensions may influence endpoint behavior, so distinguish base neighbor discovery from application-specific TLVs. Timer tuning changes freshness and protocol overhead but should not be used to compensate for unstable links or inventory practices.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in Switching → Layer 2 Discovery → LLDP. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%
Embedded reference data

Quick lookup tables

LLDP TLV quick map

Common LLDP information elements and what they mean

TLV / fieldMeaningOperational use
Chassis IDremote chassis identityidentify peer
Port IDremote port identitytrace cable/port mapping
TTLadvertisement lifetimeunderstand neighbor aging
System Nameadvertised device namevalidate expected peer
System Descriptionplatform/software descriptionplatform context
System Capabilitiesadvertised rolesidentify bridge/router/phone class
Management Addressoptional management identitycandidate address for management verification

LLDP · operational reference

Compact state and interpretation boundaries for fast lookup.

LLDP elementReference meaning
Chassis IDNeighbor device/chassis identifier
Port IDRemote attachment point
TTLLifetime of learned advertisement
Tx/Rx stateWhether local interface advertises and/or learns
CapabilitiesNeighbor-reported functions, not forwarding proof
Depth when you need it

Deep reference

Additional depth

Exposure and policy note

LLDP can expose useful topology and management metadata to a directly connected peer. Apply interface transmit/receive policy deliberately on untrusted edges while preserving discovery on links where multivendor operations or automation depend on it.

Confirmation

Confirm action

Continue?