H3C S3600V2 SERIES Layer 2-Lan Switching Configuration Manual page 79

Hide thumbs Also See for S3600V2 SERIES:
Table of Contents

Advertisement

Table 10 Selection of the optimum configuration BPDU
Step
Actions
Upon receiving a configuration BPDU on a port, the device compares the priority of the received
configuration BPDU with that of the configuration BPDU generated by the port, and:
If the former priority is lower, the device discards the received configuration BPDU and keeps
1
the configuration BPDU the port generated.
If the former priority is higher, the device replaces the content of the configuration BPDU
generated by the port with the content of the received configuration BPDU.
The device compares the configuration BPDUs of all the ports and chooses the optimum
2
configuration BPDU.
The following are the principles of configuration BPDU comparison:
The configuration BPDU with the lowest root bridge ID has the highest priority.
If configuration BPDUs have the same root bridge ID, their root path costs are compared. For
example, 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
that contains the smallest ID wins.
A tree-shape topology forms when the root bridge, root ports, and designated ports are selected.
Figure 20
describes with an example how the STP algorithm works. This example shows a simplified
spanning tree calculation process.
Figure 20 The STP algorithm
Device A
Priority = 0
Port A1
Port B1
Port B2
Path cost = 4
Device B
Priority = 1
As shown in
Figure
20, the priority values of Device A, Device B, and Device C are 0, 1, and 2, and the
path costs of links among the three devices are 5, 10, and 4, respectively.
Initial state of each device
4.
Table 11 Initial state of each device
Device
Device A
Port A2
Port C1
Port C2
Device C
Priority = 2
Port name
Port A1
64
Configuration BPDU on the port
{0, 0, 0, Port A1}

Advertisement

Table of Contents
loading

Table of Contents