58
1111
58.12 spanning-tree pathcost method
Use the spanning-tree pathcost method Global Configuration mode command to
set the default path cost method. Use the no form of this command to return to the
default configuration.
Syntax
spanning-tree pathcost method
no spanning-tree pathcost method
Parameters
•
long—Specifies that the default port path costs are within the range: 1–
200,000,000.
•
short—Specifies that the default port path costs are within the range: 1–
200,000,000.
Default Configuration
Long path cost method.
Command Mode
Global Configuration mode
User Guidelines
This command applies to all the spanning tree instances on the switch.
•
If the short method is selected, the switch calculates the default cost as
100.
•
If the long method is selected, the switch calculates the default cost as
20000.
Example
The following example sets the default path cost method to Long.
switchxxxxxx(config)#
{long | short}
spanning-tree pathcost method long
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
Spanning-Tree Commands