![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/e/d2/ed22fd7c-34b5-493a-949b-a9e77dab85f5/ed22fd7c-34b5-493a-949b-a9e77dab85f5-bg17a.png)
Spanning Tree Commands
spanning-tree pathcost method
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 376
28
Command Modes
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
There are no user guidelines for this command.
Example
The following example enables shared spanning-tree on Ethernet port e5.
Console(config)# interface ethernet e15
Console(config-if)# spanning-tree link-type shared
spanning-tree pathcost method
The spanning-tree pathcost method Global Configuration mode command sets
the default path cost method. Use the no form of this command to return to the
default configuration.
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.