CDP vs LLDP
| CDP | LLDP | |
|---|---|---|
| Standard | Cisco proprietary | IEEE 802.1AB |
| On by default (IOS) | Yes | No: lldp run |
| Timer / holdtime | 60 s / 180 s | 30 s / 120 s |
| Global | cdp run | lldp run |
| Per port | cdp enable | lldp transmit, lldp receive |
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.
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.
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).
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.
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.
Read neighbor tables, CDP versus LLDP facts, the commands, and who sees whom. Build a streak.
The numbers, orders and commands the network runs on. Cover a column and say it before you look.
| CDP | LLDP | |
|---|---|---|
| Standard | Cisco proprietary | IEEE 802.1AB |
| On by default (IOS) | Yes | No: lldp run |
| Timer / holdtime | 60 s / 180 s | 30 s / 120 s |
| Global | cdp run | lldp run |
| Per port | cdp enable | lldp transmit, lldp receive |
detail adds IP addresses, software version and native VLAN.cdp run cdp timer 30 cdp holdtime 90 interface fa0/10 no cdp enable
lldp run lldp timer 10 lldp holdtime 40 interface g0/2 no lldp transmit no lldp receive
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.