StudyToCert

All certifications / CCNA / Lessons

Cisco CCNA 200-301 v2.0 · Domain 2: Switching & network access

Layer 2 discovery protocols: CDP and LLDP

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

Network devices can introduce themselves to whatever is plugged directly into them. Every so often, each device sends a short message that says, in effect, 'I am switch SW2, I am this model, my address is this, and you are connected to my port 24.' The device on the other end of the cable stores that note for a few minutes. Cisco equipment uses its own version called CDP, and almost every vendor supports a shared version called LLDP. By reading these notes, you can draw a map of your network one cable at a time without opening a single ceiling tile. The messages only go one hop, like a neighbor talking over a fence, never further down the street.

Your first week at Bayside Community Credit Union starts with a surprise: the network diagram in the shared drive is labeled 'draft' and is five years old. Priscilla, the operations manager, needs to know which switch port feeds the branch router before a carrier technician arrives at noon. There are no labels on the patch panel, and you cannot trace cables through the ceiling. But the switches, routers and phones in this building have been introducing themselves to each other every minute since they were powered on. How do you listen in on those introductions, what will they tell you, and where should you make sure they are never heard?

When you arrive at an unfamiliar network, or a diagram is out of date, discovery protocols tell you what is plugged into each port. CDP (Cisco Discovery Protocol) and LLDP (Link Layer Discovery Protocol) both have devices periodically advertise information about themselves to their directly connected neighbors. They run at Layer 2, so they work even before IP is configured, and their messages are never forwarded past the immediate neighbor. That makes them ideal for building a map one hop at a time, and for confirming that a cable really lands where the documentation says it does.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 8 more sections, 7 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study CCNA for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the CCNA study plan