Configuring the Root Bridge
Step 6
This example shows how to map VLAN 200 to MSTI 3:
switch# config t
switch(config)# spanning-tree mst configuration
switch(config-mst)# instance 3 vlan 200
switch(config-mst)# exit
switch(config)#
Configuring the Root Bridge
You can configure the device to become the MST root bridge.
The spanning-tree vlan vlan_ID primary root command fails if the value required to be the root bridge is
less than 4096. If the software cannot lower the bridge priority any lower, the device returns the following
message:
Error: Failed to set root bridge for VLAN 1
It may be possible to make the bridge root by setting the priority
for some (or all) of these instances to zero.
Note
The root bridge for each MSTI should be a backbone or distribution device. Do not configure an access
device as the spanning tree primary root bridge.
Enter the diameter keyword, which is available only for MSTI 0 (or the IST), to specify the Layer 2 network
diameter (that is, the maximum number of Layer 2 hops between any two end stations in the Layer 2 network).
When you specify the network diameter, the device automatically sets an optimal hello time, forward-delay
time, and maximum-age time for a network of that diameter, which can significantly reduce the convergence
time. You can enter the hello keyword to override the automatically calculated hello time.
With the device configured as the root bridge, do not manually configure the hello time, forward-delay
Note
time, and maximum-age time using the spanning-tree mst hello-timespanning-tree mst forward-time,
and spanning-tree mst max-ageglobal configuration commands.
Procedure
Step 1
Cisco Nexus 9000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
134
Command or Action
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Command or Action
config t
Example:
switch# config t
switch(config)#
Configuring MST Using Cisco NX-OS
Purpose
(Optional)
Copies the running configuration to the startup
configuration.
Purpose
Enters configuration mode.