Owner's Manual

Spanning-Tree Commands 391
spanning-tree pathcost method
The
spanning-tree pathcost method
global configuration command sets the method by which path
cost defaults are determined.. To return 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 1 through 65,535 range for port path costs.
Default Configuration
If the pathcost method is short, the default configuration is:
Ethernet (10 Mbps) - 100
Fast Ethernet (100 Mbps) - 19
Gigabit Ethernet (1000 Mbps) - 4
Port-Channel - 4
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Max hops 20
Console# show spanning-tree
Spanning tree enabled mode MSTP
Default port cost method: long
###### MST 0 Vlans Mapped: 1-9, 21-4094
CST Root ID Priority 32768
Address 00:01:42:97:e0:00
This switch is root for CST and IST master.
Root Port 1 (g1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Max hops 20