ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
38
| Spanning Tree Commands
– 1291
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 1282) 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)
COMMAND USAGE
You can enable this option if an interface is attached to a LAN segment that
is at the end of a bridged LAN or to an end node. Since end nodes cannot
cause forwarding loops, they can pass directly through to the spanning tree
forwarding state. Specifying Edge Ports provides quicker convergence for
Table 153: Default STA Path Costs
Port Type Short Path Cost
(IEEE 802.1D-1998)
Long Path Cost
(802.1D-2004)
Ethernet 65,535 1,000,000
Fast Ethernet 65,535 100,000
Gigabit Ethernet 10,000 10,000
10G Ethernet 1,000 1,000