6.1 Introduction to STP/RSTP..........................................................................................................................................162
6.2 Principles....................................................................................................................................................................163
6.2.1 Background..............................................................................................................................................................163
6.2.2 Basic Concepts........................................................................................................................................................164
6.2.3 BPDU Format..........................................................................................................................................................171
6.2.4 STP Topology Calculation......................................................................................................................................173
6.2.5 Improvements in RSTP...........................................................................................................................................180
6.2.6 RSTP Technology Details.......................................................................................................................................185
6.3 Application.................................................................................................................................................................187
6.4 Configuration Task Summary....................................................................................................................................188
6.5 Default Configuration.................................................................................................................................................189
6.6 Configuring STP/RSTP..............................................................................................................................................190
6.6.1 Configuring Basic STP/RSTP Functions................................................................................................................190
6.6.1.1 Configuring the STP/RSTP Mode........................................................................................................................190
6.6.1.2 (Optional) Configuring the Root Bridge and Secondary Root Bridge.................................................................190
6.6.1.3 (Optional) Setting a Priority for a Switching Device...........................................................................................191
6.6.1.4 (Optional) Setting a Path Cost for a Port..............................................................................................................192
6.6.1.5 (Optional) Setting a Priority for a Port.................................................................................................................193
6.6.1.6 Enabling STP/RSTP.............................................................................................................................................194
6.6.1.7 Checking the Configuration..................................................................................................................................195
6.6.2 Setting STP Parameters that Affect STP Convergence...........................................................................................195
6.6.2.1 Setting the STP Network Diameter......................................................................................................................195
6.6.2.2 Setting the STP Timeout Interval.........................................................................................................................196
6.6.2.3 Setting the STP Timers.........................................................................................................................................196
6.6.2.4 Setting the Maximum Number of Connections in an Eth-Trunk that Affects Spanning Tree Calculation..........198
6.6.2.5 Checking the Configuration..................................................................................................................................199
6.6.3 Setting RSTP Parameters that Affect RSTP Convergence......................................................................................199
6.6.3.1 Setting the RSTP Network Diameter....................................................................................................................199
6.6.3.2 Setting the RSTP Timeout Interval......................................................................................................................200
6.6.3.3 Setting RSTP Timers............................................................................................................................................201
6.6.3.4 Setting the Maximum Number of Connections in an Eth-Trunk that Affects Spanning Tree Calculation..........202
6.6.3.5 Setting the Link Type for a Port...........................................................................................................................203
6.6.3.6 Setting the Maximum Transmission Rate of an Interface....................................................................................204
6.6.3.7 Switching to the RSTP Mode...............................................................................................................................204
6.6.3.8 Configuring Edge Ports and BPDU Filter Ports...................................................................................................205
6.6.3.9 Checking the Configuration..................................................................................................................................207
6.6.4 Configuring RSTP Protection Functions.................................................................................................................207
6.6.4.1 Configuring BPDU Protection on a Switching Device........................................................................................207
6.6.4.2 Configuring TC Protection on a Switching Device..............................................................................................208
6.6.4.3 Configuring Root Protection on a Port.................................................................................................................208
6.6.4.4 Configuring Loop Protection on a Port................................................................................................................208
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
Contents
Issue 01 (2014-11-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
ix