TP-Link TL-SG3216 TL-SG3216 V1 User Guide - Page 79

RSTP Rapid Spanning Tree Protocol, evolved from the 802.1D STP standard, enable Ethernet

Page 79 highlights

z Comparing BPDUs Each switch sends out configuration BPDUs and receives a configuration BPDU on one of its ports from another switch. The following table shows the comparing operations. Step Operation 1 If the priority of the BPDU received on the port is lower than that of the BPDU if of the port itself, the switch discards the BPDU and does not change the BPDU of the port. 2 If the priority of the BPDU is higher than that of the BPDU of the port itself, the switch replaces the BPDU of the port with the received one and compares it with those of other ports on the switch to obtain the one with the highest priority. z Selecting the root bridge Table 7-1 Comparing BPDUs The root bridge is selected by BPDU comparing. The switch with the smallest root ID is chosen as the root bridge. z Selecting the root port and designate port The operation is taken in the following way: Step Operation 1 For each switch (except the one chosen as the root bridge) in a network, the port that receives the BPDU with the highest priority is chosen as the root port of the switch. 2 Using the root port BPDU and the root path cost, the switch generates a designated port BPDU for each of its ports. z Root ID is replaced with that of the root port; z Root path is replaced with the sum of the root path cost of the root port and the path cost between this port and the root port; z The ID of the designated bridge is replaced with that of the switch; z The ID of the designated port is replaced with that of the port. 3 The switch compares the resulting BPDU with the BPDU of the desired port whose role you want to determine. z If the resulting BPDU takes the precedence over the BPDU of the port, the port is chosen as the designated port and the BPDU of this port is replaced with the resulting BPDU. The port regularly sends out the resulting BPDU; z If the BPDU of this port takes the precedence over the resulting BPDU, the BPDU of this port is not replaced and the port is blocked. The port only can receive BPDUs. Table 7-2 Selecting root port and designated port Tips: In a STP with stable topology, only the root port and designated port can forward data, and the other ports are blocked. The blocked ports only can receive BPDUs. RSTP (Rapid Spanning Tree Protocol), evolved from the 802.1D STP standard, enable Ethernet ports to transit their states rapidly. The premises for the port in the RSTP to transit its state rapidly are as follows. 72

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232

z
Comparing BPDUs
Each switch sends out configuration BPDUs and receives a configuration BPDU on one of its ports
from another switch. The following table shows the comparing operations.
Step
Operation
1
If the priority of the BPDU received on the port is lower than that of the BPDU if of
the port itself, the switch discards the BPDU and does not change the BPDU of
the port.
2
If the priority of the BPDU is higher than that of the BPDU of the port itself, the
switch replaces the BPDU of the port with the received one and compares it with
those of other ports on the switch to obtain the one with the highest priority.
Table 7-1 Comparing BPDUs
z
Selecting the root bridge
The root bridge is selected by BPDU comparing. The switch with the smallest root ID is chosen as
the root bridge.
z
Selecting the root port and designate port
The operation is taken in the following way:
Step
Operation
1
For each switch (except the one chosen as the root bridge) in a network, the port
that receives the BPDU with the highest priority is chosen as the root port of the
switch.
2
Using the root port BPDU and the root path cost, the switch generates a
designated port BPDU for each of its ports.
z
Root ID is replaced with that of the root port;
z
Root path is replaced with the sum of the root path cost of the root port and
the path cost between this port and the root port;
z
The ID of the designated bridge is replaced with that of the switch;
z
The ID of the designated port is replaced with that of the port.
3
The switch compares the resulting BPDU with the BPDU of the desired port
whose role you want to determine.
z
If the resulting BPDU takes the precedence over the BPDU of the port, the
port is chosen as the designated port and the BPDU of this port is replaced
with the resulting BPDU. The port regularly sends out the resulting BPDU;
z
If the BPDU of this port takes the precedence over the resulting BPDU, the
BPDU of this port is not replaced and the port is blocked. The port only can
receive BPDUs.
Table 7-2 Selecting root port and designated port
Tips
In a STP with stable topology, only the root port and designated port can forward data, and the
other ports are blocked. The blocked ports only can receive BPDUs.
RSTP (Rapid Spanning Tree Protocol), evolved from the 802.1D STP standard, enable Ethernet
ports to transit their states rapidly. The premises for the port in the RSTP to transit its state rapidly
are as follows.
72