Got it

BGP RR Loop Prevention

Created: Dec 28, 2019 01:59:09Latest reply: Mar 6, 2022 16:10:21 888 5 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi friends,

In the master/slave RR scenario, the master RR sends route A to the slave RR, and the slave RR also sends route A to the master RR. As a result, a loop occurs. What mechanism can be used to prevent this problem?

The client sends routes to the RR, and the RR reflects the routes to all clients and non-clients. What mechanism can prevent the source router from receiving the routes sent by itself?

Thanks.

Featured Answers

Recommended answer

Popeye_Wang
Admin Created Dec 28, 2019 02:11:54

Hello Hobbit,

The cluster ID is used to prevent loops between RRs.

Similar to an AS_Path, a Cluster_List is composed of a series of Cluster_IDs and is generated by an RR. The Cluster_List records all the RRs through which a route passes.

  • Before an RR reflects a route between its clients or between its clients and non-clients, the RR adds the local Cluster_ID to the head of the Cluster_List. If a route does not carry any Cluster_List, the RR creates one for the route.

  • After the RR receives an updated route, it checks the Cluster_List of the route. If the RR finds that its cluster ID is included in the Cluster_List, the RR discards the route. If its cluster ID is not included in the Cluster_List, the RR adds its cluster ID to the Cluster_List and then reflects the route.


The Originator_ID is used to prevent loops between clients.

The Originator_ID attribute is four bytes long and is generated by an RR. It carries the router ID of the route originator in the local AS.

  • When a route is reflected by an RR for the first time, the RR adds the Originator_ID to this route. If a route already carries the Originator_ID attribute, the RR does not create a new one.

  • After receiving the route, a BGP speaker checks whether the Originator_ID is the same as its router ID. If Originator_ID is the same as its router ID, the BGP speaker discards this route.

View more
  • x
  • convention:

smileymind
smileymind Created Dec 18, 2021 06:23:40 (0) (0)
good  
Saqibaz
Saqibaz Created Mar 6, 2022 16:10:11 (0) (0)
Good  
All Answers

Hello Hobbit,

The cluster ID is used to prevent loops between RRs.

Similar to an AS_Path, a Cluster_List is composed of a series of Cluster_IDs and is generated by an RR. The Cluster_List records all the RRs through which a route passes.

  • Before an RR reflects a route between its clients or between its clients and non-clients, the RR adds the local Cluster_ID to the head of the Cluster_List. If a route does not carry any Cluster_List, the RR creates one for the route.

  • After the RR receives an updated route, it checks the Cluster_List of the route. If the RR finds that its cluster ID is included in the Cluster_List, the RR discards the route. If its cluster ID is not included in the Cluster_List, the RR adds its cluster ID to the Cluster_List and then reflects the route.


The Originator_ID is used to prevent loops between clients.

The Originator_ID attribute is four bytes long and is generated by an RR. It carries the router ID of the route originator in the local AS.

  • When a route is reflected by an RR for the first time, the RR adds the Originator_ID to this route. If a route already carries the Originator_ID attribute, the RR does not create a new one.

  • After receiving the route, a BGP speaker checks whether the Originator_ID is the same as its router ID. If Originator_ID is the same as its router ID, the BGP speaker discards this route.

View more
  • x
  • convention:

smileymind
smileymind Created Dec 18, 2021 06:23:40 (0) (0)
good  
Saqibaz
Saqibaz Created Mar 6, 2022 16:10:11 (0) (0)
Good  
GOOD ANSWER
View more
  • x
  • convention:

Good Answer
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.