Configuring the Switch3-1023CLI – This example shows the STA attributes for port 5.Configuring Interface SettingsYou can configure RSTP and MSTP attributes for specific interfaces, including portpriority, path cost, link type, and edge port. You may use a different priority or pathcost for ports of the same media type to indicate the preferred path, link type toindicate a point-to-point connection or shared-media connection, and edge port toindicate if the attached device can support fast forwarding.Command AttributesThe 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-99 for additional information.)• Discarding - Port receives STA configuration messages, but does not forwardpackets.• Learning - Port has transmitted configuration messages for an interval set bythe Forward Delay parameter without receiving contradictory information. Portaddress 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)The following interface attributes can be configured:• Spanning Tree – Enables/disables STA on this interface. (Default: Enabled).• Priority – Defines the priority used for this port in the Spanning Tree Protocol. Ifthe path cost for all ports on a switch are the same, the port with the highest priority(i.e., lowest value) will be configured as an active link in the Spanning Tree. Thismakes a port with higher priority less likely to be blocked if the Spanning TreeConsole#show spanning-tree ethernet 1/5 4-170Eth 1/ 5 information--------------------------------------------------------------Admin status : enableRole : disableState : discardingExternal path cost : 10000Internal path cost : 10000Priority : 128Designated cost : 200000Designated port : 128.5Designated root : 61440.0.0000E9313131Designated bridge : 61440.0.0000E9313131Fast forwarding : enableForward transitions : 0Admin edge port : enableOper edge port : enableAdmin Link type : autoOper Link type : point-to-pointSpanning Tree Status : enableConsole#