Spanning-Tree Commands
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 Setting
Short path cost method.
Command Mode
Global Configuration mode
Command Usage
This command applies to all spanning tree instances on the device.
The cost is set using the spanning-tree cost command.
Example
The following command sets the default path cost method to long.
Console(config)# spanning-tree pathcost method long
22-12
www.hp.com
HP PC Blade Switch CLI Reference Guide