
v
Setting the loop protection action on a Layer 2 Ethernet interface or S-channel interface····················166
Setting the loop protection action on a Layer 2 aggregate interface or S-channel aggregate interface 166
Setting the loop detection interval··················································································································167
Displaying and maintaining loop detection·····································································································167
Loop detection configuration example ···········································································································167
Network requirements····························································································································167
Configuration procedure·························································································································168
Verifying the configuration······················································································································169
Configuring spanning tree protocols···························································170
STP································································································································································170
STP protocol frames ······························································································································170
Basic concepts in STP···························································································································172
Calculation process of the STP algorithm······························································································173
RSTP ·····························································································································································179
RSTP protocol frames····························································································································179
Basic concepts in RSTP·························································································································179
How RSTP works···································································································································180
RSTP BPDU processing························································································································180
PVST······························································································································································181
PVST protocol frames····························································································································181
Basic concepts in PVST·························································································································182
How PVST works···································································································································182
MSTP·····························································································································································182
MSTP features·······································································································································182
MSTP protocol frames ···························································································································183
MSTP basic concepts ····························································································································184
How MSTP works···································································································································187
MSTP implementation on devices··········································································································188
Rapid transition mechanism···················································································································188
Protocols and standards ································································································································190
Configuration restrictions and guidelines·······································································································191
Spanning tree configuration task lists ············································································································191
STP configuration task list······················································································································191
RSTP configuration task list···················································································································192
PVST configuration task list···················································································································193
MSTP configuration task list···················································································································193
Setting the spanning tree mode·····················································································································194
Configuring an MST region····························································································································195
Configuring the root bridge or a secondary root bridge ·················································································196
Configuring the device as the root bridge of a specific spanning tree····················································196
Configuring the device as a secondary root bridge of a specific spanning tree·····································196
Configuring the device priority ·······················································································································197
Configuring the maximum hops of an MST region·························································································197
Configuring the network diameter of a switched network ··············································································198
Setting spanning tree timers ··························································································································198
Configuration restrictions and guidelines·······························································································199
Configuration procedure·························································································································199
Setting the timeout factor·······························································································································199
Configuring the BPDU transmission rate ·······································································································200
Configuring edge ports···································································································································200
Configuration restrictions and guidelines·······························································································200
Configuration procedure·························································································································201
Configuring path costs of ports ······················································································································201
Specifying a standard for the device to use when it calculates the default path cost ····························201
Configuring path costs of ports ··············································································································203
Configuration example···························································································································204
Configuring the port priority····························································································································204
Configuring the port link type ·························································································································205
Configuration restrictions and guidelines·······························································································205
Configuration procedure·························································································································205
Configuring the mode a port uses to recognize and send MSTP frames ······················································205