Cisco Nexus 9000 Series Configuration Manual page 149

Nx-os layer 2 switching configuration
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring MST Using Cisco NX-OS
Step 2
Step 3
Step 4
Step 5
This example shows how to configure the device as the root switch for MSTI 5:
switch# config t
switch(config)# spanning-tree mst 5 root primary
switch(config)# exit
switch(config)#
Command or Action
spanning-tree mst instance-id root
{primary | secondary} [diameter dia
[hello-time hello-time]] or no
spanning-tree mst instance-id root
Example:
switch(config)# spanning-tree
mst 5 root primary
exit or abort
Example:
switch(config)# exit
switch#
show spanning-tree mst
Example:
switch# show spanning-tree mst
copy running-config startup-config
Example:
switch(config)# copy
running-config startup-config
Cisco Nexus 9000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
Purpose
• spanning-tree mst instance-id root {primary |
secondary} [diameter dia [hello-time hello-time]]
Configures a device as the root bridge as follows:
• For instance-id, 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.
• For diameter net-diameter, specify the
maximum number of Layer 2 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.
• no spanning-tree mst instance-id root
Returns the switch priority, diameter, and hello time
to default values.
• exit
Commits all the changes and exits MST configuration
submode.
• abort
Exits the MST configuration submode without
committing any of the changes.
(Optional)
Displays the MST configuration.
(Optional)
Copies the running configuration to the startup configuration.
Configuring the Root Bridge
135

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents