Labs

Lab na-11 - CDP vs LLDP

Lab na-11 - CDP vs LLDP
Table of Contents

CDP (Cisco Discovery Protocol) and LLDP (Link Layer Discovery Protocol) are two ways for network devices to tell each other "hey, I am here, this is who I am, this is what port we are connected on." CDP is Cisco-only; LLDP is the open standard. Both are useful. This lab uses the base topology (R1 + SW1) to enable and inspect both protocols, then compares what they tell you.

What you will learn

  • What CDP and LLDP advertise about themselves and what they don't
  • How to enable each globally and per-interface
  • How to read show cdp neighbors and show cdp neighbors detail
  • How to read show lldp neighbors and show lldp neighbors detail
  • The security trade-off (these protocols leak information; sometimes you want them off)

What this lab does NOT cover

  • CDP/LLDP MED (the medical-grade voice/video extension)
  • Topology mapping tools that consume CDP/LLDP feeds

Topology

Download the PingLabz CCNA Base Topology .yaml

The PingLabz CCNA Base Topology - three iol-xe routers + one alpine host + one ioll2-xe managed switch + one unmanaged switch. The reusable foundation.

Download PingLabz CCNA Base Topology

Written by
More from Ping Labz
Great! You’ve successfully signed up.
Welcome back! You've successfully signed in.
You've successfully subscribed to Ping Labz.
Your link has expired.
Success! Check your email for magic link to sign-in.
Success! Your billing info has been updated.
Your billing was not updated.