6.8.1 Example for Configuring Basic STP Functions
Networking Requirements
On a complex network, multiple physical links are often deployed between two devices for link
redundancy (one as the active link and the others as standby links). Redundant links may cause
loops on the network, and loops will result in broadcast storms and damage MAC address entries.
STP can be deployed on a network to eliminate loops by blocking redundant ports. As shown
in Figure 6-16, loops exist on the network, and RouterA, SwitchA, SwitchB, SwitchC and
SwitchD are all running STP. These devices exchange BPDUs to discover the loops and block
appropriate ports to trim the ring topology into a loop-free tree topology. The tree topology
prevents infinite looping of packets, which in turn helps improve packet processing performance.
Figure 6-16 Networking diagram of basic STP configurations
RouterA
Eth2/0/1
Network
SwitchA
STP
Blocked port
SwitchB
Root
Bridge
Eth2/0/0
SwitchC
SwitchD
Eth0/0/1
Eth0/0/2
Eth0/0/1
Eth0/0/2
Eth0/0/1
Eth0/0/2
Eth0/0/1
Eth0/0/3
Eth0/0/2
Eth0/0/3
E
t
h
0
/
0
/
4
E
t
h
0
/
0
/
4
E
t
h
0
/
0
/
3
E
t
h
0
/
0
/
3
PC1
PC2
PC3
PC4
Configuration Roadmap
The configuration roadmap is as follows:
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
6 STP/RSTP Configuration
Issue 01 (2014-11-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
212