[All About Switches] Q&A: How Do I Enable MSTP?

Created: Jun 30, 2018 16:17:06Latest reply: Jun 30, 2018 17:12:13 524 1 1 0

A:

Among the spanning tree protocols, MSTP is compatible with RSTP and STP, and RSTP is compatible with STP. MSTP has fast convergence. Multiple spanning trees perform load balancing and transmit traffic in different VLANs along different paths. To enable MSTP, perform the following steps:

Step 1: Run the stp mode mstp command in the system view to set the STP working mode to MSTP.

Step 2: Configure and activate an MST region. An example is as follows:

<HUAWEI> system-view

[HUAWEI] stp region-configuration

[HUAWEI-mst-region] region-name RG1 //Configure a region named RG1.

[HUAWEI-mst-region] instance 1 vlan 2 to 10 //Map VLANs 2 through 10 to MSTI 1.

[HUAWEI-mst-region] instance 2 vlan 11 to 20 //Map VLANs 11 through 20 to MSTI 2.

[HUAWEI-mst-region] active region-configuration //Activate the MST region configuration.

[HUAWEI-mst-region] quit

Two switches belong to the same MST region only if they have the same MST region name, MSTI-VLAN mapping, and MST region revision level.

Step 3: Configure the root bridge and secondary root bridge. An example is as follows:

# Configure SwitchA as the root bridge in MSTI 1.

[SwitchA] stp instance 1 root primary

# Configure SwitchB as the secondary root bridge in MSTI 1.

[SwitchB] stp instance 1 root secondary

Step 4: Set the path costs of the ports. An example is as follows:

# Configure SwitchC to use Huawei's proprietary algorithm to calculate the path cost and set the path cost of GE0/0/2 to 20000 in MSTI 2.

[SwitchC] stp pathcost-standard legacy

[SwitchC] interface gigabitethernet 0/0/2

[SwitchC-GigabitEthernet0/0/2] stp instance 2 cost 20000

[SwitchC-GigabitEthernet0/0/2] quit

Step 5: Run the stp enable command in the system view to enable MSTP.

 

For more information about configurations and principles of MSTP, see the corresponding product documentation.

Step 1: Log in to Huawei enterprise technical support website: http://support.huawei.com/enterprise.

Step 2: Select the product, for example, Switch > S5700.

20180630161330410001.png

Step 3: Select the corresponding product documentation from the Downloadable Product Documentation Package.

20180630161331432002.png

Step 4: See MSTP Configuration under Configuration > CLI-based Configuration Guide > Ethernet Switching Configuration Guide.

20180630161332696003.png

  • x
  • convention:

doctor.zhang     Created Jun 30, 2018 17:12:13 Helpful(0) Helpful(0)

thanks
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top