DGS-6604 m spanning-tree mst (cost | port-priority)
CLI Reference Guide
867
spanning-tree mst (cost | port-priority)
To set the path cost and port-priority parameters for any MST instance (including
the CIST with instance ID 0), use the spanning-tree mst command. To return to
the default settings, use the no form of this command.
spanning-tree mst INSTANCE-ID {cost COST | port-priority PRIORITY}
no spanning-tree mst INSTANCE-ID {cost | port-priority}
Default COST: depends on the port speed; a faster interface speeds indicate smaller
costs. MST always uses long path costs.
PRIORITY: 128
Command Mode Interface configuration
Usage Guideline Higher COST cost values indicate higher costs. When entering the cost, do not
include a comma in the entry; for example, enter 1000, not 1,000.
Smaller port-priority PRIORITY values indicate higher priorities.
Examples This example shows how to set the interface path cost:.
This example shows how to set the interface port-priority:
.
Syntax Description
INSTANCE-ID MSTP instance identifier; valid values are from 0 to 63, the number of supported
MSTP instances is project dependent. Instance 0 represents the default
instance, CIST.
cost COST (Optional) Path cost for an instance; valid values are from 1 to 200000000.
port-priority
PRIORITY
(Optional) Port priority for an instance; valid values are from 0 to 240 in
increments of 16.
Switch(config)#interface eht3.1
Switch(config-if)# spanning-tree mst 0 cost 17031970
Switch(config)#interface portchannel1
Switch(config-if)# spanning-tree mst 0 port-priority 64