Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Peer Group on a Route Reflector

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.

2 ACCEPTED SOLUTIONS

Accepted Solutions
New Member

Re: Peer Group on a Route Reflector

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.

Hall of Fame Super Blue

Re: Peer Group on a Route Reflector

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

5 REPLIES
Hall of Fame Super Blue

Re: Peer Group on a Route Reflector

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

Hall of Fame Super Blue

Re: Peer Group on a Route Reflector

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

New Member

Re: Peer Group on a Route Reflector

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

Hall of Fame Super Blue

Re: Peer Group on a Route Reflector

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

New Member

Re: Peer Group on a Route Reflector

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.

420
Views
0
Helpful
5
Replies