Configuring the Switch

3-154

3
CLI – This example shows the STA attributes for port 5.

Configuring Interface Settings for STA

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 for STA on 3-151 for additional information.)
-Discarding - Port receives STA configuration messages, but does not forward
packets.
-Learning - Port has transmitted configuration messages for an interval set by
the Forward Delay parameter without receiving contradictory information. Port
address table is cleared, and the port begins learning addresses.
-Forwarding - Port forwards packets, and continues learning addresses.
Trunk – Indicates if a port is a member of a trunk. (STA Port Configuration only)
Console#show spanning-tree ethernet 1/5 4-213
Eth 1/ 5 information
--------------------------------------------------------------
Admin Status: Enabled
Role: Root
State: Forwarding
Admin Path Cost: 100000
Oper Path Cost: 100000
Priority: 128
Designated Cost: 0
Designated Port: 128.13
Designated Root: 32768.0001ECF8D8C6
Designated Bridge: 32768.0001ECF8D8C6
Fast Forwarding: Disabled
Forward Transitions: 1
Admin Edge Port: Disabled
Oper Edge Port: Disabled
Admin Link Type: Auto
Oper Link Type: Point-to-point
Spanning Tree Status: Enabled
Console#