Command Line Interface
8031553-KDU 137 365 Uen D 2006-06-16
7.15.7 spanning-tree pathcost method
This command configures the path cost method used for Rapid Spanning Tree
and Multiple Spanning Tree. Use the no form to restore the default.
Syntax
spanning-tree pathcost method {long | short}
no spanning-tree pathcost method
• long - Specifies 32-bit based values that range from
1-200,000,000.
• short - Specifies 16-bit based values that range from 1-65535.
Default Setting
Long method
Command Mode
Global Configuration
Command Usage
The path cost method is used to determine the best path between devices.
Therefore, lower values should be assigned to ports attached to faster
media, and higher values assigned to ports with slower media (attached with
the spanning-tree cost command). Note that path cost (section
7.15.16 on page 811) takes precedence over port priority (section 7.15.17
on page 812).
Example
Console(config)#spanning-tree pathcost method long
Console(config)#