CDP Cisco lab
🔒
Unauthorized Access
This interactive lab is exclusively licensed to PacketTracerLab.com and cannot be used on any other domain or offline environment.
Visit PacketTracerLab.com
⚠ Unauthorized use or redistribution is prohibited.
Lab 22
Cisco Discovery Protocol (CDP)
Configure interfaces, then use CDP commands to discover neighbors
R1 Tasks
Gi0/0 → 192.168.1.1/24 no shutdown
show cdp neighbors
show cdp neighbors detail
show cdp entry SW1
no cdp enable on Gi0/0
SW1 Tasks
show cdp neighbors
show cdp neighbors detail
show cdp interface
no cdp run — disable globally
cdp run — re-enable globally
R2 Tasks
Gi0/0 → 192.168.2.1/24 no shutdown
show cdp neighbors
show cdp neighbors detail
show cdp entry SW1
show cdp — verify timer/holdtime
Quick Reference
show cdp neighbors
show cdp neighbors detail
show cdp entry>
show cdp interface
show cdp
no cdp run
cdp run
no cdp enable
show cdp neighbors detail
show cdp entry
show cdp interface
show cdp
no cdp run
cdp run
no cdp enable
R1
SW1
R2
Router>
Switch>
Router>