03-31-2013 10:04 PM - edited 03-07-2019 12:33 PM
Hi,
Our lan is looped freequently,,because users by mistakely connected two IO ports with one network cable.
how avoide loops
03-31-2013 11:18 PM
Hi Chakradhar,
Loops are usually prevented by running Spanning Tree Protocol.
http://www.cisco.com/en/US/tech/tk389/tk621/technologies_configuration_example09186a008009467c.shtml
Please feel free to let me know if yu required any further clarification on this.
Regards
Inayath
04-01-2013 12:51 AM
Hi inayath,
Thanq for ur info
But,
STP is by default enabled on cisco switches.
STP will work only switching loops.how to disable IO port level loops?
04-01-2013 01:00 AM
Hi Chakradhar,
Sorry forgot to mentioned that to you.
The feature that prevents the loops on your network is STP, spanning tree protocol
http://www.cisco.com/univercd/cc/td/doc/product/lan/cat2960/12225see/scg/sws
tp.htm
However is important to understand that this works automatically on the switch and you do
not have to perform any configuration because it is enable by default
Now there is some auxiliary port commands for STP that will help you to improve loop
prevention. Those commands are described on the following link
http://www.cisco.com/univercd/cc/td/doc/product/lan/cat2960/12225see/scg/sws
tpopt.htm
2-Other features you can use to further protect the network include:
storm-control
and port security with action error-disable and a low max MAC addresses on port.
Adding these two provide you further protection.
see
HTH
Regards
Inayath
04-01-2013 01:36 AM
Hi,
From the available spanning tree enhancements, the Spanning Tree Portfast BPDU Guard feature is probably the one that will be most useful to protect against what you describe.
From the above:
At the reception of BPDUs, the BPDU guard operation disables the port that has PortFast configured. The BPDU guard transitions the port into errdisable state, and a message appears on the console.
If a user connects two ports configured with this feature with a single cable, then the port that receives a BPDU from the other port first will become down, and so break the loop.
We would typically use this on all access facing ports as there should be no reason to receive Spanning Tree BPDU on ports that connect to end systems.
Regards
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide