We can use the feature called PortFast to speed up convergence on ports which are connected to a workstation or a server (which will not cause layer 2 loops). PortFast feature should be used only to connect a single workstation to a switch port to avoid layer 2 switching loop. Spanning-tree PortFast feature causes a port to enter the forwarding state immediately, bypassing the listening and learning states.
When Spanning Tree Protocol (STP) is running, PortFast ports on the same switch can forward traffic between each other, but need to wait for Spanning Tree Convergence to communicate with a port on which the PortFast feature is disabled (normally a port connected to another switch).