WIA2008 Advanced Network Technology: Spanning Tree Protocol (STP)
WIA2008 Advanced Network Technology: Spanning Tree Protocol (STP)
WIA2008 Advanced Network Technology: Spanning Tree Protocol (STP)
Chapter 1
Spanning Tree Protocol (STP)
Contents
Introduction
Spanning Tree Protocol
STP Operation
Evolution of STP
STP Configuration
Introduction
A well-designed Layer 2 network will have redundant
switches and paths to ensure that if one switch goes
down, another path to a different switch is available to
forward data. Users of the network would not experience
any disruption of service.
Redundant links can also share the traffic load and
increase capacity.
Redundant devices, such as multilayer switches or
routers, provide the capability for a client to use an
alternate default gateway should the primary default
gateway fail.
Introduction
Redundancy in a hierarchical network design fixes the
problem of a single point of failure, yet it can create a
different kind of problem called Layer 2 loops.
Ethernet LANs require a loop-free topology with a single
path between any two devices.
Spanning Tree Protocol (STP) is a loop-prevention
network protocol that allows for redundancy while
creating a loop-free Layer 2 topology.
IEEE 802.1D is the original IEEE MAC Bridging standard
for STP.
Spanning Tree Protocol
Without STP enabled, Layer 2 loops can form, causing
broadcast, multicast and unknown unicast frames to loop
endlessly. This can bring down a network within a very
short amount of time, sometimes in just a few seconds.
Unknown unicast frames sent onto a looped network can
result in duplicate frames arriving at the destination
device.
When a loop occurs, the MAC address table on a switch
will constantly change with the updates from the
broadcast frames, which results in MAC database
instability. This can cause high CPU utilization, which
makes the switch unable to forward frames.
Spanning Tree Protocol
A Layer 2 loop can result in three primary issues
MAC Database Instability
Broadcast Storm