H3C S5120-SI Series Configuration Manual page 170

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

Step
Based on the configuration BPDU and the path cost of the root port, the device
calculates a designated port configuration BPDU for each of the rest ports.
The root bridge ID is replaced with that of the configuration BPDU of the root port.
2
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.
The device compares the calculated configuration BPDU with the configuration BPDU
on the port of which the port role is to be defined, and acts depending on the comparison
result:
If the calculated configuration BPDU is superior, the device considers this port as the
3
designated port, and replaces the configuration BPDU on the port with the calculated
configuration BPDU, which will be sent out periodically.
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 not send
BPDUs or forward data.
When the network topology is stable, only the root port and designated ports forward traffic, while other
ports are all in the blocked state – they receive BPDUs but do not forward BPDUs or user traffic.
A tree-shape topology forms upon successful election of the root bridge, the root port on each non-root
bridge and the designated ports.
The following is an example of how the STP algorithm works. As shown in
priority of Device A is 0, the priority of Device B is 1, the priority of Device C is 2, and the path costs of
these links are 5, 10 and 4 respectively.
Figure 1-2 Network diagram for the STP algorithm
Device A
With priority 0
AP1
AP2
5
10
BP1
BP2
4
Device B
With priority 1
Initial state of each device
Table 1-4
shows the initial state of each device.
CP1
CP2
Device C
With priority 2
1-5
Description
Figure
1-2, assume that the

Advertisement

Chapters

Table of Contents
loading

Table of Contents