Cisco Systems N3KC3064TFAL3 Configuring the Rapid PVST+ Pathcost Method and Port Cost, Procedure

Models: N3KC3064TFAL3 N3KC3048TP1GE

1 164
Download 164 pages 5.98 Kb
Page 97
Image 97
Configuring the Rapid PVST+ Pathcost Method and Port Cost

Configuring Rapid PVST+

Configuring the Rapid PVST+ Pathcost Method and Port Cost

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.

Note In Rapid PVST+ mode, you can use either the short or long pathcost method, and you can configure the method in either the interface or configuration submode.The default pathcost method is short.

Procedure

 

Command or Action

Purpose

 

Step 1

switch# configure terminal

Enters configuration mode.

Step 2

switch(config)# spanning-tree

Selects the method used for Rapid PVST+ pathcost

 

pathcost method {long short}

calculations. The default method is the short method.

Step 3

switch(config)# interface type

Specifies the interface to configure, and enters interface

 

slot/port

configuration mode.

Step 4

switch(config-if)# spanning-tree

Configures the port cost for the LAN interface. The cost

 

[vlan vlan-id]cost [value auto]

value, depending on the pathcost calculation method, can

 

 

be as follows:

 

 

short1 to 65535

 

 

long1 to 200000000

 

 

Note

You configure this parameter per interface on

 

 

 

access ports and per VLAN on trunk ports.

 

 

The default is auto , which sets the port cost on both the

 

 

pathcost calculation method and the media speed.

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.

Cisco Nexus 3000 NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U3(1)

OL-26590-01

83

Page 97
Image 97
Cisco Systems N3KC3064TFAL3 Configuring the Rapid PVST+ Pathcost Method and Port Cost, pathcost method long short, Step