?
Solved

Loop Guard and UDLD

Posted on 2016-08-08
10
Medium Priority
?
169 Views
Last Modified: 2016-08-21
I know that Loop guard is STP (L2) and UDLD is different (L1).
I would like to know if implementing Loop Guard would serve the purpose without implementing UDLD ?  

regarding  Loop guard, I am not sure if it is necessary. I believe in STP by default , if a port does not receive BPDUs ,STP will do its calculation and eventually will have one of the redundant link in blocking mode. So why configure Loop Guard ?

 Thank you
0
Comment
Question by:jskfan
[X]
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
  • 6
  • 4
10 Comments
 
LVL 14

Expert Comment

by:SIM50
ID: 41747286
Loop guard doesn't protect against mis-wiring where UDLD does.
UDLD doesn't protect against problems caused by the software where loop guard does.
Overall, both, loop guard and UDLD are pretty close and if you want to implement only one and not the other, it is suggested to go with UDLD. Software glitches are more rare than mis-wiring.

Lets say a port can't receive but can still send data due breaking of one strand of fiber. Can't receive data, can't see BPDUs. It causes the alternate port to transition to forwarding. Now you have one way loop. Configuring loop guard/UDLD helps to prevent this from happening.
0
 

Author Comment

by:jskfan
ID: 41749694
I would say probably UDLD  has capability of catching up the issue before STP knows about it..in other words it is a matter of timing .

In real environment, do Network Engineer configure Loop Guard in every blocked port in the Network ? knowing that Topology can change as well as the ports that are Blocking.
0
 
LVL 14

Expert Comment

by:SIM50
ID: 41750323
Well, once you have a proper network topology with core and aggregation layers, it doesn't change much often. But honestly, in my opinion, L2 networks and STP are becoming obsolete due to the convergence time and wasted links. Plus other factors like seven switch limitation of STP and etc. further decrease the viability in large networks. I attribute this to my lack of seeing the use of Loop Guard in the production environment. For example, in my previous job, all links were routed.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:jskfan
ID: 41751379
in my opinion, L2 networks and STP are becoming obsolete
So how do you prevent a Loop from occurring in the Network ?
0
 
LVL 14

Expert Comment

by:SIM50
ID: 41751404
It's all in the design. You design VLANs not to expand passed you aggregation switches. Use routed links. If you need to expand it, like for your vmware servers, you use VXLAN or OTV. You can implement FabricPath and VPCs. There are many options available.
0
 

Author Comment

by:jskfan
ID: 41753231
OK STP is Layer2 , means it does not go beyond L3 device.
VLANs talk to each other through an L3 device (Router or L3 Switch)
If PVST or RPVST is implemented then even if there is an STP Loop, it might impact only hosts in that VLAN, the Loop cannot traverse L3
0
 

Author Comment

by:jskfan
ID: 41760368
You design VLANs not to expand passed you aggregation switches

you mean beyond Core Switches or Distribution Switches ? if you have them both in the design
0
 

Author Comment

by:jskfan
ID: 41760399
Well going back to UDLD and Loop Guard
 if we happen to choose Loop guard only , will it accomplish the same thing as implementing both UDLD and Loop Guard?

Also

if we happen to choose UDLD only , will it accomplish the same thing as implementing both UDLD and Loop Guard?
0
 
LVL 14

Accepted Solution

by:
SIM50 earned 2000 total points
ID: 41760896
UDLD works only on the fiber links. If you use copper than your option is Loop guard.
0
 

Author Closing Comment

by:jskfan
ID: 41764371
Thank you
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

On Feb. 28, Amazon’s Simple Storage Service (S3) went down after an employee issued the wrong command during a debugging exercise. Among those affected were big names like Netflix, Spotify and Expedia.
Powerful tools can do wonders, but only in the right hands.  Nowhere is this more obvious than with the cloud.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), 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…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…
Suggested Courses

765 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