S
PANNING

T

REE

A

LGORITHM

C

ONFIGURATION

3-169

CLI – This example shows general STA configuration and attributes for
port 5.

Configuring Interface Settings

You can configure RSTP and MSTP attributes for specific interfaces,
including port priority, path cost, link type, and edge port. You may use a
different priority or path cost for ports of the same media type to indicate
the preferred path, link type to indicate a point-to-point connection or
shared-media connection, and edge port to indicate if the attached device
can support fast forwarding. (References to “ports” in this section means
“interfaces,” which includes both ports and trunks.)
Command Attributes
The following attributes are read-only and cannot be changed:
STA State – Displays current state of this port within the Spanning Tree.
(See Displaying Interface Settings on page 3-165 for additional
information.)
-Discarding - Port receives STA configuration messages, but does not
forward packets.
Console#show spanning-tree ethernet 1/5 4-227
Eth 1/ 5 information
--------------------------------------------------------------
Admin status: enabled
Role: disable
State: discarding
External path cost: 200000
Internal path cost: 200000
Priority: 128
Designated cost: 200000
Designated port : 128.5
Designated root: 32768.0.0000E8AAAA00
Designated bridge: 32768.0.0004E2B316C0
Fast forwarding: enabled
Forward transitions: 0
Admin edge port: enabled
Oper edge port: enabled
Admin Link type: auto
Oper Link type: point-to-point
Spanning Tree Status: enabled
Console#