Command Manual – STP 
Quidway S8500 Series Routing Switches  Chapter 1  
MSTP Configuration Commands
 
Huawei Technologies Proprietary 
1-19 
When MSTP is disabled, the corresponding port stays in forwarding state and does not 
take part in any MSTI calculation.  
 
  Caution: 
If you disable MSTP on a port, a loop may be generated.  
 
Related command: stp mode, stp. 
Example 
# Enable MSTP on Ethernet 2/1/1 in system view.  
<Quidway>system-view 
System View: return to User View with Ctrl+Z  
[Quidway] stp interface Ethernet 2/1/1  enable 
1.1.18  stp interface instance cost  
Syntax 
stp interface interface-list [ instance instance-id ] cost cost 
undo stp interface interface-list [ instance instance-id ] cost 
View 
System view 
Parameter 
interface-list: Ethernet port list, containing multiple Ethernet ports and expressed as 
interface-list = { interface-type interface-number [ to  interface-type 
interface-number ] }&<1-10>. For detail descriptions of interface-type and 
interface-number parameters, refer to the corresponding descriptions in Port 
Command Manual. &<1-10> means that the preceding parameters can be entered up 
to 10 times.  
instance-id: Specifies the spanning tree instance ID, ranging from 0 to 48. The instance 
0 represents CIST.  
cost: Port path cost. Its range depends on the selected standard of path cost. 
Description 
Use the stp interface cost command to configure the path cost of the specified port on 
the specified MSTI in system view.