Configuring The Rapid Pvst+ Port Priority-Cli Version - Cisco Nexus 7000 Series Configuration Manual

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

Advertisement

Configuring the Rapid PVST+ Port Priority—CLI Version
Command or Action
Step 4
show spanning-tree vlan vlan_id
Example:
switch# show spanning-tree vlan 5
Step 5
copy running-config startup-config
Example:
switch# copy running-config startup-config
This example shows how to configure the priority of VLAN 5 on Gigabit Ethernet port 1/4 to 8192:
switch# config t
switch(config)# spanning-tree vlan 5 priority 8192
switch(config)# exit
switch#
Configuring the Rapid PVST+ Port Priority—CLI Version
You can assign lower priority values to LAN ports that you want Rapid PVST+ to select first and higher
priority values to LAN ports that you want Rapid PVST+ to select last. If all LAN ports have the same priority
value, Rapid PVST+ puts the LAN port with the lowest LAN port number in the forwarding state and blocks
other LAN ports.
The device uses the port priority value when the LAN port is configured as an access port and uses the VLAN
port priority values when the LAN port is configured as a trunk port.
Before You Begin
Ensure that you are in the correct VDC (or enter the switchto vdc command).
SUMMARY STEPS
1. config t
2. interface type slot/port
3. spanning-tree [vlan vlan-list] port-priority priority
4. exit
5. (Optional) show spanning-tree interface {ethernet slot/port | port channel channel-number}
6. (Optional) copy running-config startup-config
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
118
Configuring Rapid PVST+ Using Cisco NX-OS
Purpose
(Optional)
Displays the STP configuration for the specified VLANs.
(Optional)
Copies the running configuration to the startup configuration.

Advertisement

Table of Contents
loading

Table of Contents