16-4
Catalyst 2960 and 2960-S Switch Software Configuration Guide
OL-8603-09
Chapter 16 Configuring STP
Understanding Spanning-Tree Features
Only one outgoing port on the stack root switch is selected as the root port. The remaining switches
in the stack become its designated switches (Switch 2 and Switch 3) as shown in Figure 16-1 on
page 16-4.
The shortest distance to the root switch is calculated for e ach switch based on the path cost.
A designated switch for each LAN segment is selected. The designated switch incurs the lowest path
cost when forwarding packets from that LAN to the root switch. The port through which the
designated switch is attached to the LAN is called the designated port.
Figure 16-1 Spanning-Tree Port States in a Switch Stack
All paths that are not needed to reach the root switch from anywhere in the switched network are placed
in the spanning-tree blocking mode.
Bridge ID, Switch Priority, and Extended System ID
The IEEE 802.1D standard requires that each switch has an un ique bridge identifier (bridge ID), which
controls the selection of the root switch. Because each VLAN is considered as a different logical bridge
with PVST+ and rapid PVST+, the same switch must have a different bridge IDs for each configured
VLAN. Each VLAN on the switch has a unique 8-byte bridge ID. The 2 most- significant bytes are used
for the switch priority, and the remaining 6 bytes are derived from the switch MAC address.
Switch 1
Catalyst 3750 switch stack
DP Outgoing RP
Switch 2
RPStackWise
port
connections
BP
DP
Switch 3
Switch A
Switch B
RP
DP Spanning-tree root
RPDP
RP = root port
DP = designated port
BP = blocked port
86491