Day 36: CDP and LLDP

CCNA 200-301 Study Guide: Layer 2 Discovery (CDP & LLDP)

1.0 Fundamentals of Layer 2 Discovery

Layer 2 discovery protocols act as the "digital handshake" of a network, allowing devices to identify neighbors without requiring an IP address. They operate at the Data Link Layer, meaning discovery occurs as long as the physical link is up and the protocol is enabled.

Core Attributes

2.0 Cisco Discovery Protocol (CDP)

CDP is a Cisco-proprietary protocol used for identifying and managing Cisco hardware.

Operational Defaults

Configuration & Management

Command

Mode

Purpose

cdp run

Global

Enables CDP globally.

no cdp run

Global

Disables CDP globally.

cdp enable

Interface

Enables CDP on a specific port.

cdp timer [sec]

Global

Adjusts advertisement frequency.

cdp holdtime [sec]

Global

Adjusts neighbor retention time.

Verification Commands

LLDP (IEEE 802.1AB) is the vendor-neutral standard required for discovery in multi-vendor environments.

Operational Defaults

Configuration & Management

Unlike CDP, LLDP allows for granular control over transmission and reception.

Command

Mode

Purpose

lldp run

Global

Enables LLDP globally.

lldp transmit

Interface

Enables sending LLDP frames on the port.

lldp receive

Interface

Enables processing incoming LLDP frames.

lldp timer [sec]

Global

Configures advertisement frequency.

lldp holdtime [sec]

Global

Configures the holdtime.

Verification Commands

4.0 Protocol Comparison Matrix

Feature

Cisco Discovery Protocol (CDP)

Link Layer Discovery (LLDP)

Ownership

Cisco Proprietary

IEEE 802.1AB (Standard)

Cisco Default

Enabled

Disabled

Hello Timer

60 Seconds

30 Seconds

Holdtime

180 Seconds

120 Seconds

Interface Logic

cdp enable (Binary)

transmit / receive (Granular)

VTP Support

Yes

No

Capability Code

S (Switch)

B (Bridge)


Revision #1
Created 2026-03-14 19:33:46 UTC by Tony Utter
Updated 2026-03-14 19:34:04 UTC by Tony Utter