spanning-tree mst root
spanning-tree mst root
To designate the primary and secondary root and set the timer value for an instance, use the
spanning-tree mst root command. To return to the default settings, use the no form of this command.
Syntax Description
instance-id
primary
secondary
diameter dia
hello-time hello-time
Command Default
None
Command Modes
Global configuration mode
Command History
Release
5.2(1)N1(1)
Usage Guidelines
You can enter the instance-id argument as a single instance or a range of instances, for example,
0-3,5,7-9.
If you do not specify the hello-time argument, the argument is calculated from the network diameter. You
must first specify the diameter dia keyword and argument before you can specify the hello-time
hello-time keyword and argument.
Examples
This example shows how to designate the primary root:
switch(config)# spanning-tree mst 0 root primary
This example shows how to set the priority and timer values for the bridge:
switch(config)# spanning-tree mst 0 root primary diameter 7 hello-time 2
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
1188
spanning-tree mst instance-id root {primary | secondary} [diameter dia [hello-time hello-time]]
no spanning-tree mst instance-id root
Instance identification number. The range is from 0 to 4094.
Specifies the high priority (low value) that is high enough to make the bridge
root of the spanning-tree instance.
Specifies the switch as a secondary root, if the primary root fails.
(Optional) Specifies the timer values for the bridge that are based on the
network diameter.
(Optional) Specifies the duration between the generation of configuration
messages by the root switch. The range is from 1 to 10 seconds; the default
is 2 seconds.
Modification
This command was introduced.
Chapter
S Commands
OL-27880-02