D-Link DGS-3200-10 Product Manual - Page 116

D-2004 Rapid Spanning Tree, Port Transition States, Edge Port, P2P Port - 103

Page 116 highlights

xStack® DGS-3200 Series Layer 2 Gigabit Ethernet Managed Switch 802.1D-2004 Rapid Spanning Tree The Switch implements three versions of the Spanning Tree Protocol, the Multiple Spanning Tree Protocol (MSTP) as defined by the IE EE 802.1Q-2005, t he Rapid S panning T ree P rotocol (R STP) as defined by t he IEEE 8 02.1D-2004 specification a nd a version compatible with the IEEE 802.1D-1998 STP. RSTP can operate with legacy equipment implementing IEEE 802.1D-1998; however the advantages of using RSTP will be lost. The I EEE 802 .1D-2004 Rap id Sp anning Tree Pro tocol ( RSTP) evo lved from th e 8 02.1D-1998 STP stand ard. RSTP w as developed in order to overcome som e lim itations of ST P that im pede the function of s ome recent switching innovations, in particular, cert ain Layer 3 fun ctions t hat are i ncreasingly ha ndled by E thernet s witches. The basic function a nd much o f t he terminology is th e same as STP. Mo st of the settin gs configured for STP are also used for RSTP. This section in troduces some new Spanning Tree concepts and illustrates the main differences between the two protocols. Port Transition States An essen tial differen ce between th e t hree protocols is in th e way ports tran sition to a forward ing state an d in th e way th is transition relates to t he role of the port (forwarding or no t forwarding) in the topology. MSTP and RSTP combine the transition states di sabled, bl ocking a nd l istening used i n 802.1D-1998 a nd creat es a si ngle st ate Di scarding. In ei ther case , ports do not forward packets. In the STP port transition states disabled, blocking or listening or in the RSTP/MSTP port state discarding, there is no functional difference, the port is not active in the network topology. Table 7-3 below compares how the three protocols differ regarding the port state transition. All three pro tocols calcu late a stab le topo logy in t he same way. Ev ery segment will have a si ngle path t o t he root bridg e. All bridges listen for BPDU packets. However, BPDU packets are sent more frequently - with every Hello packet. BPDU packets are sent even if a BPDU packet was not received. Therefore, each link between bridges is sensitive to the status of the link. Ultimately this difference results in faster detection of failed links, and thus faster topology adjustment. A drawback of 802.1D-1998 is this absence of immediate feedback from adjacent bridges. 802.1Q-2005 MSTP 802.1D-2004 RSTP 802.1D-1998 STP Forwarding Learning Disabled Disabled Disabled No No Discarding Discarding Blocking No No Discarding Discarding Listening No No Learning Learning Learning No Yes Forwarding Forwarding Forwarding Yes Yes Table 3 - 2. Comparing Port States RSTP is capable of a more rapid transition to a forwarding state - i t no longer relies on timer configurations - RSTP compliant bridges are sensitiv e to feedback from other RSTP co mpliant bridge links. Po rts do not need to w ait for the topology to stabilize before transitioning to a fo rwarding state. In order to allow this rapid transition, the protocol introduces two new variables: the edge port and the point-to-point (P2P) port. Edge Port The edge port is a configurable designation used for a port that is directly connected to a segment where a loop cannot be created. An ex ample wo uld be a port con nected directly to a single workst ation. Ports th at are d esignated as edg e ports tran sition to a forwarding state immediately without going through the listening and learning states. An edge port loses its status if it receives a BPDU packet, immediately becoming a normal spanning tree port. P2P Port A P2P port is also capable of rapid transition. P2P ports may be used to connect to other bridges. Under RSTP/MSTP, all ports operating in full-duplex mode are considered to be P2P ports, unless manually overridden through configuration. 802.1D-1998/802.1D-2004/802.1Q-2005 Compatibility MSTP or RSTP can interoperate with legacy equipment and is capable of automatically adjusting BPDU packets to 802.1D-1998 format wh en necessary. However, an y se gment u sing 80 2.1D-1998 STP will no t benefit from th e rap id tran sition and rap id topology change detection of MSTP or RSTP. The protocol also provides for a variable used for migration in the event that legacy equipment on a segment is updated to use RSTP or MSTP. 103

  • 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
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274
  • 275
  • 276
  • 277
  • 278
  • 279
  • 280
  • 281
  • 282
  • 283
  • 284
  • 285
  • 286
  • 287
  • 288
  • 289
  • 290
  • 291
  • 292
  • 293
  • 294
  • 295
  • 296
  • 297
  • 298
  • 299
  • 300
  • 301
  • 302

xStack
®
DGS-3200 Series Layer 2 Gigabit Ethernet Managed Switch
103
802.1D-2004 Rapid Spanning Tree
The Switch implements three versions of the Spanning Tree Protocol, the Multiple Spanning Tree Protocol (MSTP) as defined by
the IE EE 802.1Q-2005, t he Rapid S panning T ree P rotocol (R STP) as defined by t he IEEE 8 02.1D-2004 specification a nd a
version compatible with the IEEE 802.1D-1998 STP. RSTP can operate with legacy equipment implementing IEEE 802.1D-1998;
however the advantages of using RSTP will be lost.
The I EEE 802 .1D-2004 Rap id Sp anning Tree Pro tocol ( RSTP) evo lved from th e 8 02.1D-1998 STP stand
ard. RSTP w
as
developed in order to overcome som e lim itations of ST P that im pede the function of s ome recent switching innovations, in
particular, cert ain Layer 3 fun ctions t hat are i ncreasingly ha ndled by E thernet s witches. The basic function a nd much o f t he
terminology is th e same as STP. Mo st of the settin gs con figured for STP are also used for RSTP. Th is section in troduces so me
new Spanning Tree concepts and illustrates the main differences between the two protocols.
Port Transition States
An essen tial differen ce between th e t hree protocols is in th
e way ports tran sition to a forward
ing state an
d in th
e way th
is
transition relates to the role of the port (forwarding or not forwarding) in the topology. MSTP and RSTP combine the transition
states di sabled, bl ocking a nd l istening used i n 802.1D-1998 a nd creat es a si ngle st ate Di scarding. In ei ther case , ports do not
forward packets. In the STP port transition states disabled, blocking or listening or in the RSTP/MSTP port state discarding, there
is no functional difference, the port is not active in the network topology. Table 7-3 below compares how the three protocols differ
regarding the port state transition.
All three pro tocols calcu late a stab le topo logy in t he same way. Ev ery segment will have a si ngle path t o t he root bridg e. All
bridges listen for BPDU packets. However, BPDU packets are sent more frequently - with every Hello packet. BPDU packets are
sent even if a BPDU packet was not received. Therefore, each link between bridges is sensitive to the status of the link. Ultimately
this difference results in faster detection of failed links, and thus faster topology adjustment. A drawback of 802.1D-1998 is this
absence of immediate feedback from adjacent bridges.
802.1Q-2005 MSTP
802.1D-2004 RSTP
802.1D-1998 STP
Forwarding
Learning
Disabled
Disabled
Disabled
No
No
Discarding
Discarding
Blocking
No
No
Discarding
Discarding
Listening
No
No
Learning
Learning
Learning
No
Yes
Forwarding
Forwarding
Forwarding
Yes
Yes
Table 3 - 2. Comparing Port States
RSTP is capable of a more rapid transition to a forwarding state - it no longer relies on timer configurations - RSTP compliant
bridges are sensitive to feedback from other RSTP compliant bridge links. Ports do not need to wait for the topology to stabilize
before transitioning to a fo rwarding state.
In order to allow this rapid transition, the protocol introduces two new variables: the
edge port and the point-to-point (P2P) port.
Edge Port
The edge port is a configurable designation used for a port that is directly connected to a segment where a loop cannot be created.
An ex ample wo uld be a port con nected directly to a single workst ation. Ports th at are d esignated as edg e ports tran sition to a
forwarding state immediately without going through the listening and learning states. An edge port loses its status if it receives a
BPDU packet, immediately becoming a normal spanning tree port.
P2P Port
A P2P port is also capable of rapid transition. P2P ports may be used to connect to other bridges. Under RSTP/MSTP, all ports
operating in full-duplex mode are considered to be P2P ports, unless manually overridden through configuration.
802.1D-1998/802.1D-2004/802.1Q-2005 Compatibility
MSTP or RSTP can interoperate with legacy equipment and is capable of automatically adjusting BPDU packets to 802.1D-1998
format wh en necessary. However, an y se gment u sing 80 2.1D-1998 STP will no t benefit from th e rap id tran sition and rap id
topology change detection of MSTP or RSTP. The protocol also provides for a variable used for migration in the event that legacy
equipment on a segment is updated to use RSTP or MSTP.