Configuring The Rapid Pvst+ Port Priority; Configuring The Rapid Pvst+ Pathcost Method And Port Cost - Cisco nexus 5000 series Cli Configuration Manual

Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

Chapter 1
Configuring Rapid PVST+
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
switch# configure terminal
switch(config)# spanning-tree vlan 5 root secondary diameter 4

Configuring the Rapid PVST+ Port Priority

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 software uses the port priority value when the LAN port is configured as an access port and uses
VLAN port priority values when the LAN port is configured as a trunk port.
To assign Rapid PVST+ port priorities to individual ports, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# interface type
slot/port
Step 3
switch(config-if)# spanning-tree [vlan
vlan-list] port-priority priority
This example shows how to configure the port priority of Ethernet access port 1/4 to 160:
switch# configure terminal
switch(config)# interface ethernet 1/4
switch(config-if)# spanning-tree port-priority 160
You can only apply this command to a physical Ethernet interface.

Configuring the Rapid PVST+ Pathcost Method and Port Cost

On access ports, you assign port cost by the port. On trunk ports, you assign the port cost by VLAN; you
can configure the same port cost on all the VLANs on a trunk.
In Rapid PVST+ mode, you can use either the short or long pathcost method, and you can configure the
Note
method in either the interface or configuration submode.The default pathcost method is short.
To set the Rapid PVST+ pathcost method and cost for a port, perform the following task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# spanning-tree pathcost
method {long | short}
OL-16597-01
Purpose
Enters configuration mode.
Specifies the interface to configure, and enters the
interface configuration mode.
Configures the port priority for the LAN interface. The
priority value can be from 0 to 224. The lower the
value, the higher the priority. The priority values are 0,
32, 64, 96, 128, 160, 192, and 224. All other values are
rejected. The default value is 128.
Purpose
Enters configuration mode.
Selects the method used for Rapid PVST+ pathcost
calculations. The default method is the short method.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Configuring Rapid PVST+
1-21

Advertisement

Table of Contents
loading

Table of Contents