问题原文
原帖链接 · Skanderbeg · CC BY-SA 4.0
I have four Switches that are interconnected with each other, witch form a loop as shown in this network diagram
The switch 1 is the root bridge and is connected to the primary edge router. The switch 2 is the failover root bridge and is connected to the secondary edge router. The two switches are interconnected with a 10 Gb/s module. The connections to the other switches are all 1 Gb/s (either with SFP and fibre or ethernet cable).
The priorities are set as shown in the diagram.
Now I'd like that path between switch 3 and switch 4 to be blocked. So I'd like to know if with my current configuration STP blocks the path between switch 3 and switch 4automatically, as it's the path with the heighest cost leading to the root bridge or should I configure it specifically? How would one do such a configuration?
The switches are configured with mstp.
已采纳解答
原帖链接 · Zac67 · CC BY-SA 4.0
Essentially, SW2's STP priority doesn't matter as it's only used for root election.
Since SW4's path costs are 1G+1G across SW3 but 1G+10G across SW2, the latter is set as root path and the former is blocked - it'll automatically do what you'd like. The better 10G link cost tends to attract the active links in the tree.
To achieve the same with an equal path setup you'd need to lower the interface priority to set the spanning tree as desired.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
