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.
- iBGP requires full mesh peering within an AS.
- iBGP split horizon rule
- Cluster ID (used for loop prevention when using route reflectors (RRs) in iBGP.
- 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