
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.