Configuring The Rapid Pvst+ Path-Cost Method And Port Cost; Configuring The Rapid Pvst+ Bridge Priority Of A Vlan - Cisco Nexus 6000 Series Configuration Manual

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

Advertisement

Configuring Rapid PVST+
You can only apply this command to a physical Ethernet interface.

Configuring the Rapid PVST+ Path-Cost 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 path-cost method, and you can configure the
Note
method in either the interface or configuration submode.The default path-cost method is short.
Procedure
Step 1
Step 2
Step 3
Step 4
This example shows how to configure the access port cost of an Ethernet interface:
switch# configure terminal
switch (config)# spanning-tree pathcost method long
switch (config)# interface ethernet 1/4
switch(config-if)# spanning-tree cost 1000
You can only apply this command to a physical Ethernet interface.

Configuring the Rapid PVST+ Bridge Priority of a VLAN

You can configure the Rapid PVST+ bridge priority of a VLAN.
Command or Action
switch# configure terminal
switch(config)# spanning-tree
pathcost method {long | short}
switch(config)# interface type
slot/port
switch(config-if)# spanning-tree
[vlan vlan-id] cost [value | auto]
Cisco Nexus 6000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
Configuring the Rapid PVST+ Path-Cost Method and Port Cost
Purpose
Enters global configuration mode.
Selects the method used for Rapid PVST+ path-cost
calculations. The default method is the short method.
Specifies the interface to configure, and enters interface
configuration mode.
If this is a 10G breakout port, the slot/port syntax is
Note
QSFP-module/port.
Configures the port cost for the LAN interface. The cost value,
depending on the path-cost calculation method, can be as
follows:
• short—1 to 65535
• long—1 to 200000000
You configure this parameter per interface on access
Note
ports and per VLAN on trunk ports.
The default is auto , which sets the port cost on both the
path-cost calculation method and the media speed.
63

Advertisement

Table of Contents
loading

Table of Contents