How to Design STP Loop Free Network

Posted on 2016-08-13
Last Modified: 2016-08-16
Considering the impact that STP Loop can cause in the Network, I would like to know in real world whether there is granularity in configuration to fend off the loop or just set up VLANs normal way, use the VLAN Interfaces to communicate between VLANs and ignore the granular configuration.

What I mean by granular, to cite just few examples:
- Manually configure for each VLAN a specific Switch to be the Root for that VLAN
- Manually configure Access ports to be Portfast and at the same time configure the Ports with BPDUGUARD
- Manually configure on each VLAN each Blocked port with Loop Guard and UDLD
-Manually configure each VLAN with Root Guad,

if that's the case there should be a Config Template, that encompasses all those concerns.

Any clarifications on that ?

Thank you
Question by:jskfan
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
LVL 30

Accepted Solution

Predrag earned 500 total points
ID: 41754864
Basically that is design question and what are actual needs for specific network.
You can find guidelines for L2 (and other layers) implementation Campus Network for High Availability Design Guide , but details are scattered across the page.

if that's the case there should be a Config Template, that encompasses all those concerns.
Yes. Typically companies create template(s) how specific port type should be configured.
You do not have to use everything that there is there to protect your network, you need to create your own template for that purpose, although those rules are not  enough since in addition there should be general design guide how network should be designed. The reason for that is that you can have different potential problems according to network design.

Author Comment

ID: 41754935
The Example of Network I will use  is a Company that has a Data Center in Site A (the main Site) and has Branches in site B ,C,D,E,F . Each Branch has around 300 computer Users.
Sites are connected with WAN Connection.

All the Servers are in Site A, which means client requests will have to come to Site A to retrieve and Update the Information.
LVL 30

Assisted Solution

Predrag earned 500 total points
ID: 41754992
That actually depends on your network design.
Typically you should have for each location separate VTP domain (with it's own VLANs) and connect main site with branch offices over L3 links. Also typically you will have one VTP server per domain (for that VTP domain) and you can use the same VLAN numbers on for each location.
If you have one VTP domain for all locations it is currently considered as a bad design (L2 end-to-end network). Currently recommendation is to use L3 links wherever it is possible.
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users


Author Comment

ID: 41755081
Assuming Everything is set up properly..and we are running RPVST.
what do you do next to prevent STP loops ?
Do you have a Configuration Example that you can use on every single VLAN ?

Author Comment

ID: 41755398
Each Site is connected to the DataCenter (Core) as shown below:

Author Comment

ID: 41755399
What Configuration Template will you apply on Access /Distribution/Core Switches in order to avoid STP Loops ?

Author Closing Comment

ID: 41758672
I will do some reading later

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

AWS has developed and created its highly available global infrastructure allowing users to deploy and manage their estates all across the world through the use of the following geographical components   RegionsAvailability ZonesEdge Locations  Wh…
Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question