Scenario
Ticket: SW1 is meant to be the root bridge for VLAN 10 and VLAN 20, but show spanning-tree says the root is SW2 (reached through the trunk Gi0/1). Also, the reception PC on Fa0/1 lost its connection yesterday after someone plugged a small desk switch into the wall socket. The small switch has been taken away, but the PC still has no link. The PC on Fa0/2 works. Policy: every PortFast access port must also have BPDU Guard. Fix SW1 without removing the protection that caught the small switch. SW2 is correct and cannot be changed.
Topology
Requirements
- 1SW1 has a bridge priority of 24576 or lower in VLAN 10 (it wins the root election)
- 2SW1 has a bridge priority of 24576 or lower in VLAN 20
- 3Fa0/1 is connected again (not err-disabled)
- 4Fa0/1 keeps PortFast and BPDU Guard
- 5Fa0/2 has BPDU Guard enabled
- 6Rapid-PVST stays the spanning-tree mode
SW1 runs rapid spanning tree for VLANs 10 and 20. Type ? for the commands you can use. Start with: enable
SW1> show running-config
CCNA lab · about 15 min
Troubleshoot: SW1 is not the root bridge and a port is err-disabled
Three faults, a bridge priority that loses the root election, a port shut down by BPDU Guard and a port with no BPDU Guard, leave the access layer unprotected. Find them with show spanning-tree.
This lab is included in the CCNA plans and in the free trial.