STP port states
Blocking: receives BPDUs only. No data, no MAC learning. Up to 20s (max age).Listening: sends and receives BPDUs, still no MAC learning. 15s.Learning: builds the MAC table but still does not forward data. 15s.Forwarding: normal operation.Disabled: the port is shut down by an admin.
Classic STP can take up to 50s to converge (20 + 15 + 15). Rapid PVST+ (802.1w) takes a few seconds.