Based on the location of the root bridge, theother switches determine which of their ports has the lowest path cost to the root bridge. These ports are called root ports, and each switch (other than the current root bridge) must have one.
STP stand for Spaning Tree Protocol. It's used to avoid the L2 loop in the network. many factor are belong to STP. such as Root Switch, BPDU, Root Port, Forward port, blocking port.
STP (Spanning Tree Protocol) is still referred to as STP. However, there are newer variations of STP such as Rapid Spanning Tree Protocol (RSTP) and Multiple Spanning Tree Protocol (MSTP).
Spanning-Tree Protocol (STP)
A spanning tree protocol, or STP, is characteristic to a LAN. It provides a loop-free topology for networks within the system.
root primary
The switch is receiving BPDUs and populating the MAC address table, but not sending data.
Designated
STP (Spanning Tree Protocol)
d. A broadcast storm
Spanning tree protocol
Allows for redundant links by eliminating loops.
the disadvantage os stp that it is time consuming.