C613-50170-01 Rev B
Command Reference for x510 Series
682
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
S
PANNING
T
REE
C
OMMANDS
SPANNING
-
TREE
MST
INSTANCE
PRIORITY
spanning-tree mst instance priority
Overview
Use this command in Interface Configuration mode for a switch port interface only
to set the port priority for an MST instance (MSTI).
Use the
no
variant of this command to restore the default priority value (128).
Syntax
spanning-tree mst instance
<instance-id>
priority <
priority
>
no spanning-tree mst instance
<instance-id>
[priority]
Default
The default is 128.
Mode
Interface Configuration mode for a switch port interface.
Usage
This command sets the value of the priority field contained in the port identifier.
The MST algorithm uses the port priority when determining the root port for the
switch in the MSTI. The port with the lowest value has the highest priority, so it will
be chosen as root port over a port that is equivalent in all other aspects but with a
higher priority value.
Examples
To set the priority to 112 on instance 3, use the commands:
awplus#
configure terminal
awplus(config)#
interface port1.0.2
awplus(config-if)#
spanning-tree mst instance 3 priority 112
To return the priority to its default value of 128 on instance 3, use the commands:
awplus#
configure terminal
awplus(config)#
interface port1.0.2
awplus(config-if)#
no spanning-tree mst instance 3 priority
Related
Commands
spanning-tree priority (port priority)
spanning-tree mst instance path-cost
spanning-tree mst instance restricted-role
spanning-tree mst instance restricted-tcn
Parameter
Description
<
instance-id
>
Specify an MSTP instance in the range 1-15.
<
priority
>
This must be a multiple of 16 and within the range <
0-240
>. A
lower priority indicates greater likelihood of the port becoming
the root port.