Function Description
The multiple spanning tree protocol (MSTP) applies to the redundant network. MSTP is an improvement of STP and RSTP. MSTP prevents the proliferation and infinite cycling of the packets in the loop network. In addition, MSTP provides multiple redundant paths for VLAN data transmission to achieve the load-sharing purpose. The MA5680T/MA5683T/MA5608T supports MSTP, which is compatible with the STP and RSTP. It supports MSTP loop network that helps meet various networking requirements.Function
This command is used to set the mCheck variable to force a port to work in
Multiple Spanning Tree Protocol (MSTP) mode. When you need to check whether
there is any bridge running STP in the network segment connected to the current
port, run this command. After you set the mCheck variable manually, the port
work in MSTP mode.
NOTE:
This command can be configured only when the bridge works in MSTP mode. If
the bridge is set to work in STP mode, this command does not take
effect.
Parameters
Parameter | Description | Value |
---|---|---|
frameid/slotid/portid | Indicates the subrack ID, slot ID, and port ID. Enter a slash (/) between the subrack, slot, and port IDs. Only the Ethernet port is supported. When you need to force a specified port to work in MSTP mode, use this parameter. | Please see Differences Between Shelves. |
Usage Guidelines
- If there is the bridge running STP in the network segment connected to the current port, the port mode transits to STP compatible mode.
- When the network is stable, even if the bridge in the network segment which runs STP is disconnected, the related port still works in STP compatible mode. In this case, you can run the this command to force the port to work in MSTP mode. After that, you can check whether the port works in MSTP mode or STP compatible mode based on the type of the received packets.
Example
To set port 0/19/0 to work in MSTP mode, do as
follows:
huawei(config)#stp port
{ frameid/slotid/portid<S><Length 5-18> }:0/19/0
{ cost<K>|disable<K>|edged-port<K>|enable<K>|instance<K>|loop-protection<K>|mche
ck<K>|point-to-point<K>|port-priority<K>|root-protection<K>|transmit-limit<K> }:
mcheck
Command:
stp port 0/19/0 mcheck