# How looping is avoided in BGP routing?

**URL:** https://forum.networklessons.com/t/how-looping-is-avoided-in-bgp-routing/47010
**Category:** BGP
**Created:** [April 15, 2024, 6:59pm UTC](https://forum.networklessons.com/t/how-looping-is-avoided-in-bgp-routing/47010 "2024-04-15T18:59:25Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jadhav.tej](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/j/7ba0ec/32.png) [@jadhav.tej](https://forum.networklessons.com/u/jadhav.tej)
#### Post date: [April 15, 2024, 6:59pm UTC](https://forum.networklessons.com/t/how-looping-is-avoided-in-bgp-routing/47010/1 "2024-04-15T18:59:25Z")

</div>

Hi all . can someone please explain how looping is avoided in BGP routing ? which methods are used?

Thank you

---

<div class="post-metadata">

### Author: ![lagapidis](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/lagapidis/32/4949_2.png) [@lagapidis](https://forum.networklessons.com/u/lagapidis)
#### Post date: [April 17, 2024, 8:58am UTC](https://forum.networklessons.com/t/how-looping-is-avoided-in-bgp-routing/47010/2 "2024-04-17T08:58:46Z")

</div>

Hello Tejaswini

There are several built-in mechanisms of BGP that are there in order to prevent routing loops. These are part of the fundamental design of BGP and describe how the protocol operates. They are not features that you need to enable, but they are important to know about so you can comprehend the protocol’s behavior. You can learn more about them at the following links:

- [eBGP will not accept a route that contains its own AS path](https://notes.networklessons.com/bgp-ebgp-loop-prevention-mechanism-same-as-number).
- [iBGP requires full mesh peering within an AS](https://notes.networklessons.com/bgp-ibgp-full-mesh-peering).
- [iBGP split horizon rule](https://notes.networklessons.com/bgp-ibgp-split-horizon-rule)
- [Cluster ID](https://notes.networklessons.com/bgp-cluster-id) (used for loop prevention when using route reflectors (RRs) in iBGP.
- [Originator ID](https://notes.networklessons.com/bgp-originator-id) (used for loop prevention when using route reflectors)

These are some of the most fundamental mechanisms. If you would like to discuss any of these more in depth, let us know!

I hope this has been helpful!

Laz
