A non-root bridge selects the port with the lowest root-path cost as its root port; on each remaining segment, the bridge advertising the lower root-path cost supplies the designated port, and the other blocked redundant port is alternate. SW4 reaches the root most cheaply through SW3 at cost 40, so its direct SW1-facing GE1/0/3 is alternate. SW5 reaches the root most cheaply through SW4 at cost 50, so its SW3-facing GE1/0/1 is alternate. Huawei documents that root-port selection uses the smallest root-path cost and that an alternate port is blocked after receiving a superior BPDU from another bridge.
Community Discussion