An enterprise network topology running Rapid PVST+ consists of three switches: Switch-1, Switch-2, and Switch-3.
- Switch-1 is configured as the Root Bridge for VLAN 20 with a priority of 4096.
- Switch-2 connects to Switch-1 via a 10 Gigabit Ethernet link (, STP cost = 2).
- Switch-3 connects directly to Switch-1 via a 1 Gigabit Ethernet link (Gi0/1, STP cost = 4).
- Switch-3 also connects to Switch-2 via two parallel 1 Gigabit Ethernet links: Gi0/2 (connected to Switch-2 Gi0/1) and Gi0/3 (connected to Switch-2 Gi0/2).
- All interface STP costs and port priorities use default Cisco values.
Which port role and operational state will interface Gi0/2 on Switch-3 assume for VLAN 20?
- Alternate port role in the Discarding stateAnswer
- BBackup port role in the Discarding state
- CRoot port role in the Forwarding state
- DDesignated port role in the Forwarding state
Answer
Interface Gi0/2 on Switch-3 assumes the Alternate port role in the Discarding state.
Switch-3 evaluates all available paths to Root Bridge Switch-1. The direct 1 Gbps link on interface Gi0/1 provides a path cost of 4, whereas traversing Switch-2 via interface Gi0/2 yields a path cost of 6 (cost 2 from Switch-2 to Switch-1 plus cost 4 from Switch-3 to Switch-2). Consequently, Gi0/1 is elected as Switch-3's Root Port. On the segments connecting Switch-2 and Switch-3, Switch-2 advertises a lower root path cost (2) than Switch-3 (4), electing Switch-2 as the designated bridge. Interface Gi0/2 on Switch-3 receives BPDUs from Switch-2 and is designated as an Alternate port in the Discarding state.
Step-by-Step Solution
Key Concept
Rapid PVST+ Root Port and Alternate Port election rules based on cumulative root path costs and designated bridge tie-breakers.