Command Manual (For Soliton) – MSTPH3C S3100 Series Ethernet Switches Chapter 1 MSTP Configuration Commands1-29interface-type interface-number ] } &<1-10>, where &<1-10> means that you canprovide up to 10 port indexes/port index ranges for this argument.instance-id: MSTI ID ranging from 0 to 16. The value of 0 refers to the CIST.cost: Path cost to be set for the port. The range of the cost argument varies with thestandard used for calculating the default path cost of a port as follows:z With the IEEE 802.1D-1998 standard selected, the path cost of an Ethernet portranges from 1 to 65535.z With the IEEE 802.1t standard selected, the path cost of an Ethernet port rangesfrom 1 to 200000000.z With the proprietary standard selected, the path cost of an Ethernet port rangesfrom 1 to 200000.DescriptionUse the stp interface cost command to set the path cost(s) of the specified port(s) in aspecified MSTI in system view.Use the undo stp interface cost command to restore the default value of the pathcost(s) of the specified port(s) in the specified MSTI in system view.By default, a switch automatically calculates the path costs of a port in different MSTIsbased on a specified standard.If you specify the instance-id argument to be 0 or do not specify this argument, the stpinterface cost command sets the path cost(s) of the specified port(s) in the CIST.The path cost of a port affects its port role. By configuring different path costs for thesame port in different MSTIs, you can make flows of different VLANs travel alongdifferent physical links, so as to achieve VLAN-based load balancing. Changing thepath cost of a port in an MSTI may change the role of the port in the instance and put itin state transition.The default port path cost varies with port speed. Refer to Table 1-8 for details.Related commands: stp cost.Examples# Set the path cost of Ethernet 1/0/3 in MSTI 2 to 400. system-viewSystem View: return to User View with Ctrl+Z.[Sysname] stp interface Ethernet 1/0/3 instance 2 cost 4001.1.25 stp interface edged-portSyntaxstp interface interface-list edged-port { enable | disable }undo stp interface interface-list edged-port