
FL SWITCH MM HS(Rapid) Spanning Tree
6874_en_16
PHOENIX CONTACT
5-21
There is only ever one root port per switch.
Exception: The switch supports several Spanning Tree domains.
Designated ports
Ports in the forwarding state of the designated switch.
These are the ports with the "best" path to the root switch.
Switch ID
Priority and
MAC address
The switch with the lowest bridge identifier is the root switch. The bridge identifier consists
of the MAC address and the priority. Since the priority appears before the MAC address, the
assignment of the appropriate priority clearly identifies the root switch, independent of the
MAC address. The switch with the highest priority (lowest value) becomes the root switch.
For every switch port within the network, a unique cost calculation is created. These root
path costs are the sum of all path costs for one packet on the path between the root switch
and corresponding switch port. The port of a switch with the lowest root path costs is always
the active port. If the same root path costs have been calculated for two or more ports, the
switch priority followed by the port priority determine the priority of the path.
Port ID
The port identifier consists of the path costs and the priority. Since the priority appears
before the path costs, the assignment of the appropriate priority clearly identifies the root
port, independent of the path costs. The port with the highest priority (lowest value)
becomes the root port.
5.2.5.5
Processes in the Spanning Tree Protocol (STP)
Selecting the root switch
On every topology modification, each switch first assumes that it is the root switch and thus
sends its own switch ID (e.g., the MAC address) into the network. All switches receive these
messages (MAC multicast) and store the contents of the "best" message. The "best"
message consists of the following topology information: the root ID information and the cost
information.
Having received the root ID information, the switch compares the following:
–
The new root ID is saved if it has a higher priority than the IDs that are already saved
(including its own ID).
–
The path costs are checked if the root ID is the same as the one already saved. If they
are lower, the ID is saved.
–
If the root ID and the costs are the same, the ID of the sender is checked. If the ID is
lower than the switch's own ID, it is saved.
–
If the root ID, costs, and sender ID are the same, the priority of the sender port is the
decisive criterion.
Selecting a designated switch
For every network the switch with the most favorable root connection is selected, this switch
is called the designated switch.
The root switch is the designated switch for all directly connected networks.
RSPSupply - 1-888-532-2706 - www.RSPSupply.com
http://www.RSPSupply.com/p-14178-Phoenix-Contact-2832357-FL-IF-2TX-VS-RJ-D-Media-Module-for-Modular-Switch.aspx