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
LAN A · 192.168.1.0/24 Core Switch — CDP Active LAN B · 192.168.2.0/24 PC-A 192.168.1.10 PC-B 192.168.2.10 R1 Gi0/0: 192.168.1.1/24 SW1 Cisco Catalyst 2960 R2 Gi0/0: 192.168.2.1/24 Gi0/0 ←→ Fa0/1 Fa0/2 ←→ Gi0/0 CDP Discovered R1 ↔ SW1 CDP Discovered SW1 ↔ R2 CDP Disabled on SW1
R1
SW1
R2
Router>
Switch>
Router>