Configuring The Rapid Pvst+ Path-Cost Method And Port Cost - Cisco nexus 5000 series Configuration Manual

Nx-os layer 2
Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

Configuring Rapid PVST+
DETAILED STEPS
Command or Action
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 access port priority of an Ethernet interface:
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+ 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.
Note
In Rapid PVST+ mode, you can use either the short or long path-cost method, and you can configure the
method in either the interface or configuration submode.The default path-cost method is short.
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# spanning-tree pathcost method {long | short}
3. switch(config)# interface type slot/port
4. switch(config-if)# spanning-tree [vlan vlan-id] cost [value | auto]
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# spanning-tree pathcost
method {long | short}
OL-25842-01
Purpose
Enters global configuration mode.
Specifies the interface to configure, and enters interface configuration
mode.
Configures the port priority for the LAN interface. The priority value
can be from 0 to 224. The lower the value indicates 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 global configuration mode.
Selects the method used for Rapid PVST+ path-cost calculations. The
default method is the short method.
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1)
Configuring the Rapid PVST+ Path-Cost Method and Port Cost
181

Advertisement

Table of Contents
loading

Table of Contents