The STP has been long and attached to LAN (Local Area Network) in multiple ambiances. It is very much need in environments, where 2 layer of multiple path subsist between variety of layers of two devices within the Local Area Network. All the ports which are connected to the device pass through the number of unlike states (Port States) that allocates STP sufficient time to establish the status in network and at the last stage port has to be fixed.
The main purpose for STP operation is to stop switches loop all over the Local Area Network. It is done through control of redundant link which connects to the same segment of network. Each segment of network is allocated with signal designated port which is used to forward traffic into it. All segments on access point are enabled but in all blocking state it disallows flowing of traffic. If there is any failure in the forwarding port, access point of network segment is allowed through blocking port transitioned in the forwarding state. The process of transition includes number of states, which are shown below:
STP Port States
Every Port starts blocking the states when STP Ports seeks to switch to the environment, once the ports are in forward state it is completely operational and it starts to forward frames. The major drawback is that it can be used in any network in modern state, because it takes long time to transit from blocking state to forwarding state. All the major issues are addressed through RSTP (Rapid Spanning Tree Protocol); most of the recent switching environments operate through RSTP over STP for evident reason.