Designated Port vs Blocking Port in STP
Q: What is the difference between a designated port and a blocking port in STP?
- Spanning Tree Protocol
- Junior level question
Explore all the latest Spanning Tree Protocol interview questions and answers
ExploreMost Recent & up-to date
100% Actual interview focused
Create Spanning Tree Protocol interview for FREE!
In Spanning Tree Protocol (STP), the distinction between a designated port and a blocking port is crucial for preventing loops in a network.
A designated port is the one port on a network segment that has been selected to forward traffic towards the root bridge for that segment. It is the port with the lowest path cost to the root bridge, and it allows data to flow freely, ensuring proper communication within the network. For example, if we have three switches, and switch A is the root bridge, the designated port on the segment connecting switch A to switch B would handle the traffic moving towards the root.
In contrast, a blocking port does not forward traffic; its primary purpose is to act as a safeguard against potential loops in the network. It does not make any data frames pass through, effectively preventing loops by blocking certain paths. For instance, if there are two paths between switch B and switch C due to redundancy, STP will designate one of the paths as the forwarding path (designated port) and the other as the blocking port.
In essence, the designated port actively participates in data transmission, while the blocking port remains inactive in avoiding loops, both working together to maintain a stable and efficient network topology.
A designated port is the one port on a network segment that has been selected to forward traffic towards the root bridge for that segment. It is the port with the lowest path cost to the root bridge, and it allows data to flow freely, ensuring proper communication within the network. For example, if we have three switches, and switch A is the root bridge, the designated port on the segment connecting switch A to switch B would handle the traffic moving towards the root.
In contrast, a blocking port does not forward traffic; its primary purpose is to act as a safeguard against potential loops in the network. It does not make any data frames pass through, effectively preventing loops by blocking certain paths. For instance, if there are two paths between switch B and switch C due to redundancy, STP will designate one of the paths as the forwarding path (designated port) and the other as the blocking port.
In essence, the designated port actively participates in data transmission, while the blocking port remains inactive in avoiding loops, both working together to maintain a stable and efficient network topology.


