Solved

Cisco Loop Guard Confusion

Posted on 2010-09-24
6
1,178 Views
Last Modified: 2012-05-10
I have problems understanding loopguard. Firstly why would you put loop guard on a root port which is a forwarding state anyway??
Secondly when we put loop guard on what happens when when the neighboring switch legitmately goes down and the obviously the blocking port
stops recieving bpdu's from the switch that has gone down it then it goes into the loop inconsistent state rather than into a forwarding state for the segment does it not
take away the failover functionality of spanning tree requiring manual intervention??
0
Comment
Question by:BarepAssets
  • 3
  • 2
6 Comments
 
LVL 28

Accepted Solution

by:
mikebernhardt earned 500 total points
ID: 33756718
If the neighboring switch goes down, the link will go down with it (not just the bpdus) and loop guard won't interfere with normal spanning tree.
0
 
LVL 2

Expert Comment

by:jbrmiller
ID: 33757074
Loopguard doesn't use bpdus, so, it's not related to spanning tree.
Loopguard sends keepalives through all ports on the switch, and this frames are ignored by all neighborging switches, and are not forwarded. But, if a loop is created, and the switch receives his own keepalive in any port, the port is err-disabled.

the protocol that's related to spanning tree is bpduguard, and is intented for other purposes.
0
 

Author Comment

by:BarepAssets
ID: 33759892

thaks for the replies

 mike that explains the link issue what about why do we put loop guard on root ports which are forwarding anyway

jbrmiller i think you may confusing loop guard with udld that is the protocol that is not related to spanning tree and sends keepalives loop guard is part of spanning tree tools and monitors bpdus as far as my study so far says anyway  
bpdu guard is for making sure if you mistakenly connect a switch to portfast enabled port it does not go straight away into forwarding state bypassing listening learning etc possible creating a loop it error disables on reciept of bpdu if enabled on interface
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 28

Assisted Solution

by:mikebernhardt
mikebernhardt earned 500 total points
ID: 33771635
The idea is to put it on all ports facing the root switch. The switch knows where the root is. If it starts receiving BPDUs from a port other than the one facing the root, it will assume that a loop has formed. In a failure scenario it's possible that the root port will no longer be the root port due to a spanning tree change even though the link is up. Now that port needs to have loop guard in case a loop isn't caught in time. So it's best practice to do it.

And let me tell you personal experience, a spanning tree loop on a modern high-speed network is a really bad thing.
0
 
LVL 28

Expert Comment

by:mikebernhardt
ID: 33771644
>The idea is to put it on all ports facing the root switch.

I mean, all ports with a potential path to the root switch, whether blocking or forwarding.
0
 

Author Closing Comment

by:BarepAssets
ID: 33839033
answere
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
SSL is a very common protocol used these days when browsing the web.  The purpose is to provide security to communication, but how does it do it?  There are several pieces at work that have to be setup before SSL will even work and it requires both …
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…

760 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

18 Experts available now in Live!

Get 1:1 Help Now