Broadcast storms are Layer 2 switching loops can cause serious problem to network communication. One of the basic functions of a network switch is to eliminate Layer 2 switching loops.
The function of Spanning Tree Protocol (STP) is to prevent Layer 2 switching loop and broadcast storms in a Local Area Network (LAN). The Spanning Tree Protocol (STP) allows redundant links in a network to prevent complete network failure if an active link fails, without the danger of Layer 2 Switching loops.
Spanning Tree Protocol (STP) was developed by DEC (Digital Equipment Corporation, now part of HP). The Spanning Tree Protocol (STP) was then standardized by IEEE as IEEE 802.1D. The two implementations of Spanning Tree Protocol (STP) are not compatible with each other. Cisco switches support IEEE 802.1D Spanning Tree Protocol (STP) implementation.