S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
8-2
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 8 Configuring Rapid PVST+
Information About Rapid PVST+
Understanding STP
RSTP, Rapid PVST+, and MST are all extensions of the original IEEE 802.1D STP (see
Chapter 9,
“Configuring MST”
for complete information on MST). STP is a Layer 2 loop prevention protocol that
provides path redundancy while preventing undesirable loops in the network.
This section provides a basic understanding of STP in the following topics:
•
Overview, page 8-2
•
Understanding How a Topology is Created, page 8-2
•
Understanding the Bridge ID, page 8-3
•
Understanding BPDUs, page 8-4
•
Election of the Root Bridge, page 8-5
•
Creating the Spanning Tree Topology, page 8-5
Overview
For an Ethernet network to function properly, only one active path can exist between any two stations.
STP operation is transparent to end stations, which cannot detect whether they are connected to a single
LAN segment or a switched LAN of multiple segments.
When you create fault-tolerant internetworks, you must have a loop-free path between all nodes in a
network. The STP algorithm calculates the best loop-free path throughout a switched network. LAN
ports send and receive STP frames, which are called Bridge Protocol Data Units (BPDUs), at regular
intervals. Switches do not forward these frames, but use the frames to construct a loop-free path.
Multiple active paths between end stations cause loops in the network. If a loop exists in the network,
end stations might receive duplicate messages and switches might learn end station MAC addresses on
multiple LAN ports. These conditions result in a broadcast storm, which creates an unstable network.
STP defines a tree with a root bridge and a loop-free path from the root to all switches in the network.
STP forces redundant data paths into a blocked state. If a network segment in the spanning tree fails and
a redundant path exists, the STP algorithm recalculates the spanning tree topology and activates the
blocked path.
When two LAN ports on a switch are part of a loop, the STP port priority and port path cost setting
determine which port on the switch is put in the forwarding state and which port is put in the blocking
state.
Understanding How a Topology is Created
All switches in an extended LAN that participate in a spanning tree gather information about other
switches in the network by exchanging of BPDUs. This exchange of BPDUs results in the following
actions:
•
The system elects a unique root switch for the spanning tree network topology.
•
The system elects a designated switch for each LAN segment.
•
The system eliminates any loops in the switched network by placing redundant interfaces in a
backup state; all paths that are not needed to reach the root switch from anywhere in the switched
network are placed in an STP-blocked state.
The topology on an active switched network is determined by the following:
Summary of Contents for N5010P-N2K-BE
Page 50: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 102: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 240: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 312: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 400: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 418: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 436: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 658: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...