• February 11, 2012, 10:40:14 AM
Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: best way to prevent and avoid network loop?  (Read 1881 times)

0 Members and 1 Guest are viewing this topic.

Offline jeje1g

  • Rookie
  • **
  • Posts: 7
best way to prevent and avoid network loop?
« on: July 19, 2010, 08:39:33 AM »
Hi guy,
to prevent loop between to ports of the same switch/stack, we can use spanning tree.

But I want to know if there is a way to prevent a loop which is on a micro switch (like d'link or netgear) without STP enabled.

The use of rate-limit allow to the network to survive, but is there a mecanism to avoid this kind of loop?


thx

« Last Edit: July 19, 2010, 08:44:48 AM by jeje1g »


Offline Michael McNamara

  • Administrator
  • Hero Member
  • *****
  • Posts: 2164
    • Michael McNamara
Re: best way to prevent and avoid network loop?
« Reply #1 on: July 19, 2010, 09:42:03 AM »
You can use STP/RSTP on a switch and it will detect a loop between any two switch ports regardless of what device is creating the loop. We use rate-limiting to prevent the switch software from going mad during a broadcast storm and/or loop event. The rate-limiting occurs in hardware so the software is protected from all the traffic it needs to "examine". In case where rate-limiting is not being used you'll often find that even after you've resolve the original "loop" you'll need to reboot the switch to make it happy again.

Good Luck!
If you've found this site useful and helpful, please help me spread the word. Link to us in your blog or homepage or Tweet about us! - Thanks!

Offline jeje1g

  • Rookie
  • **
  • Posts: 7
Re: best way to prevent and avoid network loop?
« Reply #2 on: July 20, 2010, 04:01:45 AM »
So RSTP can prevent from this kind of loop (see attached file) ?

Offline Michael McNamara

  • Administrator
  • Hero Member
  • *****
  • Posts: 2164
    • Michael McNamara
Re: best way to prevent and avoid network loop?
« Reply #3 on: July 20, 2010, 05:15:24 PM »
Indirectly, yes.

You'll need to have BPDU guard enabled... the switch will see it's own STP BPDU and will disable the port per the BPDU guard configuration.

Good Luck!
If you've found this site useful and helpful, please help me spread the word. Link to us in your blog or homepage or Tweet about us! - Thanks!