SW1 is the root bridge. SW2 has two equal-speed links to it: SW2 Gi0/1 to SW1 Gi0/2, and SW2 Gi0/2 to SW1 Gi0/1. What are SW2's resulting port roles in Rapid PVST+?
Show the answer
Correct answerD. Gi0/2 is the root port; Gi0/1 is alternate
AWhy not this: Wrong root port by local port ID, and a port hearing a superior BPDU cannot be designated.
BWhy not this: The losing port hears a superior BPDU from the root, so it cannot be designated; it is alternate.
CWhy not this: Compares SW2's own port IDs; the tie-break uses the port ID of the sending switch, SW1.
DWhy this is right: Gi0/2 hears SW1 Gi0/1, the lower sender port ID, so it is the root port and the other port is alternate.
Both SW2 ports have the same root path cost and the same sender bridge ID, so the lowest sender port ID decides. That is SW1 Gi0/1, which SW2 Gi0/2 connects to. SW2's local port IDs are not used here, and the other port, which hears a superior BPDU, becomes alternate.