Solved

When to use UDLD

Posted on 2016-08-06
7
38 Views
Last Modified: 2016-08-07
UDLD is mentionned in several examples where Fiber Channel connection is used. However I believe it is also used in Copper cable connections when Etherchannel is configured.
For Etherchannel , I thought STP can take care of the loops if any cable goes wrong, no need for UDLD.  
I am not sure if in Fiber Channel we 'll have to configure both  STP and UDLD

Thank you
0
Comment
Question by:jskfan
  • 4
  • 3
7 Comments
 
LVL 26

Expert Comment

by:Predrag Jovic
ID: 41745925
You can use UDLD on optic cables, copper cables including on etherchannels. UDLD and STP do not exclude each other, you need to configure both (or at least just STP), if you disable STP and enable just UDLD it can lead to network loop. UDLD can be considered a kind of helper for STP (created for specific purpose - detect unidirectional links), addition to make sure that STP will function properly.

You can read for example this article.
0
 

Author Comment

by:jskfan
ID: 41746252
- What do they mean by Unidirectional Link ? if Fiber is used then each link is dual-link (TX/RX)
- If UDLD is implemented and it detects a non-functional cable and turns the port into Errdisabled then what does STP do , as I am assuming UDLD has faster detection than STP ? I know that STP will change the Topology, but what I am looking for is if STP alone can do the job then what UDLD adds as value ?

Thank you
0
 
LVL 26

Expert Comment

by:Predrag Jovic
ID: 41746285
if Fiber is used then each link is dual-link
UDLD (Uni Directional Link Detection) - is all about if only one link gets broken (Tx or Rx) and other link is still active. If only one link is active it can lead to network loop, STP in that case will not function properly.
Unidirectional link is classic example how to create network loop, STP in that case will not detect network loop since it stops receiving BPDUs on inactive link.
what I am looking for is if STP alone can do the job then what UDLD adds as value ?
In the case of unidirectional link STP will not function properly. For that case you need to configure UDLD or LoopGuard.
If UDLD is implemented and it detects a non-functional cable and turns the port into Errdisabled then what does STP do
STP prevents network loop in the case when cable function properly. UDLD detect cable problems and error disables the port if problem is detected.
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

Author Comment

by:jskfan
ID: 41746301
Ok in Fiber it makes Sense, since one Cable going to one Port , in fact  behind the scene is 2 cables(RX/TX) going to one port, and STP is based on Port than the physical link itself. UDLD in this case will help STP .


in Copper each cable is going to one Port , if ports are aggregated then it still one cable is going to one port, and STP is capable of detecting the link failure when a port does not receive BPDUs. UDLD in this case , I do not see it where it can help STP
0
 
LVL 26

Expert Comment

by:Predrag Jovic
ID: 41746316
in Copper each cable is going to one Port
Let's take for example 100Mb cable link. It uses 2 pair of wires, if one wire is broken (it happens occasionally) only one pair (Tx or Rx) will be active and in that case you have the same effect as in the case of optic cable.
0
 

Author Comment

by:jskfan
ID: 41746334
So UDLD is used in Cables that have RX/TX  going to one port

100 MB is Fastethernet , so it applies to Fastethernet ?
0
 
LVL 26

Accepted Solution

by:
Predrag Jovic earned 500 total points
ID: 41746434
It applies to both Gig and Fast ethernet links, it is just checking is traffic unidirectional, as long as it is bidirectional everything is OK, otherwise it will error disable port. I used specifcally 100Mb ports for easier understanding.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Hello , This is a short article on how would you go about enabling traceoptions on a Juniper router . Traceoptions are similar to Cisco debug commands but these traceoptions are implemented in Juniper networks router . The following demonstr…
The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
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…
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…

747 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now