The set protocols spanning-tree mstp msti interface cost command configures the path cost of the link on a physical port or a LAG port for an MSTI.


Command Syntax

set protocols spanning-tree mstp msti <instance-id> interface <interface-name> cost <cost-value>


Parameter

Parameter

Description

msti <instance-id>

Specifies the MST instance. The value is an integer that ranges from 1 to 16.

interface <interface-name>

Specifies a port name. The value is a string that can be set to a physical port name or a LAG port.

cost <cost-value>

Specifies the path cost of an interface. The value is an integer ranges from 0 to 200000000. The default value is 0.


Example

admin@Xorplus# set protocols spanning-tree mstp msti 5 interface ge-1/1/1 cost 556
admin@Xorplus# commit