Cisco Support Community
STP is a link layer network protocol that ensures a loop-free topology for any bridged LAN. The basic function of STP is to prevent bridge loops and to ensure broadcast radiation. This article explains how to configure STP on a specific port on the SRW WebView Switches.
• SRW WebView Switches
STP Port Configuration
Note: STP Port Settings are only configurable if Global STP is enabled on the device. To enable Global STP, follow the step mentioned in the article Configure Global Spanning Tree Protocol (STP) Settings on SRW WebView Switches
Step 1. Log in to the web configuration utility to choose Spanning Tree > STP Port Settings. The STP Port Settings pageopens:
Step 2. Click the radio button for the type of interface that you would like to modify, then choose the interface ID from the Port or LAG drop-down list.
• Port — An application-specific or process software construct serving as a communications endpoint in a computer's host operating system. The Port drop-down list allows to choose the port that is to be modified.
• LAG — A Mechanism installed on a home network that allows you to insert delays into the flow of local traffic to internet.The LAG drop-down list allows to choose the LAG that is to be modified.
Step 3. Check the STP check box to enable the spanning tree protocol on the particular interface. Spanning Tree Protocol eliminate the loops and create a path for the data with the best cost for the network.
Step 4. Choose the desired option from the Port Fast drop-down list. The port fast is used to enable the fast link on the port, the fast link improves the performance of the STP in the network reducing the time of convergence. The possible values are Enabled, Disable and Auto.
• The current STP port status is displayed in the Port State field. The possible values are:
– Disable — STP is currently disabled in the port. This status is displayed when the port is learning the MAC address.
– Blocking — The classic STP is currently working in the port, but the port is blocked, cannot let traffic pass through it, or learn MAC addresses..
– Listening — The port is currently listening and it cannot learn a MAC address or forward traffic.
– Learning — The port is currently learning a MAC address and it cannot allow the traffic forward through it .
– Forwarding — The port can learn a MAC address and at the same time allow the traffic forward through it .
• The current port speed is displayed in the Speed field. There are three possible values (10Mbps, 100Mbps and 1000 Mbps)
Step 5. Enter the cost for the port in the Path Cost field. The path cost is used to calculate the contribution of the port in the network.
Step 6.(Optional) Check the Default Path Cost check box to enable the default cost value for the port.
Step 7. Enter the priority in the Priority field. The priority is used if the port has to be chosen in a certain path based on its influence in the network. The possible value is between 16 to 240 and it can be only change with increments of 16, consider 16 as the highest priority value.
• The following fields are only displayed when a bridge is configure for the interface:
– Designated Bridge ID — Displays the priority of the bridge and the MAC address of it.
– Designated Port ID — Displays the priority of the port and interface.
– Designated Cost — Displays the cost of the port in the network and its contribution to it.
– Forward Transitions — Displays how many times the port has changed its status from Blocking to Forwarding.
Step 8. Click Updated. The changes are displayed in the STP Port Settings Table as shown in the picture below.