background image
Virtual LANs 171
Spanning-Tree Protocol Summary
Spanning Trees accomplish the goals of allowing physical redundancy, but with only one
currently active path through a bridged network. Spanning Tree uses the following features to
accomplish the goal:
·
All bridge interfaces eventually stabilize at either a forwarding state or a blocking state.
The forwarding interfaces are considered to be a part of the Spanning Tree.
·
One of the bridges is elected as root. The process includes all bridges claiming to be root,
until one is considered best by all. All root bridge interfaces are in forwarding state.
·
Each bridge receives CBPDUs from the root, either directly or forwarded by some other
bridge. Each bridge can receive more than one such message on its interfaces, but the port
in which the least-cost CBPDU is received is called the root port of a bridge, and that port
is placed in forwarding state.
·
For each LAN segment, one bridge sends the forwarded CBPDU with the lowest cost.
That bridge is the designated bridge for that segment. That bridge's interface on that
segment is placed in forwarding state.
·
All other interfaces are placed in blocking state.
·
The root sends CBPDUs every Hello time seconds. The other bridges expect to receive
copies of these CBPDUs so that they know that nothing has changed. Hello time is defined
in the CBPDU itself, so all bridges use the same value.
·
If a bridge does not receive a CBPDU for MaxAge time, it begins the process of causing
the Spanning Tree to change. The reaction can vary from topology to topology. (MaxAge
is defined in the CBPDU itself, so all bridges use the same value.)
·
One or more bridges decide to change interfaces from blocking to forwarding or vice
versa, depending on the change in the network. If moving from blocking to forwarding,
the interim listening state is entered first. After Forward Delay time (another timer defined
in the root CBPDU), the state is changed to learning. After another Forward Delay time,
the interface is placed in forwarding state.
·
The Spanning-Tree Protocol includes these delays to help ensure that no temporary loops
occur.
Virtual LANs
A virtual LAN (VLAN) is a broadcast domain created by one or more switches. (Cisco expects
CCNAs to have a solid command of VLAN concepts.) The VLAN is created via configuration
in the switch, or possibly configuration referred to by the switch but residing in some external
server (for example, using VLAN Membership Policy Server [VMPS]). If a design calls for
ch04.fm Page 171 Monday, March 20, 2000 5:02 PM