Configure different switch priorities for
different instances. This command
configures the switch priority for instance 0
without the instance-id parameter.
instance-id: ID of the instance in the range
from 0 to 64.
priority: switch priority in the range from 0
to 61440 and is increased by the integral
multiple of 4096, 32768 by default.
To restore the switch priority to the default value, use the no spanning-tree
mst instance-id priority command in the global configuration mode.
Configuring Port Priority
When two ports are connected to the shared media, the device will set the one
of the higher priority (or smaller value) to be the forwarding status and the one
of the lower priority (or larger value) to be the discarding status.If the two ports
are of the same priority, the device will set the one with the smaller port number
to the forwarding status. You can assign different port priorities to various
instances on one port, by which various instances can run the separated
spanning tree protocols.
Same as device priority, it has 16 values, all a multiple of 16. They are 0, 16, 32,
48, 64, 80, 96, 112, 128, 144, 160, 176, 192, 208, 224, and 240 respectively.
The default value is 128.
To configure a port priority, execute the following commands in the privileged
mode: