Spanning-Tree Pathcost Method - Cisco AP775A - Nexus Converged Network Switch 5010 Command Reference Manual

Cisco nexus 5000 series command reference, release 4.1(3)n1(1) (ol-16599-01, august 2009)
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Chapter 2
Ethernet Commands
S e n d c o m m e n t s 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

spanning-tree pathcost method

To set the default path-cost calculation method, use the spanning-tree pathcost method command. To
return to the default settings, use the no form of this command.
Syntax Description
long
short
Command Default
Short.
Command Modes
Configuration mode
Command History
Release
4.0(0)N1(1a)
Usage Guidelines
The long path-cost calculation method uses all 32 bits for path-cost calculations and yields valued in the
range of 2 through 2,00,000,000.
The short path-cost calculation method (16 bits) yields values in the range of 1 through 65535.
This command applies only to the Rapid PVST+ spanning tree mode, which is the default mode. When
Note
you are using MST spanning tree mode, the switch uses only the long method for calculating path cost;
this is not user-configurable for MST.
Examples
This example shows how to set the default pathcost method to long:
switch(config)# spanning-tree pathcost method long
Related Commands
Command
show spanning-tree
summary
OL-16599-01
spanning-tree pathcost method {long | short}
no spanning-tree pathcost method
Specifies the 32-bit based values for port path costs.
Specifies the 16-bit based values for port path costs.
Modification
This command was introduced.
Description
Displays information about the spanning tree state.
spanning-tree pathcost method
Cisco Nexus 5000 Series Command Reference
2-73

Advertisement

Table of Contents
loading

Table of Contents