Command Manual - STP 
Quidway S6500 Series Ethernet Switches  Chapter 1  MSTP Configuration Commands
 
Huawei Technologies Proprietary 
1-24 
mstp: Configure the MSTP operation mode as MSTP. 
Description 
Using stp mode command, you can configure MSTP operation mode of the switch. 
Using undo stp mode command, you can restore the default MSTP operation mode. 
By default, switch work in MSTP mode 
MSTP and RSTP are compatible and they  can recognize the packets of each other. 
However, STP cannot recognize MSTP packets. To implement the compatibility, MSTP 
provides two operation modes, STP-compatible mode and MSTP mode. In 
STP-compatible mode, the switch sends STP BPDU packets via every port and serves 
as a region itself. In MSTP mode, the switch ports send MSTP BPDU packets (when 
connected to the STP switch) and the switch provides multiple spanning tree function. 
For the related command, see stp mcheck, stp, stp interface, stp interface mcheck. 
Example 
# Set MSTP operation mode as STP-compatible. 
[Quidway] stp mode stp 
1.1.27  stp pathcost-standard 
Syntax 
stp pathcost-standard { dot1d-1998 | dot1t | legacy } 
undo stp pathcost-standard 
View 
System view 
Parameter 
dot1d-1998: The switch calculates the default Path Cost of a port by the IEEE 
802.1D-1998 standard. 
dot1t: The switch calculates the default Path Cost of a port by the IEEE 802.1t 
standard. 
legacy: The switch calculates the default Path Cost of a port by the Huawei-3Com 
company. 
Description 
Using the stp pathcost-standard command, you can specify the standard to be used 
by the switch in calculating the default Path Cost. Using the undo stp 
pathcost-standard command, you can restore the default choice of the standard.