Configuration Roadmap
The configuration roadmap is as follows:
1.
Configure basic MSTP functions, including:
a.
Configure the MSTP mode for the ring network.
b.
Configure an MST region and create multiple MSTIs to implement load balancing.
c.
In the MST region, configure a primary root bridge and a secondary root bridge for
each MSTI.
d.
Set path costs for ports to be blocked in each MSTI.
e.
Enable MSTP to eliminate loops, including:
l
Enable MSTP globally.
l
Disable MSTP on the interfaces that connected to terminals, or configure those
interfaces as edge ports.
l
Enable MSTP on all the interfaces except the interfaces connected to terminals.
NOTE
MSTP is not required on the interfaces connected to terminals because these interfaces do not
need to participate in MSTP calculation.
2.
Configure MSTP protection functions, for example, configure root protection on a
designated port of a root bridge in each MSTI.
3.
Configure the Layer 2 forwarding function on devices.
Procedure
Step 1
Configure basic MSTP functions.
1.
Configure the MSTP mode for the devices on the ring network.
# Configure the MSTP mode on RouterA.
<Huawei>
system-view
[Huawei]
sysname RouterA
[RouterA]
stp mode mstp
# Configure the MSTP mode on SwitchA, SwitchB, SwitchC and SwitchD.
2.
Add all devices to MST region RG1, and create two MSTIs. MSTI1 maps to VLAN (2 to
10), and MSTI2 maps to VLAN (11 to 20).
# Configure RouterA to MST region.
[RouterA]
stp region-configuration
[RouterA-mst-region]
region-name RG1
[RouterA-mst-region]
instance 1 vlan 2 to 10
[RouterA-mst-region]
instance 2 vlan 11 to 20
[RouterA-mst-region]
active region-configuration
[RouterA]
quit
# Configure SwitchA, SwitchB, SwitchC and SwitchD to MST region RG1, and create two
MSTIs. MSTI1 maps to VLAN (2 to 10), and MSTI2 maps to VLAN (11 to 20).
3.
In RG1, configure primary and secondary root bridges for MSTI1 and MSTI2.
# Configure primary root bridge on RouterA in MSTI1.
[RouterA]
stp instance 1 root primary
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
7 MSTP Configuration
Issue 01 (2014-11-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
268