Loopback Cert Guide
Lab 2.3CDP and LLDP

Map the network one neighbor at a time.

You can reach SW1 and nothing else. Every device that shows up in show cdp neighbors or show lldp neighbors lands on the map, and the Cisco ones get a console. Two devices don't speak CDP, so you'll need LLDP too.

  • 2.3Configure and verify Layer 2 discovery protocols (Cisco Discovery Protocol and LLDP)
01Live network

Ask the neighbors and they'll tell you.

Unknown devices are dashed question marks until a neighbor table names them. Port markers show what each Cisco port runs: C for CDP, L for LLDP. Click a device for its protocol switches and quick show buttons, a port for cdp enable and lldp transmit and receive.

Live network · CDP and LLDP · simulated
  • CDP and LLDP
  • CDP only
  • LLDP only
  • Neither
  • Shut down

Simulated: devices, names, addresses, platforms, software versions and console output are Loopback's simulation of Cisco IOS switches and a router, a Cisco IP phone, a third-party switch and a Linux server. Holdtime counters are frozen snapshots. Addresses are private space (10.0.0.0/8).

02Tasks

Solve the task and the network checks your work.

Each task loads its own starting point onto the network. Solve it from the console or with clicks; the checks tick live, and you see one model answer when you're done.

    03What happens if

    Predict the result, then watch it happen.

    Eight discovery traps: the defaults out of the box, a server that only speaks LLDP, CDP off on one end, receive-only LLDP, local versus remote ports, no IP at all, how long an entry lasts and LLDP on one side. Pick what happens, then load it.

      04Drills

      A new question every round, so nothing is memorized.

      Read neighbor tables, CDP versus LLDP facts, the commands, and who sees whom. Build a streak.

      05Recall sheet

      The whole topic on one sheet.

      The numbers, orders and commands the network runs on. Cover a column and say it before you look.

      CDP vs LLDP

      CDPLLDP
      StandardCisco proprietaryIEEE 802.1AB
      On by default (IOS)YesNo: lldp run
      Timer / holdtime60 s / 180 s30 s / 120 s
      Globalcdp runlldp run
      Per portcdp enablelldp transmit, lldp receive

      Reading the table

      Device ID
      The neighbor's hostname
      Local Intrfce
      Your port
      Port ID
      The neighbor's port
      Holdtme
      Seconds left before the entry expires
      Capability
      R router, S switch, P phone, H host

      Good to know

      • Both run at Layer 2: no IP address needed to see a neighbor.
      • Only directly connected neighbors appear.
      • Both ends must run the protocol.
      • detail adds IP addresses, software version and native VLAN.
      • Turn them off on ports facing hosts or outsiders: they reveal model and software.

      Commands

      CDP

      cdp run
      cdp timer 30
      cdp holdtime 90
      interface fa0/10
       no cdp enable

      LLDP

      lldp run
      lldp timer 10
      lldp holdtime 40
      interface g0/2
       no lldp transmit
       no lldp receive

      Verify

      show cdp
      show cdp neighbors
      show cdp neighbors detail
      show cdp interface
      show lldp
      show lldp neighbors
      show lldp neighbors detail
      show lldp interface

      All of these work in the consoles, along with ?, Tab and do.

      Jump to a page

      1. Gi0/1HomeconnectedHow the exam works and a sample of every station
      2. Gi0/2Practice Testsconnected18 tests by domain, every answer explained
      3. Gi0/3Flashcardsconnected401 cards on every objective, plus your own
      4. Gi0/4CLI LabconnectedCommand drills and config tasks, checked like IOS
      5. Gi0/5Concept LabsconnectedYou're in Lab 2.3 CDP and LLDP. All labs.
      6. Gi0/6Study PlanconnectedAll 53 objectives, graded from your progress