What is Spanning Tree Protocol (STP)?
A protocol (IEEE 802.1D) that, in a network where switches are connected with redundant paths, logically blocks some ports so that the paths form a loop-free tree, preventing broadcast storms. If a path in use fails, it switches over by using a port that was blocked. RSTP (Rapid Spanning Tree Protocol) is an improved version that switches over faster.
Japanese name: スパニングツリープロトコル(STP)
Spanning Tree Protocol (STP) appears in 5 practice questions across 1 topic, including Network Design and Operations.
Field: Network Design and Operations
FAQ
With STP, is there no need to worry about loops?
STP prevents loops formed between switches that exchange BPDUs, but not loops formed through ports where STP is disabled or through equipment that does not handle BPDUs. It is common to combine it with a feature that shuts down an edge port when it receives a BPDU and with limits on the amount of broadcast traffic.
Aren't the links blocked by STP wasted?
With a single tree, blocked links are on standby and normally carry no traffic. To use their bandwidth as well, networks use link aggregation, which bundles several links into one (STP sees it as a single link), MSTP, which builds a separate tree per VLAN group, or designs that route at layer 3.