31
460
Example
The following example enables shared spanning-tree on gi15.
switchxxxxxx(config)#
switchxxxxxx(config-if)# spanning-tree link-type shared
31.12 spanning-tree pathcost method
Use the spanning-tree pathcost method Global Configuration mode command to
set the default path cost method. Use the no form of this command to return to the
default configuration.
Syntax
spanning-tree pathcost method
no spanning-tree pathcost method
Parameters
•
long—Specifies that the default port path costs are within the range:
1–200,000,000.
•
short—Specifies that the default port path costs are within the range:
1–65,535.
Default Configuration
Long path cost method.
Command Mode
Global Configuration mode
User Guidelines
This command applies to all the spanning tree instances on the switch.
•
If the short method is selected, the switch calculates cost in the range 1
through 65,535.
•
If the long method is selected, the switch calculates cost in the range 1
through 200,000,000.
interface gi15
{long | short}
78-21075-01 Command Line Interface Reference Guide
Spanning-Tree Commands