TP-Link T1500-28PCT Switch User Manual


 
139
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 pri ] | [ cost cost ]}
no spanning-tree mst instance instance-id
Parameter
instance-id —— Instance ID, ranging from 1 to 8.
pri —— 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 200000. 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)
Example
Configure the priority of port 1 in MST Instance 1 as 64, and path cost as 2000:
T1500-28PCT(config)# interface fastEthernet 1/0/1
T1500-28PCT(config-if)# spanning-tree mst instance 1 port-priority 64 cost
2000
spanning-tree priority
Description
The spanning-tree priority command is used to configure the bridge priority. To
return to the default value of bridge priority, please use no spanning-tree
priority command.
Syntax
spanning-tree priority pri
no spanning-tree priority
Parameter
pri —— Bridge priority, ranging from 0 to 61440. It is 32768 by default.