Scenario
The cabling contractor patched the closet in a hurry. The plan says SW1 Gi0/1 runs to floor 2 (SW2, VLAN 10) and Gi0/2 to floor 3 (SW3, VLAN 20), and both trunks were set up that way. But the sales PCs on both floors cannot talk, and neither can the engineers. The switch cannot move a cable, so you read what CDP hears, then set each trunk for the switch that is really on the other end.
Topology
Requirements
- 1The uplink SW1 Gi0/1 carries only VLAN 20, because the switch on its other end is SW3
- 2The uplink SW1 Gi0/2 carries only VLAN 10, because the switch on its other end is SW2
- 3PC-S1 reaches PC-S2 (VLAN 10, floor 2)
- 4PC-E1 reaches PC-E3 (VLAN 20, floor 3)
- 5CDP is still running on SW1 (do not switch the evidence off)
The drawing shows the plan, not the real cables. On SW1 type show cdp neighbors to see who is really on each uplink, then start with: enable
R1> show running-config
CCNA lab · about 15 min
Find the wrong cable with CDP
The plan says Gi0/1 goes to floor 2 and Gi0/2 to floor 3. Two VLANs do not cross. Read show cdp neighbors, see where the cables really go, and fix the trunks.
This lab is included in the CCNA plans and in the free trial.