xStack
® 
DGS-3120 Series Managed Switch CLI Reference Guide 
507 
 
Format 
config stp mst_ports <portlist> instance_id <value 0-15> {internalCost [auto | <value 1-
200000000>] | priority <value 0-240>} 
 
Parameters 
mst_ports - Specify to be distinguished from the parameters of ports only at CIST level. 
<portlist> - Enter a list of ports used for the configuration here. 
instance_id - Specify the instance ID used. 
<value 0-15> - Enter the instance ID used here. This value must be between 0 and 15. 
internalCost - (Optional) Specify the port path cost used in MSTP.  
auto - Specify that the internal cost value will be set to auto. 
<value 1-200000000> - Enter the internal cost value here. This value must be between 1 and 
priority - (Optional) Specify the port priority value. 
<value 0-240> - Enter the port priority value here. This value must be between 0 and 240. 
 
Restrictions 
Only Administrator, Operator and Power-User level users can issue this command. 
 
Example 
To configure STP MST ports: 
DGS-3120-24TC:admin#  config stp mst_ports 1:1 instance_id 0 internalCost auto  
Command: config stp mst_ports 1:1 instance_id 0 internalCost auto 
 
Success. 
 
 
50-11  config stp ports 
Description 
This command is used to configure all the parameters of ports, except for Internal Path Cost and 
Port Priority. 
 
Format 
config stp ports <portlist> {externalCost [auto | <value 1-200000000>] | hellotime <value 1-
2> | migrate [yes | no] | edge [true | false | auto] | p2p [true | false | auto] | state [enable | 
disable]| restricted_role [true | false] | restricted_tcn [true | false] | fbpdu [enable | disable]} 
 
Parameters 
<portlist> - Enter a list of ports used for the configuration here. 
external_cost - (Optional) The path cost between MST regions from the transmitting Bridge to 
the CIST Root Bridge. It is only used at CIST level. 
auto - Specify that the external cost value will be set to automatic. 
<value 1-200000000> - Enter the external cost value here. This value must be between 1 and