NanoTech-kw · Tech Guide Library

How to Configure Cisco Discovery Protocol (CDP) and LLDP

Cisco · Cisco CCNA

Enable and configure CDP and LLDP on Cisco devices for neighbor discovery and network topology mapping.

Step-by-step

  1. Enter global configuration mode: enable → configure terminal
  2. Enable CDP globally (on by default): cdp run
  3. Enable CDP on specific interfaces: interface <type/num> → cdp enable
  4. Set CDP timer (optional): cdp timer <seconds> (default 60s)
  5. Set CDP holdtime (optional): cdp holdtime <seconds> (default 180s)
  6. Enable LLDP globally: lldp run
  7. Enable LLDP on interfaces: interface <type/num> → lldp transmit and lldp receive
  8. Verify neighbors: show cdp neighbors and show lldp neighbors

Reference: www.tutorialspoint.com

Open in the NanoTech-kw library →