276 Spanning-Tree Commands
www.dell.com | support.dell.com
Command Mode
MST Configuration mode
User Guidelines
There are no user guidelines for this command.
Example
The following example exits the MST configuration mode without saving changes.
spanning-tree pathcost method
The
spanning-tree pathcost method
Global Configuration mode command sets the default path
cost method. To revert to the default setting, use the
no
form of this command.
Syntax
spanning-tree pathcost method
{
long
|
short
}
no spanning-tree pathcost method
long
Specifies 1 through 200,000,000 range for port path costs
.
short
—Specifies 0 through 65,535 range for port path costs.
Default Configuration
Short
Command Mode
Global configuration mode
User Guidelines
The cost is set using the
spanning-tree cost
command.
Example
The following example sets the default path cost method to "long".
spanning-tree bpdu
The
spanning-tree bpdu
Global Configuration mode command defines BPDU handling when
spanning-tree is disabled on an interface.
Console(config) # spanning-tree mst configuration
Console(config-mst) # abort
Console# spanning-tree pathcost method long