Configuring The Rapid Pvst+ Bridge Priority Of A Vlan - Cisco Nexus 9000 Series Configuration Manual

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

Advertisement

Configuring the Rapid PVST+ Bridge Priority of a VLAN

Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
This example shows how to configure the device as the secondary root bridge for VLAN 5 with a network
diameter of 4:
switch# config t
switch(config)# spanning-tree vlan 5 root secondary diameter 4
switch(config)# exit
switch#
Configuring the Rapid PVST+ Bridge Priority of a VLAN
You can configure the Rapid PVST+ bridge priority of a VLAN. This is another method of configuring root
bridges.
Be careful when using this configuration. We recommend that you configure the primary root and secondary
Note
root to modify the bridge priority.
Cisco Nexus 9000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
104
Command or Action
config t
Example:
switch# config t
switch(config)#
spanning-tree vlan vlan-range root
secondary [diameter dia [hello-time
hello-time]]
Example:
switch(config)# spanning-tree vlan 5
root secondary diameter 4
exit
Example:
switch(config)# exit
switch#
show spanning-tree vlan vlan_id
Example:
switch# show spanning-tree vlan 5
copy running-config startup-config
Example:
switch# copy running-config
startup-config
Configuring Rapid PVST+ Using Cisco NX-OS
Purpose
Enters configuration mode.
Configures a device as the secondary root bridge.
The vlan-range value can be 2 through 3967
(except for reserved VLAN values). The dia
default is 7. The hello-time can be from 1 to 10
seconds, and the default value is 2 seconds.
Exits configuration mode.
(Optional)
Displays the STP configuration for the specified
VLANs.
(Optional)
Copies the running configuration to the startup
configuration.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents