Syntax
spanning-tree mst
no spanning-tree mst
instance-ID — ID of the spanning -tree instance. (Range: 1-15)
•
cost — The port path cost. (Range: 0–200,000,000)
•
Default Configuration
The default value is 0, which signifies that the cost will be automatically calculated based on
port speed.
The default configuration is:
•
Ethernet (10 Mbps)
•
Fast Ethernet (100 Mbps)
•
Gigabit Ethernet (1000 Mbps)
•
Port-Channel
Command Mode
Interface Configuration (Ethernet, Port-Channel) mode
User Guidelines
This command has no user guidelines.
Example
The following example configures the MSTP instance 1 path cost for interface 1/g9 to 4.
console(config)#interface ethernet 1/g9
console(config-if-1/g9)#spanning-tree mst 1 cost 4
spanning-tree mst port-priority
Use the spanning-tree mst port-priority command in Interface Configuration mode to
configure port priority. To return to the default port priority, use the no form of this command.
Syntax
spanning-tree mst
no spanning-tree mst
instance-ID — ID of the spanning-tree instance. (Range: 1-15)
•
priority — The port priority. (Range: 0–240 in multiples of 16)
•
482
instance-id
cost
cost
instance-id
cost
— 2,000,000
— 200,000
— 20,000
— 20,000
instance-id
port-priority
instance-id
port-priority
priority