Configuring Basic MSTP Functions

Multiple Spanning Tree Protocol (MSTP) based on the basic STP/Rapid Spanning Tree Protocol (RSTP) function divides a switching network into multiple regions, each of which has multiple spanning trees that are independent of each other. MSTP isolates user traffic and service traffic, and load-balances VLAN traffic.

Applicable Environment

On a complex network, loops are inevitable. With the requirement for network redundancy backup, network designers tend to deploy multiple physical links between two devices, one of which is the master and the others are the backup. Loops are likely or bound to occur in such a situation. Loops will cause broadcast storms, thereby exhausting network resources and paralyzing the network. Loops also cause flapping of MAC address tables and thus damages MAC address entries.

MSTP can be deployed on a network to eliminate loops. If a loop is detected, MSTP blocks one or more ports to eliminate the loop. In addition, Multiple Spanning Tree Instances (MSTIs) can be configured to load-balance VLAN traffic.

As shown in Figure 1, DeviceA, DeviceB, DeviceC, and DeviceD all support MSTP. It is required to create MSTI 1 and MSTI 2, configure a root bridge for each MSTI, and set the ports to be blocked to load-balance traffic of VLANs 1 to 10 and VLANs 11 to 20 among different paths.

Figure 1 Networking diagram of configuring basic MSTP functions

If the current device supports MSTP, configuring MSTP is recommended.

Pre-configuration Tasks

Before configuring basic MSTP functions, complete the following task:
  • Connecting interfaces and setting physical parameters for the interfaces to ensure that the physical status of the interfaces is Up

Configuration Procedures

Figure 2 Flowchart for configuring basic MSTP functions
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >