How A Switch Or Port Becomes The Root Switch Or Root Port - Cisco Catalyst 3550 series Software Configuration Manual

Multilayer switch
Hide thumbs Also See for Catalyst 3550 series:
Table of Contents

Advertisement

Chapter 16
Configuring STP
A disabled interface performs as follows:

How a Switch or Port Becomes the Root Switch or Root Port

If all switches in a network are enabled with default spanning-tree settings, the switch with the lowest
MAC address becomes the root switch. In
the switch priority of all the switches is set to the default (32768) and Switch A has the lowest MAC
address. However, because of traffic patterns, number of forwarding interfaces, or link types, Switch A
might not be the ideal root switch. By increasing the priority (lowering the numerical value) of the ideal
switch so that it becomes the root switch, you force a spanning-tree recalculation to form a new topology
with the ideal switch as the root.
Figure 16-2 Spanning-Tree Topology
DP
RP = Root Port
DP = Designated Port
When the spanning-tree topology is calculated based on default parameters, the path between source and
destination end stations in a switched network might not be ideal. For instance, connecting higher-speed
links to an interface that has a higher number than the root port can cause a root-port change. The goal
is to make the fastest link the root port.
For example, assume that one port on Switch B is a Gigabit Ethernet link and that another port on
Switch B (a 10/100 link) is the root port. Network traffic might be more efficient over the Gigabit
Ethernet link. By changing the spanning-tree port priority on the Gigabit Ethernet interface to a higher
priority (lower numerical value) than the root port, the Gigabit Ethernet interface becomes the new root
port.
Spanning Tree and Redundant Connectivity
You can create a redundant backbone with spanning tree by connecting two switch interfaces to another
device or to two different devices. Spanning tree automatically disables one interface but enables it if
the other one fails, as shown in
low-speed link is always disabled. If the speeds are the same, the port priority and port ID are added
together, and spanning tree disables the link with the lowest value.
78-11194-09
Discards frames received on the port
Discards frames switched from another interface for forwarding
Does not learn addresses
Does not receive BPDUs
DP
DP
A
RP DP
DP
RP
DP
RP
B
C
Figure
16-2, Switch A is elected as the root switch because
D
DP
Figure
16-3. If one link is high-speed and the other is low-speed, the
Catalyst 3550 Multilayer Switch Software Configuration Guide
Understanding Spanning-Tree Features
16-7

Advertisement

Table of Contents
loading

Table of Contents