In a network running Rapid PVST+ for VLAN 30, Switch-4 has two direct Gigabit Ethernet connections to Switch-2, which is the Root Bridge. Link 1 connects Switch-4 port GigabitEthernet0/1 to Switch-2 port GigabitEthernet0/1. Link 2 connects Switch-4 port GigabitEthernet0/2 to Switch-2 port GigabitEthernet0/2. All interface costs use default values. Which port role and state will port GigabitEthernet0/2 on Switch-4 assume after STP convergence completes?
- Alternate port in the Discarding stateAnswer
- BBackup port in the Discarding state
- CRoot port in the Forwarding state
- DDesignated port in the Forwarding state
Answer
Port GigabitEthernet0/2 on Switch-4 will become an Alternate port in the Discarding state.
When a non-root switch has multiple parallel links connected to the same upstream Root Bridge, the tie-breakers for selecting a Root Port are: lowest cumulative Root Path Cost, lowest Designated Bridge ID, lowest upstream Designated (Sender) Port ID, and lowest local Port ID. Here, cumulative cost and Bridge ID are equal for both links. The tie is broken by Switch-2's sender Port ID: Gi0/1 has a lower numerical Port ID than Gi0/2. Thus, Switch-4's GigabitEthernet0/1 becomes the Root Port in the Forwarding state, while GigabitEthernet0/2 assumes the Alternate port role in the Discarding state to block switching loops.
Step-by-Step Solution
Key Concept
Rapid PVST+ Root Port selection tie-breaking via upstream Sender Port ID and Alternate port role assignment.