Purpose
Command or Action
•
For
instance-id
, you can specify a single instance, a range
of instances separated by a hyphen, or a series of instances
separated by a comma. The range is from 1 to 4094.
secondary
} [
diameter dia
[
hello-time hello-time
]]
•
For diameter
net-diameter
, specify the maximum number
of hops between any two end stations. The default is 7.
This keyword is available only for MST instance 0.
•
For hello-time
seconds
, specify the interval in seconds
between the generation of configuration messages by the
root bridge. The range is from 1 to 10 seconds; the default
is 2 seconds.
(Optional)
Returns the switch priority, diameter, and hello time to default
values.
switch(config)#
no spanning-tree
mst instance-id root
Step 3
This example shows how to configure the switch as the root switch for MSTI 5:
switch#
configure terminal
switch(config)#
spanning-tree mst 5 root primary
Configuring a Secondary Root Bridge
You can execute this command on more than one switch to configure multiple backup root bridges. Enter the
same network diameter and hello-time values that you used when you configured the primary root bridge with
the
spanning-tree mst root primary
configuration command.
Procedure
Purpose
Command or Action
Enters global configuration mode.
switch#
configure terminal
Step 1
Configures a switch as the secondary root bridge as follows:
switch(config)#
spanning-tree
mst instance-id root
{
primary
|
Step 2
•
For
instance-id
, you can specify a single instance, a range
of instances separated by a hyphen, or a series of instances
separated by a comma. The range is from 1 to 4094.
secondary
} [
diameter dia
[
hello-time hello-time
]]
•
For diameter
net-diameter
, specify the maximum number
of hops between any two end stations. The default is 7.
This keyword is available only for MST instance 0.
•
For hello-time
seconds
, specify the interval in seconds
between the generation of configuration messages by the
root bridge. The range is from 1 to 10 seconds; the default
is 2 seconds.
Cisco Nexus 6000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
84
Configuring Multiple Spanning Tree
Configuring a Secondary Root Bridge