Peer Group on a Route Reflector

Answered Question
Sep 26th, 2010

Hi all experts.

I have 3 Routers connected in triangle.

R1 -> R2

R1 -> R3

All 3 routers are running bgp AS 10. R1 is serving as the route-reflector for R2 and R3. Following is the configuration i have done on R1

router bgp 10
bgp log-neighbor-changes
neighbor IBGP-RR-CLIENTS peer-group
neighbor IBGP-RR-CLIENTS remote-as 10
neighbor 12.0.0.2 peer-group IBGP-RR-CLIENTS
neighbor 13.0.0.3 peer-group IBGP-RR-CLIENTS

Now when i configure this

R1-RR(config-router)#neighbor 12.0.0.2 route-reflector-client
% Invalid command for a peer-group member
R1-RR(config-router)#

Why is this so ? what is the workaround instead of adding route-reflector-client command under peer group.

Kindly someone explain me the reason and also what shall i do to solve it.

I have this problem too.
0 votes
Correct Answer by Jon Marshall about 6 years 2 months ago

Jonn.cos88 wrote:

Dear Jon,

Kindly dont apologize, its because of you guys and your help that i come here and ask my confusions. I dont have enough words to say thank you :-)

Now regarding the post, yes i know that i can apply it under peer group, but i dont want to, instead i want to apply it individually to neighbors. As you can see, its giving me error. Is it because that the outbound policy for all peer group members should be same ? is it because of this reason i am getting this error ?

Kindly guide me

Yes, it's because you have assigned that neighbor to a peer-group and so the attributes must be the same. If you want to only make one neighbor a route-reflector you can either -

1) don't assign that neighbor to a peer-group

or

2) do as KF suggested in this thread and have a separate peer-group that has the same attributes as the original peer-group but includes route-reflection

Jon

Correct Answer by Kostas Kyriakos about 6 years 2 months ago

Adding to what Jon Marshall suggested, in order to have just one peer reflecting routes you need to create a separate peer-group that does exactly that. Something like the following:

router bgp 10
bgp log-neighbor-changes


neighbor IBGP-RR-CLIENTS peer-group
neighbor IBGP-RR-CLIENTS remote-as 10
neighbor IBGP-RR-CLIENTS route-reflector-client


neighbor IBGP-nonRR-CLIENTS peer-group
neighbor IBGP-nonRR-CLIENTS remote-as 10


neighbor 12.0.0.2 peer-group IBGP-RR-CLIENTS


neighbor 13.0.0.3 peer-group IBGP-nonRR-CLIENTS

Hope this helps.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Jon Marshall Sun, 09/26/2010 - 12:14

Jonn.cos88 wrote:


All 3 routers are running bgp AS 10. R1 is serving as the route-reflector for R2 and R3. Following is the configuration i have done on R1

router bgp 10
bgp log-neighbor-changes
neighbor IBGP-RR-CLIENTS peer-group
neighbor IBGP-RR-CLIENTS remote-as 10
neighbor 12.0.0.2 peer-group IBGP-RR-CLIENTS
neighbor 13.0.0.3 peer-group IBGP-RR-CLIENTS

Now when i configure this

R1-RR(config-router)#neighbor 12.0.0.2 route-reflector-client
% Invalid command for a peer-group member
R1-RR(config-router)#

Why is this so ? what is the workaround instead of adding route-reflector-client command under peer group.

Jon

the command should be -

neighbor IBGP-RR-CLIENTS route-reflector-client

By the way, apologies again for the misleading info on the "clear ip bgp x.x.x.x in" thread.

Jon

Jon Marshall Sun, 09/26/2010 - 12:18

Jon

Just reread post - when you say -

Why is this so ? what is the workaround instead of adding route-reflector-client command under peer group.

are you saying you know you can apply it the way i have indicated and you don't want to ?

Jon

Jonn cos Sun, 09/26/2010 - 22:30

Dear Jon,

Kindly dont apologize, its because of you guys and your help that i come here and ask my confusions. I dont have enough words to say thank you :-)

Now regarding the post, yes i know that i can apply it under peer group, but i dont want to, instead i want to apply it individually to neighbors. As you can see, its giving me error. Is it because that the outbound policy for all peer group members should be same ? is it because of this reason i am getting this error ?

Kindly guide me

Correct Answer
Jon Marshall Mon, 09/27/2010 - 03:01

Jonn.cos88 wrote:

Dear Jon,

Kindly dont apologize, its because of you guys and your help that i come here and ask my confusions. I dont have enough words to say thank you :-)

Now regarding the post, yes i know that i can apply it under peer group, but i dont want to, instead i want to apply it individually to neighbors. As you can see, its giving me error. Is it because that the outbound policy for all peer group members should be same ? is it because of this reason i am getting this error ?

Kindly guide me

Yes, it's because you have assigned that neighbor to a peer-group and so the attributes must be the same. If you want to only make one neighbor a route-reflector you can either -

1) don't assign that neighbor to a peer-group

or

2) do as KF suggested in this thread and have a separate peer-group that has the same attributes as the original peer-group but includes route-reflection

Jon

Correct Answer
Kostas Kyriakos Sun, 09/26/2010 - 12:19

Adding to what Jon Marshall suggested, in order to have just one peer reflecting routes you need to create a separate peer-group that does exactly that. Something like the following:

router bgp 10
bgp log-neighbor-changes


neighbor IBGP-RR-CLIENTS peer-group
neighbor IBGP-RR-CLIENTS remote-as 10
neighbor IBGP-RR-CLIENTS route-reflector-client


neighbor IBGP-nonRR-CLIENTS peer-group
neighbor IBGP-nonRR-CLIENTS remote-as 10


neighbor 12.0.0.2 peer-group IBGP-RR-CLIENTS


neighbor 13.0.0.3 peer-group IBGP-nonRR-CLIENTS

Hope this helps.

Actions

This Discussion