spanning-tree pathcost method
The spanning-tree pathcost method Global Configuration mode command sets the default path cost method. To
return to the default configuration, use the no form of this command.
Syntax
spanning-tree pathcost method {long | short}
no spanning-tree pathcost method
Parameters
•
long — Specifies port path costs with a range of 1-200,000,000 .
•
short — Specifies port path costs with a range of 0-65,535.
Default Configuration
Short path cost method.
Command Mode
Global Configuration mode
User Guidelines
This command applies to all spanning tree instances on the device.
The cost is set using the spanning-tree cost command.
Example
The following example sets the default path cost method to long.
Console(config)# spanning-tree pathcost method long
Page 232
Spanning-Tree Commands