Configuring The Switch Priority - Cisco N5010P-N2K-BE Software Configuration Manual

Nx-os software configuration guide
Table of Contents

Advertisement

Configuring MST
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
Command
Step 2
switch(config)# interface {{type
slot/port} | {port-channel number}}
Step 3
switch(config-if)# spanning-tree mst
instance-id cost [cost | auto]
This example shows how to set the MST interface port cost on Ethernet 3/1 for MSTI 4:
switch# configure terminal
switch(config)# interface ethernet 3/1
switch(config-if)# spanning-tree mst 4 cost 17031970

Configuring the Switch Priority

You can configure the switch priority for an MST instance so that it is more likely that the specified
switch is chosen as the root bridge.
Exercise care when using this command. For most situations, we recommend that you enter the
Note
spanning-tree mst root primary and the spanning-tree mst root secondary global configuration
commands to modify the switch priority.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
9-20
Purpose
Specifies an interface to configure, and enters
interface configuration mode.
Configures the cost.
If a loop occurs, MST uses the path cost when
selecting an interface to place into the forwarding
state. A lower path cost represents higher-speed
transmission as follows:
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.
For cost, the range is from 1 to 200000000. The
default value is auto, which is derived from the
media speed of the interface.
Chapter 9
Configuring MST
OL-16597-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nexus 5000 series

Table of Contents