Command Reference MSTP Commands
A higher cost value means a higher path cost.
This example sets the path cost to 400 on the interface associated with instances 3.
Ruijie(config)# interface gigabitethernet 1/1
Ruijie(config-if)# spanning-tree mst 3 cost 400
Displays the MSTP information of an interface.
spanning-tree mst port-priority
Configures the priority of an interface.
spanning-tree mst priority
Configures the priority of an instance.
9.32 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 this command to restore the default setting.
spanning-tree [ mst instance-id ] port-priority priority
no spanning-tree [ mst instance-id ] port-priority
Instance ID, in the range of 0 to 64
Interface priority. Sixteen integers are available: 0, 16, 32, 48, 64, 80,
96, 112, 128, 144, 160, 176, 192, 208, 224, 240, which are the
multiples of 16.
The default instance-id is 0.
The default priority is 128.
Interface configuration mode.
When a loop occurs in the region, the interface of the higher priority will be in charge of forwarding. If
all interfaces have the same priority value, the interface of the smaller number will be in charge of the
forwarding.
Run this command to determine which port in the loop of a region enters the forwarding state.