How to configure STP/RSTP on L2 Managed switches using the new GUI

T2500G-10TS( V2 ) , T1500G-10PS( V2 ) , T1600G-28TS( V2 V3 ) , T2600G-28MPS , T1500G-10MPS( V2 ) , T1600G-52PS( V3 ) , T1500-28PCT( V3 ) , T1500G-8T( V2 ) , T1600G-52TS( V3 ) , T2600G-28TS( V3 ) , T1600G-28PS( V3 )
Recent updates may have expanded access to feature(s) discussed in this FAQ. Visit your product's support page, select the correct hardware version for your device, and check either the Datasheet or the firmware section for the latest improvements added to your product. Please note that product availability varies by region, and certain models may not be available in your region.
In a Layer 2 network, switches are often interconnected using redundant links to improve reliability. However, redundant links could bring loops at the same time, which may cause broadcast storm. To guarantee the network reliability and avoid loops at the same time, the best solution is STP (Spanning Tree Protocol).
Devices running STP can discover loops in the network and logically block some specific ports. Then a ring network can be disbranched to a loop-free tree structure network.
RSTP is similar with STP, but the speed of convergence is much faster than that of STP. For this reason, we recommend you choose RSTP instead of STP.
Typical Topologies
To make it simple to understand, here introduces three typical ring topologies. Both STP and RSTP can be applied to these topologies to avoid loops.
Although the topologies are different, the configurations of STP/RSTP are similar. This article will take the RSTP configuration of topology 1 as an example.
Note:
- Please configure STP/RSTP of switches first and then connect them together to avoid the broadcast storm.
- In this article, we only simply enable RSTP on the switches and the corresponding ports. The root switch, root ports, designated ports and blocked ports will be elected automatically. If you need to set a specific switch as the root port, or specify a port to be blocked, please set the CIST priority of the switch and the path cost of the ports according to your needs.
For the configuration of three switches are same, here we only take the configuration on switch 1 as an example.
Step 1:
Go to L2 FEATURES > Spanning Tree > STP Config page, enable Spanning Tree function globally and choose the mode as RSTP. Leave the other parameters as the default values.
Step 2:
Go to L2 FEATURES > Spanning Tree > Port Config page, enable Spanning Tree function for port 1/0/1 and 1/0/2. Leave the other parameters as the default values.
After the configurations on all switches are finished, connect them together as the topology shows. RSTP will decide which port should be blocked automatically. You can view the details on L2 FEATURES > Spanning Tree > STP Config > STP Summary page.
Is this faq useful?
Your feedback helps improve this site.
What’s your concern with this article?
- Dissatisfied with product
- Too Complicated
- Confusing Title
- Does not apply to me
- Too Vague
- Other
Thank you
We appreciate your feedback.
Click here to contact TP-Link technical support.

TP-Link Community
Still need help? Search for answers, ask questions, and get help from TP-Link experts and other users around the world.
This website uses cookies to improve website navigation, analyze online activities and have the best possible user experience on our website. You can object to the use of cookies at any time. You can find more information in our privacy policy .
This website uses cookies to improve website navigation, analyze online activities and have the best possible user experience on our website. You can object to the use of cookies at any time. You can find more information in our privacy policy .
Basic Cookies
These cookies are necessary for the website to function and cannot be deactivated in your systems.
TP-Link
SESSION, JSESSIONID, accepted_local_switcher, tp_privacy_base, tp_privacy_marketing, tp_smb-select-product_scence, tp_smb-select-product_scenceSimple, tp_smb-select-product_userChoice, tp_smb-select-product_userChoiceSimple, tp_smb-select-product_userInfo, tp_smb-select-product_userInfoSimple, tp_top-banner, tp_popup-bottom, tp_popup-center, tp_popup-right-middle, tp_popup-right-bottom, tp_productCategoryType
Youtube
id, VISITOR_INFO1_LIVE, LOGIN_INFO, SIDCC, SAPISID, APISID, SSID, SID, YSC, __Secure-1PSID, __Secure-1PAPISID, __Secure-1PSIDCC, __Secure-3PSID, __Secure-3PAPISID, __Secure-3PSIDCC, 1P_JAR, AEC, NID, OTZ
Zendesk
OptanonConsent, __cf_bm, __cfruid, _cfuvid, _help_center_session, _pendo___sg__.<container-id>, _pendo_meta.<container-id>, _pendo_visitorId.<container-id>, _zendesk_authenticated, _zendesk_cookie, _zendesk_session, _zendesk_shared_session, ajs_anonymous_id, cf_clearance
Analysis and Marketing Cookies
Analysis cookies enable us to analyze your activities on our website in order to improve and adapt the functionality of our website.
The marketing cookies can be set through our website by our advertising partners in order to create a profile of your interests and to show you relevant advertisements on other websites.
Google Analytics & Google Tag Manager
_gid, _ga_<container-id>, _ga, _gat_gtag_<container-id>
Google Ads & DoubleClick
test_cookie, _gcl_au