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 neighborsandshow cdp neighbors detail - How to read
show lldp neighborsandshow 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.