I need a better understanding about how a blocking ports are chosen in a Cisco switching network. Let's take the simplest example - three switches connected to each other by links of equal costs. One of the end-points of the link "opposite" to the STP root bridge will be blocked, but which one?
What I'm trying to achieve is accurate control on which port in a ring topology will be blocked - so far I was thinking that it's enough to configure a large enough STP cost on it, but apparently it's not that simple...
Re: Spanning tree question - which port will block?
Vasanth is correct.
I just want to add a little explanation. Let me write the 5 steps or tie-breakers, by which the switches decides what to do.
The first 4 are contained in BPDUs, the 5th criterium is local to the switch.
1. Root Bridge ID - Lowest switch priority+MAC address is better
2. Root Path Cost - Lowest accumulated cost is better. (Note: When designated port election is in place, the cost is not added upon reception of BPDU, like in root election operation, but BPDUs are compared immediately as they arrive.)
3. Sender Bridge ID - Lowest switch priority+MAC address is better
4. Sender Port ID - Lowest combination of priority.port_number on sending port is better
5. Receiver Port ID - Lowest combination of priority.port_number on receiving port is better
Appendix (STP cost values):
You can solve ALL the scenarios with these five rules.
If you have any further questions, please feel free to ask!!!
We are pleased to announce availability of Beta software for 16.6.3. 16.6.3 will be the second rebuild on the 16.6 release train targeted towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are looking for early feedback from custome...