Stp Configuration - Cisco Catalyst 2000 Configuration Handbook

Catalyst series lan switching
Table of Contents

Advertisement

116 Cisco LAN Switching Configuration Handbook
Root Path Cost = 0+19
32768:00-00-00-00-00-0b
Figure 7-1 Network Diagram for the STP Operation Example
The designated ports are chosen: By definition, all ports on the root bridge become
3.
designated ports for their segments. Therefore, ports 1/1 and 1/2 on Catalyst A are
designated. Catalyst B port 1/2 and Catalyst C port 1/2 share a segment, requiring
that one of them become designated. The root path cost for each of these ports is
0+19+19 or 38, resulting in a tie. The lowest-sending BID breaks the tie, so Catalyst
B (having the lowest MAC address of the two) port 1/2 becomes the designated
port.
All ports that are neither root nor designated ports are put in the blocking state:
4.
The only remaining port that is neither root nor designated is Catalyst C port 1/2.
This port is moved to the blocking state (as shown by the X in the figure).

7-2: STP Configuration

(Optional) Enable or disable STP:
1.
(global) [no] spanning-tree [vlan vlan]
STP is enabled by default on VLAN 1 and any newly created VLANs. Without a
specified VLAN, STP is enabled or disabled on all VLANs. Be aware that if STP is
disabled, bridging loops are not detected and prevented. You should always enable
STP.
(Optional) Set the STP mode for the switch:
2.
spanning-tree mode {pvst | mst | rapid-pvst}
DP
F
19
F
RP
1/1
DP
1/2
Catalyst B
Root Path Cost =
0+19+19
Catalyst A
32768:00-00-00-00-00-0a
1/1
1/2
F
19
19
X
1/2
F
Root Path Cost =
32768:00-00-00-00-00-0c
Root
Bridge
DP
F
Root Path Cost = 0+19
RP
1/1
Catalyst C
0+19+19

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents