UDLD Normal Question

Hi all,
I need some clarification on UDLD please.  I have always used UDLD aggressive mode and understand that with no issues.  What I am not clear on is exactly what UDLD does in normal mode.  According to the Cisco documentation,
"In normal mode, if the link state of the port was determined to be bi-directional and the UDLD information times out, no action is taken by UDLD. The port state for UDLD is marked as undetermined.  The port behaves according to its STP state."
If no action is taken in normal mode, is there any value in using it?
Thanks,
Bill

Hi Bill,
The UDLD is sadly underdocumented in several sources, and even the informational RFC does not contain all the necessary information to properly understand UDLD modes.
The truth is, according to U.S. Patent 6765877, that there are two ways in UDLD of detecting an unidirectional link: an explicit and an implicit method. To understand the explicit method, it is important to keep in mind that each switch indicates its own [Device ID, Port ID] tuple as the sender information in an UDLD message, and echoes back the [Device ID, Port ID] tuples received from its neighbors in an echo portion of the message. In other words, each UDLD message carries a device and port identity of its sender, and contains an echo list of all neighbors and their ports whose UDLD messages have been received on the port that sends out this UDLD message itself.
An unidirectional link is detected explicitly if one or more of the following events occur during the neighbor detection and linkup phase:
UDLD messages received from a neighbor do not contain the tuple that matches the receiving switch and port in their echo portion. This would indicate a split fiber or a truly unidirectional link.
UDLD messages received from a neighbor contain the same sender as the receiving switch and its port. This would indicate a self-looped port.
UDLD message received from a neighbor contain a different list of entries in the echo portion (i.e. a different set of neighbors) than the set of neighbors heard by this switch on this port. This would indicate a shared segment with a partial impaired connectivity between connected switches.
Whenever any of these three events is observed during an UDLD neighborship buildup with a neighboring switch, the link is declared unidirectional and subsequently disabled. Once again, this is called explicit unidirectional link detection. The setting of aggressive or normal mode has no effect on explicit detection.
An implicit unidirectional link detection refers to the event when UDLD messages arriving from the neighbor device suddenly cease to be received, without the port actually going down. This is where the aggressive or normal UDLD modes make a difference. In the normal mode, you simply age out the neighbor and do nothing, hoping that if there was a physical unidirectional fault on the link, the physical and link-layer mechanism would have brought the link down anyway. In aggressive mode, you assume that the physical layer has no capability of detecting and dealing with the unidirectional link condition itself, and when UDLD messages stop arriving, you err-disable the port just to be safe.
So the difference between the normal and aggressive modes relates to the difference in handling an implicit uni-directional link event. If an uni-directional link is detected explicitly, the port will always be err-disabled, regardless of the normal/aggressive mode.
The related U.S. Patent is a good, albeit tiresome, reading on this, especially the Figure 7 with the decision diagram; check out this thread:
https://supportforums.cisco.com/thread/2179927
Best regards,
Peter

Similar Messages

  • JFrame (extended) state, iconified/maximized/normal question

    Greetings and salutations,
    I've been removing some rough edges from my last application and I noticed the
    following: before an application quits every location/size of the top level components
    is written to a file. When the application starts again everything is read back in
    again and the application shows itself just as it was before it closed the last time.
    There's one little quirck though:
    A JFrame can be in one of three states when an application quits:
    1) iconified; nothing is wrong here, i.e. the application comes back on in the same
    iconified state and after de-iconification the JFrame shows up the same as
    before the previous quiting.
    2) 'normal': same as above: the JFrame shows up identical as before quiting
    the application the previous time.
    3) maximized: the new incarnation shows up as a maximized JFrame, but after
    'demaximalization' (sorry) the JFrame keeps its maximum size, i.e. if still fills up
    the entire screen.
    Before quiting I save the bounds, the state and the extended state of a JFrame
    and reinstate these values after a new incarnation of the application. I think I've
    tried all 2^3 == 8 possible permutations of this all, but option 3) keeps giving
    me trouble, i.e. the bounds don't work after 'demaximalization'.
    Ideas anyone?
    kind regards,
    Jos

    Here's a test program for people who want to experiment around a bit, but are reluctant to create a test class:import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import javax.swing.*;
    public class Test extends JFrame {
        public Test () {
            setDefaultCloseOperation (WindowConstants.DISPOSE_ON_CLOSE);
            setTitle ("Test");
            WindowInfo windowInfo;
            try {
                windowInfo = read ();
            } catch (Exception exception) {
                System.err.println ("couldn't read window.info");
                windowInfo = new WindowInfo ();
            setLocation (windowInfo.location);
            setSize (windowInfo.size);
            setExtendedState (windowInfo.extendedState);
            addWindowListener (new WindowAdapter () {
                public void windowClosing (WindowEvent event) {
                    try {
                        write (new WindowInfo (getLocation (), getSize (), getExtendedState ()));
                    } catch (Exception exception) {
                        System.err.println ("couldn't write window.info");
            setVisible (true);
        public static void main (String... parameters) {
            new Test ();
        private WindowInfo read () throws ClassNotFoundException, IOException {
            ObjectInputStream in = null;
            try {
                in = new ObjectInputStream (new FileInputStream ("window.info"));
                return (WindowInfo) in.readObject ();
            } finally {
                if (in != null) {
                    try {
                        in.close ();
                    } catch (IOException exception) {}
        private void write (WindowInfo windowInfo) throws IOException {
            ObjectOutputStream out = null;
            try {
                out = new ObjectOutputStream (new FileOutputStream ("window.info"));
                out.writeObject (windowInfo);
            } finally {
                if (out != null) {
                    try {
                        out.close ();
                    } catch (IOException exception) {}
        private class WindowInfo implements Serializable {
            public Point location;
            public Dimension size;
            public int extendedState;
            public WindowInfo () {
                size = new Dimension (600, 400);
                Dimension screenSize = Toolkit.getDefaultToolkit ().getScreenSize ();
                location = new Point (screenSize.width / 2 - size.width / 2, screenSize.height / 2 - size.height / 2);
                extendedState = NORMAL;
            public WindowInfo (Point location, Dimension size, int extendedState) {
                this.location = location;
                this.size = size;
                this.extendedState = extendedState;
    }Note that I fooled around myself a bit too.

  • A normal question regarding array threhold function

    Hi, i try to use the array threshold vi function but faced some problems. Pls see my VI. I can only a threshold result but can't get the other. Hope anyone could help me. Thanks
    Attachments:
    Test1.vi ‏37 KB

    The Threshold 1D Array function is looking for a rising edge across your threshold. Since your first array only contains falling data points the threshold function never finds a valid transition.
    See the LabVIEW help file for more detailed information about the threshold function.
    Christian L
    NI Consulting Services
    Christian Loew, CLA
    Principal Systems Engineer, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

  • A normal question on programming

    When programming, samples are very important. When I get a new function of java,
    how can I find some samples of it. The java language specification is very useful, but
    it doesn't include code samples.
    Please recommend a good way or a good place to solve this problem.
    Thanks.

    Thanks for your reply.
    It is very useful.
    Is there something like a sample code search engineering?
    For example, I have a method, and I want some sample code for it?
    Is that possible?

  • Questions about udld.

    Hi there.
    Now I've got some strange situation with udld.
    there are  two cisco switches which is ws6500 and one samsung L2 switch.
    The topology is triangle.
    c6500---------------c6500
         \                      / (uplink : trunk mode, allowed vlan 80)
           \                   / (uplink : trunk mode, allowed vlan 80)
            samsung L2
              (VLAN80)
    just enable udld normal mode on two 6500 swithces.
    and the link between samsung and cisco are in trunk mode. and only allowed vlan 80
    When I change vlan 80 to 81 on samsung L2 switch, After that,
    the link which is conneced to samsung switch on c6500 enters into errdisable mode.
    Is it common issue when changing vlan? why the interface enters into err?
    help me out !

    I can see udld table between c6500s across samsumg L2 switche. like CDP.
    The Cisco layer-2 control protocols VTP, DTP, CDP, PAgP and UDLD use all the same destination multicast MAC-address: 01-00-0C-CC-CC-CC. The frames are send untagged on trunks, non-Cisco switches usually treat them as "normal" layer-2 multicast.
    So the question is, why did the Samsung switch stop to forward those frames in its native VLAN after you changed the VLAN.
    Is the Samsung switch running a rapid spanning-tree mode? If it's non-rapid, maybe the configurattion change made the port to run through Learning and Listening states for 30 seconds (I assume those STP states are port-based, not per-VLAN on Samsung switches)?
    The UDLD timers on the 6500 are default (15s)?
    Regards
    Rolf

  • How to get a question in the course placed anywhere in the course and does not appear in the quiz result or total number of questions. Pretest would work except it can't go anywhere in the course (at least for me it can't)

    How to get a question in the course placed anywhere in the course and does not appear in the quiz result or total number of questions. Pretest would work except it can't go anywhere in the course (at least for me it can't)

    Use a normal question, and do not add the score to the total score. That will give you a correct score at the end. But the total number of questions, that system variable will still take into account all questions. You'll need a user variable, and calculate its value by subtracting 1 from the system variable cpQuizInfoTotalQuestionsPerProject. Same for the progress indicator if you want to show it?
    Customized Progress Indicator - Captivate blog
    If you want to allow Review, you'll have to tweak as well. You didn't specify the version, and all those questions I now mentioned.
    And my approach, since you talk about only one question: create a custom question, because you'll have total control then.

  • How do I change the font color for numbering in a matching question slide?

    I have a grey image on a question slide, but the numbering for the answers in a matching question is defaulting to grey so learners can't see to match up.  How can I change the font color of these choices?  Thanks.

    You probably edited the master slide without changing the theme colors? Check the Object Style for Answers in the Object Style Manager. The numbering takes the same color as the answer text.
    All depends on the Theme colors palette that you are using. Normally Question answers use the darkest tint of the fourth color. I started blogging about color management, but description of the use of Theme colors will be published later.
    Colorful 2015 with Adobe Captivate - Captivate blog

  • Search no mapped unicode characters as question mark

    No mapped unicodes characters are replace by question mark.
    I want to search/detect these characters to correct them (i may spend too much time to find the character "?" in a big document, because of real question mark).
    How can i do ?

    Arnis' .mif suggestion is the way I've tackled this problem from time to time, but save a spare copy before you start <g><br /><br />You may not need to, though. I haven't checked, but see if you can find a page with both a normal question-mark and one you know indicates a unicode character. Then copy/paste the unicode question-mark into the Find/replace dialogue and see what happens; I suspect it will have its own value, not the same as a normal question-mark.

  • Get rid of security questions

    Everybody knows these questions can be hacked easily (no data is secret in these days, and especially not "normal" questions").
    Forcing them on me is an added layer of security that just makes me want to stop using apple.
    I feel secure with my kong complex password that I dont use on another account.
    I think I will buy a Nexus 7 instead and just stop using this hassle of an OS. 

    Reset Security Questions
    http://support.apple.com/kb/HT5312
    If you can't solve problem, call Apple to help reset your Security Question.
    http://support.apple.com/kb/HT5699

  • Adobe captivate 7 PPT with question answer problem....

    when a question is answered incorrectly such as Question #2, it returns to slide #8, after it goes through slide #8 it repeats question #1.  Can we make sure it never repeats a question that has been answered correctly? ( Adobe captivate7 ) Please solve this issue...

    Welcome to the forum,
    Since you didn't get an answer after 2 days, this probably means that your question is puzzling users, not explained in detail? Can you give more details? Are you using normal question slides, and perhaps the Submit all functionality? Or is this happening in a second Quiz attempt? What is slide 8? Is it a content slide? 
    Question/score slide are much less controllable than normal slides.
    http://blog.lilybiri.com/question-question-slides-in-captivate
    Lilybiri

  • How do I add a progress monitor to a drag and drop question in captivate 7

    I need to build a quiz. We have spent a lot of time on the style guide and appearance but I am having difficulty adding a progress monitor to my drag and drop questions. How can I do this?

    A Drag&Drop is not a normal question slide, hence that progress indicator is not added, and it wouldn't even be functional.
    Long time ago I explained how to create a custom progress indicator, maybe it can help you: Customized Progress Indicator - Captivate blog

  • Pre-test Questions used as Knowledge Builders

    I need questions at the beginning of a course that will not be included when the learner clicks on the Retake and Review Quiz buttons. Pre-test questions work but they don't allow the use of text captions for incorrect and correct feedback. They use smart shapes. Are there any other limitations of Pre-test Questions?

    There are a lot of limitations. You are expected to have pretest question in sequence at the start of the course. All navigation will be cancelled: by playbar and by TOC.
    But what you say about the feedback being only smart shapes as text containers is not true at all. They follow the same styling as normal question slides. If you turned on Use Shapes for SFH in the Preferences, Defaults, it will be shapes. You can always change this even after having inserted the Quiz/Preset slides by going to the corresponding master slide, right-click on the shape and choose 'Revert to caption'. Although to me it is a mystery why you should prefer captions, just my personal opinion because shapes are so much easier to format.
    If you use normal question slides, and do not add its score to the Total score, most system quizzing variables will not include those 'Knowledge' slides. But indeed, as you point out, Review and Retake will go to the first Question slide, which may be a knowledge slide. With a shared/advanced action it is pretty easy to circumvent this. I almost never use Pretest slides for its limitations. Whenever possible I use custom question slides instead of the default ones for Knowledge slides.

  • IPod Nano 4Gb (2nd Gen) not detected by Windows or iTunes

    I am hoping someone can help me with this as I am at my wits end.
    When I plug my iPod into the usb port, it begins the charging process, but neither windows, nor iTunes will detect any new devices. I have tried the 4 R's (the fifth needs a connection with iTunes), putting it into disc mode, and even on 3 different windows computers, but no dice. To save the no doubt normal questions, The usb ports are 2.0, and brand spanking new, which i have tested sucessfully with other usb devices, so I know it's not the usb port. I have the latest drivers & updates installed, and the latest version of iTunes also installed.
    Other potentially useful info:
    The model is iPod nano 4bg alu 2nd gen
    It's not new, i was given it as a gift by a friend who upgraded to the video model.
    Though I can't be sure, I suspect that the dock cable isn't an apple product. Given that *very few* places where I live sell official iPod accessories, it is difficult for me to check.
    Like I said, i really hope someone can help me, I really don't know how long i can go listening to my friends rather dubious music tastes...

    hi,
    try the following article my friend...it will definitely resolve your problem..
    http://docs.info.apple.com/article.html?artnum=302420
    http://docs.info.apple.com/article.html?artnum=61711
    Regards,
    Sam

  • Playbar options are greyed out on skin editor Captivate 6

    Hi Everyone,
    I am building modules and all of a sudden when I went to publish the module the playbar is gone, I went to the skin editor and now the playbar options are completely greyed out and nothing I do will allow me to turn them back on....PLEASE HELP!!!

    Hello and welcome to the forum,
    Are you new to Captivate? Did you ever create an advanced action? I have several tutorials on my blog, and some articles as well:
    http://kb2.adobe.com/community/publishing/858/cpsid_85847.html has a video tutorial that shows how to create a conditional advanced action. Even though it is created for CP5, nothing has changed in CP6 (except perhaps the names of some system variables)
    http://blog.lilybiri.com/system-variables-in-captivate-6
    You do not need 3 variables at all, which was the reason why I asked my 'new' question. Are you using real pretest question slides or normal question slides or custom question slides?
    If you use Pretest question slides, the score will be stored in cpQuizInfoPretestPointsscored and the percentage in  cpQuizInfoPretestScorePercentage
    If you use normal question slides, the score will be stored in cpQuizInfoPointsscored and the percentage in  cpInfoPercentage
    If you use custom question slides, you'll have user variables in which you calculate both score and percentage
    If the numbers you are mentioning are percentages you'll create one conditional action with 3 decisions (here example for normal question slides):
    First decision: IF cpInfoPercentage is greater or equal to 70
                                 Jump to slide CHP3_1
    Second decision:  IF cpInfoPercentage is less than 70   AND
                                   cpInfoPercentage is greater or equal to 50
                                       Jump to slide CP2_1
    Third decision: IF cpInfoPercentage is less than 50
                               Jump to slide CHP1_1
    The slide labels CHPx_1 are for the first slides of each chapter.
    Lilybiri

  • How can I sync Mail database between MAC computers without using IMAP

    All, I know this has been asked several times in several forums but I wish to ask it again with a slight twist. The normal question is can I sync  Apple mail database (folders) between two MAC computers. The answer is always use IMAP, but unfortunately IMAP is limited on space to store historical emails. I keep mailboxes (on_my_mac) with thousands of emails and attachments that take up a massive amount of space, well beyond any IMAP server allowances. I keep these in order to search conversations that span over many months and sometimes years.
    I use GoodSync to sync my normal folders from my MAC Book Pro and my Mac Pro desktop so that I can have the same information (in real time) when working from home on my big machine or at the office using the laptop. This is great except I can not sync the email. I use Outlook 2011 but would prefer to use apple mail if I can sync the two computers (Sync'ing Outlook 2011 is even more impossible).
    I also do not want to start and stop my email clients to make this happen and worry about which MAC is running mail and what direction to copy the entire folder structure just to have to follow that up with a new re-build of the index.
    Has anyone came up with a viable solution this this problem. Also keep in mind the amount of data - Cloud based solutions are dependent on Internet connection speed (days of initial transfer time and hours to sync) and if I am on my laptop without internet connection, say on an airplane, I would be out of luck so I need the information local on each computer.
    Hopefully someone has some ideas, or maybe Apple can take a request for enhancement to Mail to support syncing multiple computers.

    I assume that this is a POP system then.
    There is no reliable method of syncing the Mail database between 2 Macs. Just how many Gigabytes of Mail do you have?

Maybe you are looking for