Configuring The Port Priority - Cisco Nexus 3000 series Configuration Manual

Nx-os layer 2
Hide thumbs Also See for Nexus 3000 series:
Table of Contents

Advertisement

Configuring the Port Priority

Command or Action
Step 2
switch(config)# spanning-tree mst
instance-id root {primary | secondary}
[diameter dia [hello-time hello-time]]
Step 3
switch(config)# no spanning-tree mst
instance-id root
This example shows how to configure the switch as the secondary root switch for MSTI 5:
switch# configure terminal
switch(config)# spanning-tree mst 5 root secondary
Configuring the Port Priority
If a loop occurs, MST uses the port priority when selecting an interface to put into the forwarding state. You
can assign lower priority values to interfaces that you want selected first and higher priority values to the
interface that you want selected last. If all interfaces have the same priority value, MST puts the interface
with the lowest interface number in the forwarding state and blocks the other interfaces.
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# interface {{type slot/port} | {port-channel number}}
3. switch(config-if)# spanning-tree mst instance-id port-priority priority
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# interface {{type slot/port}
| {port-channel number}}
Step 3
switch(config-if)# spanning-tree mst
instance-id port-priority priority
Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U1(1)
118
Purpose
Configures a switch as the secondary root bridge 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 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.
Purpose
Enters configuration mode.
Specifies an interface to configure, and enters interface configuration
mode.
Configures the port priority as follows:
Configuring Multiple Spanning Tree

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents