T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
224
spanning-tree mst
Description
The
spanning-tree mst
command is used to configure MST Instance Port. To
return to the default configuration of the corresponding Instance Port, please
use
no
spanning-tree mst
command. A port can play different roles in different
spanning tree instance. You can use this command to configure the parameters
of the ports in different instance IDs as well as view status of the ports in the
specified instance.
Syntax
spanning-tree mst instance
instance-id
{
[
port-priority
priority
] [
cost
cost
] }
no spanning-tree mst instance
instance-id
Parameter
instance-id
—— Instance ID, ranging from 1 to 8.
priority
—— Port Priority, which must be multiple of 16 ranging from 0 to 240. By
default, it is 128. Port Priority is an important criterion on determining if the port
will be chosen as the root port by the device connected to this port.
cost
—— Path Cost, ranging from 0 to 2000000. The lower value has the higher
priority. Its default value is 0 meaning “auto”.
Command Mode
Interface Configuration Mode (interface fastEthernet / interface range
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet /
interface ten-gigabitEthernet / interface range ten-gigabitEthernet)
Example
Configure the priority of Gigabit Ethernet port 1/0/1 in MST Instance 1 as 64,
and path cost as 2000:
T2700G-28TQ(config)#interface gigabitEthernet
1/0/1
T2700G-28TQ(config-if)#spanning-tree mst instance
1
port-priority
64
cost
2000