Brocade Communications Systems 53-1001761-01 Manual De Usuario

Descargar
Página de 164
Converged Enhanced Ethernet Administrator’s Guide
43
53-1001761-01
DRAFT: BROCADE CONFIDENTIAL
Chapter
5
Configuring STP, RSTP, and MSTP using the CEE CLI
In this chapter
STP overview
The IEEE 802.1D Spanning Tree Protocol (STP) runs on bridges and switches that are 
802.1D-compliant. STP prevents loops in the network by providing redundant links. If a primary link 
fails, the backup link is activated and network traffic is not affected. Without STP running on the 
switch or bridge, a link failure can result in a loop. 
When the spanning tree algorithm is run, the network switches transform the real network topology 
into a spanning tree topology in which any LAN in the network can be reached from any other LAN 
through a unique path. The network switches recalculate a new spanning tree topology whenever 
there is a change to the network topology. 
For each LAN, the switches that attach to the LAN choose a designated switch that is the closest 
switch to the root switch. This designated switch is responsible for forwarding all traffic to and from 
the LAN. The port on the designated switch that connects to the LAN is called the designated port. 
The switches decide which of their ports will be part of the spanning tree. A port is included in the 
spanning tree if it is a root port or a designated port. 
With STP, data traffic is allowed only on those ports that are part of the spanning tree topology. 
Ports that are not part of the spanning tree topology are automatically changed to a blocking 
(inactive) state. They are kept in the blocking state until there is a break in the spanning tree 
topology, at which time they are automatically activated to provide a new path. 
The STP interface states for every Layer 2 interface running STP are as follows: 
Blocking—The interface does not forward frames. 
Listening—The interface is identified by the spanning tree as one that should participate in 
frame forwarding. This is a transitional state after the blocking state.
Learning—The interface prepares to participate in frame forwarding. 
Forwarding—The interface forwards frames.