194
Figure 179 STP network
As shown in Figure 179, 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.
The spanning tree calculation process is as follows:
4. Device state initialization.
In Table 56, each configura
tion BPDU contains the following fields: root bridge ID, root path cost,
designated bridge ID, and designated port ID.
Table 56 Initial state of each device
Device Port name BPDU of
ort
Device A
AP1 {0, 0, 0, AP1}
AP2 {0, 0, 0, AP2}
Device B
BP1 {1, 0, 1, BP1}
BP2 {1, 0, 1, BP2}
Device C
CP1 {2, 0, 2, CP1}
CP2 {2, 0, 2, CP2}
5. Configuration BPDUs comparison on each device.
In Table 57, each configura
tion BPDU contains the following fields: root bridge ID, root path cost,
designated bridge ID, and designated port ID.