Spantree Loop Guard (question)

Hi All,
I would like to ask about one feature:-
(Spantree loopguard default), what does this feature provide?? And when should I use it??

Hello,
Ive never seen it configured in the networks I've worked on, but loopguard is STP feature that will monitor ports that were once receiving BPDU packtes. If these port stop receiving it, this could create a loop, so if you have loopguard enabled on this port the STP will block the port for going to FWD state.
Check:
The loop guard is intended to provide additional protection against L2 forwarding loops (STP loops). An STP loop is created when an STP blocking port in a redundant topology erroneously transitions to forwarding state. This usually happens because one of the ports of a physically redundant topology (not necessarily the STP blocking port) stopped receiving STP BPDUs. In its operation, STP relies on continuous reception or transmission of BPDUs, depending on the port role (designated port transmits, non-designated port receives BPDUs).
When one of the ports in a physically redundant topology stops receiving BPDUs, the STP conceives the topology as loop free. Eventually, the blocking port from the alternate or backup port becomes designated, and moves to forwarding state, thus creating a loop.
With the loop guard, an additional check is made. If BPDUs are not received any more on a non-designated port and the loop guard is enabled, that port will be moved into the STP loop-inconsistent blocking state instead of moving to the listening / learning / forwarding state. Without the loop guard, the port would assume the designated port role. The port would move to STP forwarding state, and thus create a loop. "
So, on which ports should the loop guard be enabled? The most obvious answer is on the blocking ports. However, this is not totally correct. The loop guard needs to be enabled on the non-designated ports (more precisely, on root and alternate ports) for all possible combinations of active topologies."
HTH,
if it does, I'd appreciate if you rated this post.
Vlad

Similar Messages

  • 3750x2 Disable loop guard and the effect on connectivity

    Hello,
    I have two building about 500 yards apart.  They are connected via a Lightpointe FSO (Free Space Optics) Laser and Airbridge (802.11n RF) point to point bridge.  The transport up to the head is done via a multimode fiber optic cable.
    When the signal level is good, FSO can achieve the full 1gbps link between buildings.  When the signal level falls below a definable threshold (in my case 250 mV), the Airbridge 802.11n RF point to point takes over.  This runs in the 5 GHz band on a 40 MHz channel, theoretic speed of 144 to 300mbps.
    The issue I have is when this failover occurs, the switch port will go into Loopguard_block and the remote building is dead in the water.  I happened to be over there today when this occurred and my quick fix was to unplug the fiber and plug it back in.  I since changed the thresholds and widened the window for the Laser to RF failover.  If the signal is below 250 mV, it fails over to RF.  It does not attempt to return to Laser until the signal hits 350 mV.  This "deadband" of 100 mV is to prevent flapping.  Previously it was a low of 250 and a high of 300.  So hopefully this helps.
    However if I were to want to disable Loop Guard, can I do it and what kind of ill effects would that have - if any?  Would I do this at both endpoints, or just the remote location?  The other end is our HQ and it goes right into the core switch stack (a group of 3750 switches).
    sh log on remote switch
    001056: Apr 30 18:04:12.261: %SPANTREE-2-LOOPGUARD_BLOCK: Loop guard blocking port GigabitEthernet1/1/1 on VLAN0044.
    001057: Apr 30 18:04:12.269: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan44, changed state to down
    001058: Apr 30 18:07:50.839: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/1/1, changed state to down
    001059: Apr 30 18:07:52.853: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/1/1, changed state to up
    001060: Apr 30 18:07:52.920: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan44, changed state to up
    001061: Apr 30 18:43:32.900: %SPANTREE-2-LOOPGUARD_BLOCK: Loop guard blocking port GigabitEthernet1/1/1 on VLAN0044.
    001062: Apr 30 18:43:32.908: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan44, changed state to down
    001063: Apr 30 18:43:32.925: %SPANTREE-2-LOOPGUARD_UNBLOCK: Loop guard unblocking port GigabitEthernet1/1/1 on VLAN0044.
    001064: Apr 30 18:43:33.000: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan44, changed state to up
    001065: Apr 30 20:06:40.829: %SPANTREE-2-LOOPGUARD_BLOCK: Loop guard blocking port GigabitEthernet1/1/1 on VLAN0044.
    001066: Apr 30 20:06:40.846: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan44, changed state to down
    001067: Apr 30 20:06:40.863: %SPANTREE-2-LOOPGUARD_UNBLOCK: Loop guard unblocking port GigabitEthernet1/1/1 on VLAN0044.
    001068: Apr 30 20:06:40.913: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan44, changed state to up
    Physical connectivity:
    Cat6 cable solely for powering (not connected to switch - connected to Lightpointe 48vdc power injector)
    multimode fiber cable connected to Lightpointe FSO head.
    FSO head has a cat 5e data port that passes power and data to a ubiquiti AirOS 5 powered nanostation (they brand this Airbridge).  
    Something internally in the FSO linkhead shifts the data flow to the ubiquity nanostation (and back) automatically.  Regardless of this activity, all data traverses that multimode fiber.  We do not handle any type of routing as the Lightpointe unit does it itself.  It is supposed to look like an ethernet handoff.
    We use VLAN44 (192.168.4.1) as a transport network and the switches are in layer 3 mode.

    Ok this is from the vendor:
    On a Cisco 3750x2 L3 switch, would there be any special port config statements to mitigate this? Should not be needed, but you can turn off Spanning Tree since the redundancy is being handled by the laser / RF combination on the roof.  
    So if I put spanning-tree portfast on the uplink port at the HQ and at the Remote side, that would effectively turn off spanning tree and prevent the port from going into loopguard?  Am I correct?  If the hardware on the roof handles 100% of the laser or RF mode of operation, then I don't need the Cisco switch to intervene.  Thoughts?

  • STP and Loop Guard

    Hi everyone, I've a question for you guys:
    Please check this topology: http://www.cisco.com/warp/public/473/84d.gif
    I've read that you must enable loop guard on every nondesignated port (root and alternate ports) to prevent unidirectional related loops. I understand the situation where switch C unblooks the AP port and cause a loop. But what if the link is not unidirectional, what if switch B has some problem and indeed switch C should forward traffic to the segment C-B? Is there a difference between the link going down (disconected)and just stop seeing BPDUs?
    Also, why would anyone configure loop guard on a root port? If for example, SWC stops seeing BPDUs from SWA, what would loop guard do? put the port in a block state or it would recalculate its Root port (port to SWB) and put the port to SWA into a designated state (after not receiving BPDS from SWA)? I'm very confused, any help would be greatly apretiated.
    Omar Montes

    The assumption made by STP is that if a link is not able to transmit BPDU, it is down. So if there is bidirectional link failure, the case is natively handled by STP. If there is only unidirectional link failure, you could end up with a unidirectional loop (which is about as bad as a bidirectional loop;-))
    Loopguard is relevant on each port that is supposed to continuously receive BPDU. If your root port stop receiving BPDU, STP will move it to designated and elect a new root port. This is ok if your old root port cannot receive and transmit traffic. However, if the link is unidirectional and the port does not get blocked by loopguard, you will have a loop through the old and the new root port (in one direction only, the old root port TX direction).
    Configuring loopguard on a designated port will not cause any problem anyway, so in fact you can configure loopguard blindly on all the port.
    The IEEE introduced a feature (the dispute mechanism) that works much better than loopguard in order to protect against unidirectional link failure. However, this mechanism requires an RSTP bpdu format. It is currently only implemented in MST on cisco switches (it will be soon available in rapid-pvst). No need to use loopguard with the latest MST code at least.
    Regards,
    Francois

  • CBO (optimizer) nest-loop join question

    OS: Red Hat Linux
    DB: 11gR1
    I have gotten two conflicting answers while reading books by Don Burleson and Dan Hotka. It has to do with the CBO and nested-joins:
    One says the CBO will choose the 'smaller' table as the driving table, the other states that the 'larger' table will be the driving table. And both stick by this philosophy as the preferred goal of any SQL Tuning -- that is, one states that the 'smaller' table should be the driving table. The other says the 'larger' table should be the driving table.
    I had always thought that the 'smaller' table should be the driving table. That in a nested loop the driving will not likely use an index even. Who is correct? (I am not going to say who said what, btw). :-)
    But I got to let one of them know they got a 'typo' ... :-)
    Thx.

    user601798 wrote:
    It is an over-simplistic scenario but, as I mentioned, if all other things are 'equal' -- which would include 'access time/work', then I think the small table as the driving table has the advantage.
    It is not possible for +"*all* other things to be equal"+. (my emphasis).
    If by +'access time/work'+ you mean the total is the same then it doesn't matter which table is first, the time/work is the same either way round.
    If you want to say that the +'access time/work'+ for acquiring the first rowsource is the same for both paths, and the +'access time/work'+ for acquiring related rows from the second table is the same FOR EACH DRIVING ROW, then the total +'access time/work'+ will be difference, and it would be better to start with the smaller table. (The example by Salman Qureshi above: Re: CBO (optimizer) nest-loop join question would apply.)
    On the other hand, and ignoring any idea of "all other things being equal", smaller tables tend to have smaller indexes, so if your smaller rowsource comes from a smaller table then acquiring those rows may be cheaper than acquiring rows from a larger table - which leads to the observation that (even with perfectly precise indexing):
    <ul>
    smaller number of rows * larger unit cost to find related rows
    </ul>
    may produce a larger value than
    <ul>
    larger number of rows * smaller unit cost to find related rows
    </ul>
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    A general reminder about "Forum Etiquette / Reward Points": http://forums.oracle.com/forums/ann.jspa?annID=718
    If you never mark your questions as answered people will eventually decide that it's not worth trying to answer you because they will never know whether or not their answer has been of any use, or whether you even bothered to read it.
    It is also important to mark answers that you thought helpful - again it lets other people know that you appreciate their help, but it also acts as a pointer for other people when they are researching the same question, moreover it means that when you mark a bad or wrong answer as helpful someone may be prompted to tell you (and the rest of the forum) what's so bad or wrong about the answer you found helpful.

  • Bridge assurance vs Loop Guard

    Hi all!
    I can't understand practical advantages of Bridge Assurance compared with Loop Guard.
    What exactly can do BA and can't do Loop Guard?
    Than you!!

    Hi,
    I hope you might have already read the below link which gives detailed explanation of what these two stp features does:
    http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst6500/ios/12-2SX/configuration/guide/book/stp_enha.html#wp1052528
    http://www.netcraftsmen.net/blogs/entry/what-is-bridge-assurance.html
    2)
    There are a few scenarios where LoopGuard would not be effective at detecting loops and/or unidirectional links.
    - can only be enabled on root & alternate ports. it CANNOT run on 'designated ports'.
    - ineffective at detecting a port that has been unidirectional since link-up.
    Bridge Assurance (BA) is effective at mitigating those remaining scenarios that LoopGuard could not.
    BA works because it turns STP into operating more like a routing protocol where BPDUs now go both ways on a given link verifying device health/awareness / lack of braindeadness.
    i.e. it turns STP from traditional "fail open" behavior to "fail closed".
    compare figure 1 to figure 3 in
    <http://www.cisco.com/en/US/docs/switches/datacenter/sw/4_2/nx-os/layer2/configuration/guide/Cisco_Nexus_7000_Series_NX-OS_Layer_2_Switching_Configuration_Guide_Release_4.2_chapter7.html#con_1285149>
    and it should be clear.
    HTH
    Regards
    Inayath
    ***** Please rate if this post if the info is usefull.

  • Why would you NOT enable Loop Guard on switch ports?

    Hello
    Why would you NOT enable Loop Guard on switch ports?
    It is disabled by default on all ports.
    Since it prevents loops, in the absence of receiving BPDUs on non-designated ports, why would it not be enabled by default?

    Ziffy wrote:
    The Galaxy S4 supports Google Wallet, but yet you block it from being used. Why exactly? This is not right. I suggest you enable it before you start losing customers. Is there anybody out there that would like to start a petition? Perhaps look into whether or not this is actually legal? Seems like unfair practices to me. Thoughts?
    Good luck with that.  FCC already did and have left it alone...  My theory is because... Google charges carriers to use allow devices to use it.  At one point Sprint paid to go exclusive for wallet.  FCC can't force you to buy your competitors product.

  • Loop guard & udld agressive - etherchannel

    Hi,
    Can anybody pls share whether I need to enable loop guard & udld agressive config on Ether-Channel
    what is the ciso recomendation / Pls share the document for the same
    Also pls share in case the same is required on Physical interface or on Port-channel interface,
    As per my understanding it is required on Physical interface
    Br/Subhojit                  

    what is the ciso recomendation / Pls share the document for the same
    Link: STP Enhancements using Loop Guard and BPDU Skew Detection Features # Loop Guard versus UDLD
    "(...) UDLD might be more flexible in the case of unidirectional links on EtherChannel. In this case, UDLD disables only failed links, and the channel should remain functional with the links that remain. In such a failure, the loop guard puts it into loop-inconsistent state in order to block the whole channel."
    HTH
    Rolf

  • Loop guard

    I am planning to implement the enable the loop guard option. I Just want to Know will there be any STP topology change.( topology recalculation)

    I suppose everybody thinks they know what they are doing when they are doing it.
    Configuring portfast on a live switch can be very dangerous.
    Scenario:
    Two access switches are uplinked to a pair of core switches without portfast enabled on the access ports. A user has connected a hub in a conference room and mistakenly connected 2 ports on the hub to the network, one to each access switch. An engineer configures portfast on the access switches and a bridge loop is created. So much traffic floods through the loop that HSRP and routing protocols start breaking, STP is unable to break the loop. The whole network comes to a stand still.
    This isnt something made up. This has actually happened. I was called to the scene to help clean up the mess.

  • Adding loops and loops format question

    Hi, i've been facing difficulties adding loops into my GB. My problem is: "Loops do not appear in my loop browser nor the loop list from the silver loop bar above the browser".
    Yes, forgive me for asking this repeated question but after checking the help tutorial, my personal GB guide books, and even HangTime's FAQ, sadly, i still dont find any answers.
    Generally, the procedure is pretty simple from all the sources i've read. Simply drag the folder or loops into the browser and thats DONE right? I did exactly what it said but sigh...maybe there's something wrong with my Macbook?
    For your information, all the loops that i've been adding are loops from CDs coupled with FutureMusic and ComputerMusic magazines, so i believe the sources are pretty reliable i hope.
    As i was struggling to add the loops, this msg popped up for the first time; "Loops that are not in Apple format will not be added into GB"
    So, is the loop format the main cause of my problem?
    if yes, is there any way to convert the format? what is the procedure?
    ps: My current status is, some loops i added are in my browser while some dont although they exist in User/Library/Audio/AppleLoops/UserLoops.
    Thank you in advance.
    Peace

    So, is the loop format the main cause of my problem?
    likely.
    if yes, is there any way to convert the format? what is the procedure?
    apple's loop utility:
    http://www.bulletsandbones.com/GB/GBFAQ.html#looputility
    also note:
    http://www.bulletsandbones.com/GB/GBFAQ.html#missingloops

  • Logic Loop Copyright Question

    Hi all. My question is, are all of the loops provided in Logic, Garageband, or any of the Jampacks, free from copyright restrictions? Meaning when utilized for commercial purpose, do they need to be declared as samples, or is everything provided, basically up for grabs? Thanks!

    I thought this was quite clear:
    "2. Permitted License Uses and Restrictions.
    This License allows you to install and use one copy of the Apple Software on a single Apple-labeled computer at a time. You may use the Apple and third party audio loop content (“Audio Content”), contained in or otherwise included with the Apple Software, on a royalty-free basis, to create your own original soundtracks for your video and audio projects.
    You may broadcast and/or distribute your own soundtracks that were created using the Audio Content, however, individual samples, sound sets, or audio loops may not be commercially or otherwise distributed on a standalone basis, nor may they be repackaged in whole or in part as audio samples, sound libraries, sound effects or music beds."

  • Closed loop configuration question

    I have a motor(with encoder feedback) attached to a linear actuator(with end limit switches).
    The motor has a commercially bought servo drive for control. 
    The servo drive will accept either a step/direction (2 seperate TTL
    digital pulse train inputs) or an analog -10 to 10vdc input for
    control. 
    The purpose is to drive a linear actuator(continiously in and out) in
    closed loop operation utilizing a ( (SV) Setpoint variable)value from a
    file converted to a frequency to compare with an actual ( (PV) Position
    variable) measured frequency.
    I have created and experimented with individual vi's allows analog
    control and digital pulse train control (thankfully with the help of
    examples). 
    Before I pose my question, I would like to make the following
    observations:  It is my understanding that Closed loop control
    means that I dont need to know an exact position at which to drive, but
    constant comparision of PV and SV through PID applictation. 
    Without getting into any proprietery information I can say that the
    constant positioning of the linear actuator will produce a latency of 2
    to 3 seconds based on the time the actuator moves to a new position and
    when the PV will change.  While experimenting with the analog
    input, i noticed imediate response to motor velocity, but after the
    motor is stopped, position is not held in place.  However, while
    experimenting with the Digital pulse train input, I noticed that the
    servo drive can only accept one command at one time; if, halfway
    through a move, position error produces a response to move the linear
    actuator in the opposite or different direction, the origional move
    must finish first. 
    Can anyone recommend the proper configuration for the closed loop control i have described?
    If I can make the system work with the servo drive/motor I plan to use
    the simple (pci 6014) daq card with the Analog out, or utilize the
    digital out.
    If I cant get this to work, we do have a pxi with 7344 motion card(I
    would like to exhaust all efforts to use the PCI 6014 card).
    Depending on where I go from here, I planned to use the PID vi's for the loop control.
    Thanks,
    Wayne Hilburn

    Thanks for the reply
    Jochen.  I realize there is a built-in latency with windows but I
    think the I/O control would be ok.  A change in actuator position
    will not result in an immediate change in process variable;  Is
    there a way to measure the latency or is it calculated?  A
    satisfactory reaction time could be from 1 to 1.5 sec.
    Use of the PCI-6014 is to supply the control output to the servo
    drive/amp, and not to drive the motor itself.  As stated earlier,
    while using the 6014 board, I have the choice of digital or analog
    output.
    Currently I am at a point where I must choose which configuration,
    analog control or digital control(in the form of digital pulse train),
    (i am inserting from first message)
    While experimenting with the analog
    input, i noticed imediate response to motor velocity, but after the
    motor is stopped, position is not held in place.  However, while
    experimenting with the Digital pulse train input, I noticed that the
    servo drive can only accept one command at one time; if, halfway
    through a move, position error produces a response to move the linear
    actuator in the opposite or different direction, the origional move
    must finish first.  .
    I dont claim to understand all the limitations with the
    specific boards, however, i am using an approach that is showing me the
    characteristics(a couple are listed in the above paragraph)  of
    the hardware and software configurations.
    So I am really back to my origional question;  Which configuration
    would be better for closed loop control, analog or digital pulse train?
    Thanks,
    Wayne Hilburn

  • A Data Guard Question

    Dear experts,
    This time I have a question regarding Data Guard.
    Database:      Oracle 10g Release 2 (10.2.0.3)
    OS:          IBM - AIX 5.3 - ML-5
    Data Guard:     Physical Standby
    We have multiple data guard configuraiton in place and all of them are configured in "MAXIMUM PERFORMANCE" mode.
    Currently, we have a separate mount point for archive logs (say /dbarch) on both primary and standby servers.
    Once log is archived on primary, it is shipped to standby server and applied.
    I think we are wasting space by allocating (/dbarch) on standby server, instead we can share "/dbarch" of primary with standby using NFS.
    I remember reading such document. I tried to search in Oracle documentation, google, and metalink for the same but failed :((
    Any help in this regard will be very helpful.
    Thanks in advance.
    Regards

    From a DR perpespective, this sounds like a recipe for losing data.
    If your primary site has a disaster, and there are logs that have not been applied to the standby then you will never be able to apply them as they will have been lost in the crash.
    The point of having the standby is to eliminate a single point of failure - and this mechanism is reintroducing it!
    jason.
    http://jarneil.wordpress.com

  • Data Guard questions

    Hello all,
    I am a newbie to data guard.
    1) Unless using the real time apply feature, standby redo logs must be archived before the data can be applied to the standby database. Am I correct in my understanding?
    2) Can we keep standby database in higher version(11i) and primary database in 10g?
    3) Do I need to left blank LOG_ARCHIVE_DEST_2 parameter on Standby Database init parameter?
    4) Can we face any problem if we have different LOG_ARCHIVE_FORMAT on the primary and standby site?
    Waiting for your valuable reply.
    With regards

    994269 wrote:
    Hello all,
    I am a newbie to data guard.
    Wel come to the data guard>
    1) Unless using the real time apply feature, standby redo logs must be archived before the data can be applied to the standby database. Am I correct in my understanding?
    Not uderstand your question.
    2) Can we keep standby database in higher version(11i) and primary database in 10g?
    No. Both the version should be same.
    3) Do I need to left blank LOG_ARCHIVE_DEST_2 parameter on Standby Database init parameter?
    Yes.Until you dont required to send archived log from standby database to any other database. If you have cascaded setup then you would required to set the parameter as required.
    4) Can we face any problem if we have different LOG_ARCHIVE_FORMAT on the primary and standby site?
    Yes. We should keep default log format or shourl be same.
    Waiting for your valuable reply.
    With regards

  • Infinite Loop (newbye question)

    Hi guys,
    I have a question :
    I am trying to have a piece of text blink by changing its alpha
    To reach that goal I have two options :
         - A Classic tween with Alpha variation and then go back to first frame
         - Change the alpha with an AS3 script using loops
    I am trying the second option for a smoother result .
    Though I think that an infinite loop make Flash crash (which append indeed when I tested)
    Do you know what I should add top the below code to make it work ?
    I need to call 'decreasealpha' first then 'increasealpha' and back to 'decreasealpha' and this endlessly ... but don't know how to do it
    var alphamax:Number = 0.40;
    var alphamin:Number = 0.15;
    Text_mc.alpha = alphamax;
    function decreasealpha (a:MovieClip):void
    while (a.alpha > alphamin)
    a.alpha = a.alpha-0.01;
    a.alpha=alphamin;
    function increasealpha (a:MovieClip):void
    while (a.alpha < alphamax)
    a.alpha = a.alpha+0.01;
    a.alpha = alphamax;
    Many Thanks

    Get rid of the while loop altogether.  Essentially you are not letting Flash update at each increment.  Use timer to callback into your decrease/increase-alpha functions.  Or better yet, use a tween simulater (like Tweener)...
    protected function decreasealpha()
         Tweener.addTween(Text_mc, {alpha:alphamin, time:1.0, onComplete:increasealpha});
    protected function increasealpha()
         Tweener.addTween(Text_mc, {alpha:alphamax, time:1.0, onComplete:decreasealpha});
    Cheers,
    Jason

  • [SOLVED]Python3 If/Else Loop (Noob Question)

    I'm learning python because of it's ease of use and mathematical libraries, and I decided to create a program to mess with loops.
    Here is the program:
    #!/usr/bin/python
    #Filename: evil.py
    print("*******************************************************************")
    print("* Gorge of Eternal Peril Challenge *")
    print("* *")
    print("*******************************************************************")
    print()
    print()
    ca2 = 'Blue'
    ca3 = 'African or European Swallow?'
    a1 = input('What... is Your Name?\n')
    if a1 != int:
    a2 = input('What... is Your Favorite Color?\n')
    if a2 == ca2:
    a3 = input('What... is The Airspeed Velocity of an Unladen \
    Swallow?\n')
    if a3 == ca3:
    print(" I don't know that! AAAAAUUUUUUGGGHHHH...")
    else:
    print('AAAAAUUUUUUGGGHHHH You have been cast in to the Gorge of \
    Eternal Peril!')
    I'm not sure why, but it won't end up in the else statement. Also, if anyone can tell me how to exclude numbers from question one I'd be much obliged.
    Thanks.
    EDIT: Some strange things happened in this window. The Title box is lined up and the if statements are at the same tab
    Last edited by duke11235 (2011-06-20 04:12:46)

    #!/usr/bin/python
    #Filename: evil.py
    print("*******************************************************************")
    print("* Gorge of Eternal Peril Challenge *")
    print("* *")
    print("*******************************************************************")
    print()
    print()
    ca2 = 'Blue'
    ca3 = 'African or European Swallow?'
    a1 = input('What... is Your Name?\n')
    if a1 != int:
    a2 = input('What... is Your Favorite Color?\n')
    if a2 == ca2:
    a3 = input('What... is The Airspeed Velocity of an Unladen \
    Swallow?\n')
    if a3 == ca3:
    print(" I don't know that! AAAAAUUUUUUGGGHHHH...")
    else:
    print('AAAAAUUUUUUGGGHHHH You have been cast in to the Gorge of \
    Eternal Peril!')
    do it like this:
    #!/usr/bin/python
    #Filename: evil.py
    print("*******************************************************************")
    print("* Gorge of Eternal Peril Challenge *")
    print("* *")
    print("*******************************************************************")
    print()
    print()
    def questions():
    ca2 = 'Blue'
    ca3 = 'African or European Swallow?'
    a1 = input('What... is Your Name?\n')
    if type(a1) is str:
    a2 = input('What... is Your Favorite Color?\n')
    if a2 == ca2:
    a3 = input('What... is The Airspeed Velocity of an Unladen \
    Swallow?\n')
    if a3 == ca3:
    print(" I don't know that! AAAAAUUUUUUGGGHHHH...")
    return true
    else: return false # Else of if a3 == ca3
    else: return fase # Else of if a2 == ca2
    else: return false # Else of if type(a1) statement
    if questions(): pass
    else: print('AAAAAUUUUUUGGGHHHH You have been cast in to the Gorge of \
    Eternal Peril!')
    Last edited by markbabc (2011-06-20 02:48:07)

Maybe you are looking for

  • [package related not upgrade related] xorg-server-kdrive won't compile

    The page related to this package suggests that it fails to build except I'm not too sure what to make of the comments - at any rate, it refuses to compile, complaining about something like %.04X not being what the compiler expected it to be or some s

  • Why audio books are not coming into itunes

    generally I download 2 books a month from audible.com, after download from audible site, they pop into  itunes and i transfer them to an ipod. Even though audible show them as downloaded and my mac download window shows them as downloaded, they are n

  • Scrollable Frames bugs

    Hi, I got some errors with drop 19 while creating my first magazine.... 1. Horizontal slider, placed on the left side. On the right side is an image with a contour and a textflow (nor sure whats the name for that n english...). If you scroll the text

  • How SAP handles Child Idoc segment data insertion automatically

    Hello, We have some Infotypes with extra segments and IDocs are getting created with Parent and child segments. To fill the data into the parent/child segments, we are currently using User-Exits. Is there any settings/config in table level(e.g. T777D

  • Diff bet WebClient and WinClient

    Hi, I understand the difference. WinClient is used at Enterprise level front-office screen by the agent. WebClient is browser based views, an agent can use as front-office in Interaction Center. An email can be sent to a customer both from WinClient