In a switched network running standard IEEE 802.1D Spanning Tree Protocol (STP), Switch-C is connected to the Root Bridge (Switch-A) via a direct 100 Mbps link with a path cost of 19. Switch-C is also connected to Switch-B via a 1 Gbps link with a path cost of 4. Switch-B connects directly to Switch-A via a 1 Gbps link with a path cost of 4. Which port will Switch-C select as its Root Port, and what is the calculated Root Path Cost for that selection?
- The port connected to Switch-B, with a calculated Root Path Cost of 8.Answer
- BThe port connected to Switch-A, with a calculated Root Path Cost of 19.
- CThe port connected to Switch-B, with a calculated Root Path Cost of 4.
- DThe port connected to Switch-A, because direct links bypass root path cost evaluations.
Answer
The port connected to Switch-B, with a calculated Root Path Cost of 8.
Each non-root switch selects exactly one Root Port, which is the port providing the lowest cumulative path cost to the Root Bridge. The path via Switch-B totals a cost of 4 + 4 = 8, whereas the direct link to Switch-A has a cost of 19. Therefore, Switch-C designates the port connected to Switch-B as its Root Port with a Root Path Cost of 8.
Step-by-Step Solution
Key Concept
STP Root Port Selection based on cumulative Root Path Cost