S
PANNING
T
REE
C
OMMANDS
29-16
Example
This example disables the spanning tree algorithm for port 5.
spanning-tree cost
This command configures the spanning tree path cost for the specified
interface. Use the no form to restore the default.
Syntax
spanning-tree cost cost
no spanning-tree cost
cost - The path cost for the port.
(Range: 0 for auto-configuration, or 1-200,000,000)
The recommended range is:
Console(config)#interface ethernet 1/5
Console(config-if)#spanning-tree spanning-disabled
Console(config-if)#
Table 29-2 Recommended STA Path Cost Range
Port Type
IEEE 802.1D-1998
*
* Use the spanning-tree pathcost method command on page 29-9 to set the path
cost method.
IEEE 802.1w-2001
*
Gigabit Ethernet 3-10 2,000-200,000
10G Ethernet 1-5 200-20,000