180
NOTE:
The following are the principles of configuration BPDU comparison:
The configuration BPDU with the lowest root bridge ID has the highest priority.
If the configuration BPDUs have the same root bridge ID, their root path costs are compared. Assume
that the root path cost in a configuration BPDU plus the path cost of a receiving port is S. The
configuration BPDU with the smallest S value has the highest priority.
If all configuration BPDUs have the same ports value, their designated bridge IDs, designated port IDs,
and the IDs of the receiving ports are compared in sequence. The configuration BPDU containing a
smaller ID wins out.
Selection of the root bridge
Initially, each STP-enabled device on the network assumes itself to be the root bridge, with the root bridge
ID being its own device ID. By exchanging configuration BPDUs, the devices compare their root bridge IDs
to elect the device with the smallest root bridge ID as the root bridge.
Selection of the root port and designated ports on a non-root device
2.
Selection of the root port and designated ports
Step
Description
1
A non-root device regards the port on which it received the optimum configuration BPDU as the
root port.
2
Based on the configuration BPDU and the path cost of the root port, the device calculates a
designated port configuration BPDU for each of its other ports.
The root bridge ID is replaced with that of the configuration BPDU of the root port.
The root path cost is replaced with that of the configuration BPDU of the root port plus the path
cost of the root port.
The designated bridge ID is replaced with the ID of this device.
The designated port ID is replaced with the ID of this port.
3
The device compares the calculated configuration BPDU with the configuration BPDU on the port
whose port role is to be determined:
If the calculated configuration BPDU is superior, the device considers this port as the
designated port, replaces the configuration BPDU on the port with the calculated configuration
BPDU, and periodically sends out the calculated configuration BPDU.
If the configuration BPDU on the port is superior, the device blocks this port without updating
its configuration BPDU. The blocked port can receive BPDUs, but cannot send BPDUs or
forward data.
NOTE:
When the network topology is stable, only the root port and designated ports forward traffic, while other
ports are all in the blocked state to receive BPDUs but not to forward BPDUs or user traffic.
A tree-shape topology forms when the root bridge, root ports, and designated ports are selected.
The following describes how the STP algorithm works.
Содержание V1910
Страница 1: ...1 HP V1910 Switch Series User Guide 5998 2238 Part number 5998 2238 Document version 2 ...
Страница 85: ...73 c Display the rate settings of ports ...
Страница 102: ...90 a Port traffic statistics ...
Страница 186: ...174 a The MAC tab Click Add in the bottom to enter the page as shown in b b Create a MAC address entry ...
Страница 252: ...240 b The Port Setup tab ...
Страница 260: ...248 d The Port Setup tab ...
Страница 362: ...350 a Ping operation summary ...
Страница 421: ...409 c Configure authorized IP ...
Страница 479: ...467 Index A B C D E F G H I L M O P Q R S T V W ...