Hands-On Lab 9-3: Choosing Each Switch’s Root Port
Learn how non-root switches choose their STP root ports using path cost, and verify the chosen ports with show commands.
Lab Overview
- Lab Number: Lab 9-3
- Lab Name: Choosing Each Switch’s Root Port
- Lab Difficulty: Rated 7/10
- Approximate Time: 30–40 minutes
- Preferred Image: Cisco iol-L2 or equivalent Layer 2 switch image
- Chapter: Chapter 9 – STP and RSTP Basics
- Figure: Figure 9-5: How a Human Might Calculate STP/RSTP Cost from SW3 to the Root (SW1)
Objective
This lab demonstrates how STP selects the Root Port for non-root switches based on the lowest cost path to the Root Switch. You will observe the election process, analyze cost calculations, and verify the Root Port decisions using STP show commands.
Scenario Description
In this scenario, you will configure three switches (SW1, SW2, SW3) with redundant links. SW1 is preconfigured to be the Root Bridge. SW2 and SW3, as non-root switches, will calculate the lowest-cost path to the Root Switch and select their Root Ports accordingly. You will observe how STP converges and verify the Root Port selection process.