Skip to content
CCNA 200-301 v1.1 reference — Network Access

CDP and LLDP

Layer 2 discovery protocols: enable and scope CDP and LLDP, read neighbor tables, and use detail output safely.

Objective 2.3v1.1 exam target

CDP versus LLDP

PropertyCDPLLDP
StandardCisco proprietaryIEEE 802.1AB (open)
Default on CiscoEnabled globally, per-interface onDisabled until lldp run
Timer / holdtime60 s / 180 s30 s / 120 s
TLVsDevice ID, port ID, platform, IP, native VLAN, duplex, VTP domainChassis/port ID, system name/desc, management address, capabilities
UseCisco-only estatesMixed-vendor networks, IP phone voice-VLAN delivery

Discovery defaults worth memorizing

Values are platform defaults — verify against your device documentation.
SettingCDP defaultLLDP default
Advertisement timer60 seconds30 seconds
Holdtime180 seconds120 seconds
Global state on Cisco IOSEnabledDisabled
Per-interface controlcdp enable / no cdp enablelldp transmit / lldp receive

Values are platform defaults — verify against your device documentation.

Enable and scope LLDP

Enable LLDP globally and tune a port — Privileged EXEC → Global + interface configuration

Cisco IOS / IOS XE

configure terminal
lldp run
interface gigabitethernet1/0/24
 lldp transmit
 lldp receive
 end
Verify
show lldp neighbors
show lldp neighbors detail
show lldp
  • Neighbor table shows chassis ID, port ID, TTL and system name.
  • Detail output reveals management IP, capabilities and VLAN info.
  • Disable transmit on untrusted/user-facing ports — LLDP leaks topology details.

Changes device configuration.

$ show cdp neighbors (interpreted)
Capability Codes: R - Router, T - Trans Bridge, B - Source Route BridgeLetters reveal device function.
S - Switch, H - Host, I - IGMP, r - Repeater, P - PhoneP marks IP phones — voice VLAN verification.
Device ID Local Intrfce Holdtme Capability Platform Port IDLocal and remote port pair on each row.
SW2 Gig 1/0/24 158 S C9300 Gig 1/0/24SW2 reachable via its Gi1/0/24 from your Gi1/0/24.
SEP001A2B3C4D5E Gig 1/0/1 143 P IP Phone Port 1A phone — confirm it is in the voice VLAN.
On this page

Related resources

Sources

Targets CCNA 200-301 v1.1 objectives. Supplemental blocks are labeled beyond exam scope.

Search guided lessons, transcript chapters, flashcards, CLI drills and cheat sheets

CDP and LLDP | CCNA Study