Mellanox MLNX-OS User Manual for SX1018HP Ethernet Managed Blade Switch

Rev 2.10
Mellanox Technologies
448
Mellanox Technologies Confidential
spanning-tree mst root
spanning-tree mst <mst-instance> root <role>
no spanning-tree mst <mst-instance> root
Changes the bridge priority for the specified MST instance to the following values:
Primary – 8192
Secondary – 16384
The no form of the command sets the parameter to its default value.
Syntax Description mst-instance MSTP instance. Possible range is 1-64.
role Values: “primary” or “secondary”.
Default primary
Configuration Mode Config
History 3.3.4150
Role admin
Example
switch (config)# spanning-tree mst name my-mst
switch (config)#
Related Commands
Note The root command is a way to automate a system configuration while ‘playing’ with
the priority field. The priority field granularity may be too explicit for some users in
case you wish to have 2 levels of priority (primary and secondary). So by default all
the switches get the same priority and while using the root option you can get the role
of master and backup by setting the priority field to a predefined value.