STP/RSTP can be deployed on a network to eliminate loops. If a loop is detected, STP/RSTP
blocks one port to eliminate the loop.
, S1, S2, S3, and S4 form a ring network, and STP/RSTP is enabled on
the ring network to eliminate loops, enhancing reliability of the network.
Figure 7-2
Diagram of a ring network
SwitchA
SwitchC
SwitchB
SwitchD
PC1
PC2
Network
Blocked port
Root
Bridge
NOTE
If the current switching device supports STP and RSTP, RSTP is recommended.
Pre-configuration Tasks
Before configuring basic STP/RSTP functions, complete the following task:
l
Connecting interfaces and setting physical parameters for the interfaces to ensure that the
interfaces are physically Up
Data Preparation
To configure basic STP/RSTP functions, you need the following data.
No.
Data
1
(Optional) Priority of a switching device
2
(Optional) Priority of a port
Huawei AR3200 Series Enterprise Routers
Configuration Guide - LAN
7 STP/RSTP Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
189