Configuring The Rapid Pvst+ Pathcost Method And Port Cost - Cisco AP775A - Nexus Converged Network Switch 5010 Configuration Manual

Cli software configuration guide
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Configuring Rapid PVST+
Procedure
Step 1
Step 2
Step 3
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+ 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.
Procedure
Step 1
Step 2
Step 3
Step 4
OL-16597-01
Command or Action
switch# configure terminal
switch(config)# interface type
slot/port
switch(config-if)# spanning-tree
[vlan vlan-list] port-priority priority
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]
Configuring the Rapid PVST+ Pathcost Method and Port Cost
Purpose
Enters 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,
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.
Specifies the interface to configure, and enters interface
configuration mode.
Configures the port cost for the LAN interface. The cost
value, depending on the pathcost calculation method, can
be as follows:
• short—1 to 65535
• long—1 to 200000000
You configure this parameter per interface on
Note
access ports and per VLAN on trunk ports.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
169

Advertisement

Table of Contents
loading

Table of Contents