Chapter 18 MSTP Configuration Commands
Parameter
description
Default
configuration
Command
mode
Usage
guidelines
Examples
Related
commands
18.1.9
spanning-tree mst port-priority
Use this command to configure the interface priority for different instances in the interface
configuration mode. It will determine which interface of a loop in a region is in charge of
forwarding. Use the no form of the command to restore it to the default setting.
spanning-tree [mst instance-id] port-priority priority
18-8
Parameter
Description
instance-id
Instance ID in the range of 0 to 64
cost
Path cost in the range of 1 to 200,000,000
The default instance-id is 0.
The default value is calculated by the link rate of the interface
automatically.
1000 Mbps—20000
100 Mbps—200000
10 Mbps—2000000
Interface configuration mode.
A higher cost value means a higher path cost.
This example shows how to set the path cost to 400 on the interface
associated with instances 3:
DES-7210(config)# interface gigabitethernet 1/1
DES-7210(config-if)# spanning-tree mst 3 cost 400
You can verify your settings by entering the show spanning-tree
mst interface interface-id command in the privileged EXEC mode.
Command
show spanning-tree mst
spanning-tree mst
port-priority
spanning-tree mst priority
DES-7200 CLI Reference Guide
Description
Show the MSTP information of an
interface.
Configure the priority of an interface.
Configure the priority of an instance.