[Input mode]
interface mode
[Description]
Sets the priority for the applicable interface in the MST instance.
If this command is executed with the "no" syntax, the setting returns to the default.
[Note]
This command can be specified only for LAN/SFP port and logical interface.
It is not possible to specify this command for a LAN/SFP port that is associated to a logical interface.
If a LAN/SFP port is associated with a logical interface, the setting of this command for the corresponding LAN/SFP port
returns to the default.
[Example]
Set LAN port #1 MST instance #2 to a priority of 16.
SWR2311P(config)#interface port1.1
SWR2311P(config-if)#spanning-tree instance 2
SWR2311P(config-if)#spanning-tree instance 2 priority 16
6.3.23 Set interface path cost for MST instance
[Syntax]
spanning-tree
instance
instance-id
path-cost
path-cost
no
spanning-tree
instance
instance-id
path-cost
[Parameter]
instance-id
:
<1-15>
ID of MST instance specified for the applicable interface
path-cost
:
<1-200000000>
Path cost value
[Initial value]
Use the following values according to the link speed of the interface.
Link speed
Path cost value
1000Mbps
20000
100Mbps
200000
10Mbps
2000000
For a logical interface, the path cost value is calculated based on totaling the link speed of each associated LAN/SFP port.
[Input mode]
interface mode
[Description]
Sets the path cost of the applicable interface on an MST instance.
If this command is executed with the "no" syntax, the setting returns to the default.
[Note]
This command can be specified only for LAN/SFP port and logical interface.
It is not possible to specify this command for a LAN/SFP port that is associated to a logical interface.
If a LAN/SFP port is associated with a logical interface, the setting of this command for the corresponding LAN/SFP port
returns to the default.
[Example]
Set LAN port #1 MST instance #2 to a path cost of 100000.
SWR2311P(config)#interface port1.1
SWR2311P(config-if)#spanning-tree instance 2
SWR2311P(config-if)#spanning-tree instance 2 path-cost 100000
184
| Command Reference | Layer 2 functions