CLI Reference Guide-R05

Table Of Contents
Chapter 17
| Spanning Tree Commands
– 474 –
cost “0” is used to indicate auto-configuration mode. When the short path cost
method is selected and the default path cost recommended by the IEEE 8021w
standard exceeds 65,535, the default is set to 65,535.
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
This command is used by the Spanning Tree Algorithm 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.
Path cost takes precedence over port priority.
When the path cost method (page 465) is set to short, the maximum value for
path cost is 65,535.
Example
Console(config)#interface ethernet 1/5
Console(config-if)#spanning-tree cost 50
Console(config-if)#
spanning-tree
edge-port
This command specifies an interface as an edge port. Use the no form to restore the
default.
Syntax
spanning-tree edge-port [auto]
no spanning-tree edge-port
auto - Automatically determines if an interface is an edge port.
Default Setting
Auto
Command Mode
Interface Configuration (Ethernet, Port Channel)
Table 91: Default STA Path Costs
Port Type Short Path Cost
(IEEE 802.1D-1998)
Long Path Cost
(IEEE 802.1D-2004)
Ethernet 65,535 1,000,000
Fast Ethernet 65,535 100,000
Gigabit Ethernet 10,000 10,000