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
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.
Data Preparation
To complete the configuration, you need the following data:
l
Region name RG1
l
MSTIs, MSTI 1 and MSTI 2
l
Ethernet interface numbers shown in
l
Primary and secondary root bridges of MSTI 1 (RouterA and SwitchA respectively) and
primary and secondary root bridges of MSTI 2 (RouterA and SwitchB respectively)
l
Path costs of the ports to be blocked (2000000)
l
VLAN IDs (2 to 20)
l
VLAN to which PC1 and PC2 belongs (VLAN 10), VLAN to which PC3 and PC4 belongs
(VLAN 20)
l
Add interfaces on SwitchC to VLAN (2 to 10). Add interfaces on SwitchD to VLAN (11
to 20). Add interfaces on other switching devices to VLAN (2 to 20)
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.
Huawei AR3200 Series Enterprise Routers
Configuration Guide - LAN
8 MSTP Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
258