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.

Bronze

Peer group config. in a Route reflector

Dears ,

I'm trying to configure peer group in one of my PE router (which is working as a route reflector )

I applied the below config. Now I want to bring the IP 172.16.14.2 and 172.16.14.3 as route reflector clients ,but I'm getting below error

(config-router-af)#neighbor 172.16.12.2 route-reflector-client
% Invalid command for a peer-group member


router bgp 65000
bgp log-neighbor-changes
neighbor internal peer-group
neighbor internal remote-as 65000
neighbor internal update-source Loopback1
neighbor 172.16.14.2 peer-group internal
neighbor 172.16.14.3 peer-group internal

address-family vpnv4
neighbor internal send-community extended
neighbor 172.14.14.2 activate
neighbor 172.14.14.3 activate

Before applying peer-group config ,my config. was as given below .Also whether the config. "neighbor 172.14.14.2 activate" is needed under vpnv4 ? .If i remove this neighbor going down and at the same time I can't put something like ""neighbor internal activate"


address-family vpnv4
neighbor 172.16.14.2 route-reflector-client
neighbor 172.16.14.2 send-community extended
neighbor 172.16.14.2 activate

I will rate the helpful inputs

Regards

Hari

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Re: Peer group config. in a Route reflector

Hari,

Here are some sample configs, this should be what you're after:

RR Configs:

router bgp 65000
bgp log-neighbor-changes
neighbor
internal peer-group
neighbor
internal remote-as 65000
neighbor
internal update-source Loopback1
neighbor 172.16.14.2 peer-group internal
neighbor 172.16.14.3 peer-group internal
!
address-family ipv4
  neighbor internal send-community both
  neighbor internal route-reflector-client
  neighbor internal next-hop-self
  neighbor 172.14.14.2 activate
  neighbor 172.14.14.3 activate
  no auto-summary
  no synchronization
exit-address-family
!
address-family vpnv4
  neighbor internal send-community both
  neighbor internal route-reflector-client
  neighbor internal next-hop-self
  neighbor 172.14.14.2 activate
  neighbor 172.14.14.3 activate
exit-address-family
!

RRC Configs:

router bgp 65000

bgp log-neighbor-changes

neighbor Route_Reflector peer-group

neighbor Route_Reflector remote-as 65000

neighbor Route_Reflector update-source Loopback0

neighbor 172.14.14.1 remote-as 65000

neighbor 172.14.14.1  peer-group RouteReflectorPG

!

address-family ipv4

  no synchronization

  neighbor Route_Reflector send-community both

  neighbor Route_Reflector next-hop-self

  neighbor 172.14.14.1 activate

  no auto-summary

exit-address-family

!

address-family vpnv4

  neighbor Route_Reflector send-community both

  neighbor Route_Reflector next-hop-self

  neighbor 172.14.14.1 activate

exit-address-family

!

Here are the references on CCO (formerly UniverCD):

Assigning Clients to a Peer Group:

http://www.cisco.com/en/US/docs/ios/iproute/command/reference/irp_bgp3.html#wp1015335

Creating a Peer Group:

http://www.cisco.com/en/US/docs/ios/iproute/command/reference/irp_bgp3.html#wp1015489

http://www.cisco.com/en/US/docs/ios/iproute_bgp/configuration/guide/irg_basic_net_ps6441_TSD_Products_Configuration_Guide_Chapter.html#wp1056201

As you can see, all the answers are a search away!

HTH

Joe.

5 REPLIES
New Member

Re: Peer group config. in a Route reflector

Hari,

Here are some sample configs, this should be what you're after:

RR Configs:

router bgp 65000
bgp log-neighbor-changes
neighbor
internal peer-group
neighbor
internal remote-as 65000
neighbor
internal update-source Loopback1
neighbor 172.16.14.2 peer-group internal
neighbor 172.16.14.3 peer-group internal
!
address-family ipv4
  neighbor internal send-community both
  neighbor internal route-reflector-client
  neighbor internal next-hop-self
  neighbor 172.14.14.2 activate
  neighbor 172.14.14.3 activate
  no auto-summary
  no synchronization
exit-address-family
!
address-family vpnv4
  neighbor internal send-community both
  neighbor internal route-reflector-client
  neighbor internal next-hop-self
  neighbor 172.14.14.2 activate
  neighbor 172.14.14.3 activate
exit-address-family
!

RRC Configs:

router bgp 65000

bgp log-neighbor-changes

neighbor Route_Reflector peer-group

neighbor Route_Reflector remote-as 65000

neighbor Route_Reflector update-source Loopback0

neighbor 172.14.14.1 remote-as 65000

neighbor 172.14.14.1  peer-group RouteReflectorPG

!

address-family ipv4

  no synchronization

  neighbor Route_Reflector send-community both

  neighbor Route_Reflector next-hop-self

  neighbor 172.14.14.1 activate

  no auto-summary

exit-address-family

!

address-family vpnv4

  neighbor Route_Reflector send-community both

  neighbor Route_Reflector next-hop-self

  neighbor 172.14.14.1 activate

exit-address-family

!

Here are the references on CCO (formerly UniverCD):

Assigning Clients to a Peer Group:

http://www.cisco.com/en/US/docs/ios/iproute/command/reference/irp_bgp3.html#wp1015335

Creating a Peer Group:

http://www.cisco.com/en/US/docs/ios/iproute/command/reference/irp_bgp3.html#wp1015489

http://www.cisco.com/en/US/docs/ios/iproute_bgp/configuration/guide/irg_basic_net_ps6441_TSD_Products_Configuration_Guide_Chapter.html#wp1056201

As you can see, all the answers are a search away!

HTH

Joe.

Bronze

Re: Peer group config. in a Route reflector

Dear Joe ,

Thanks for the config.

I done the same thing .and it's working.

Also in my case all my peer-group membors should be in vpnv4 addressfamily. ,so i wish to configure like "neigh internal   activate" under vpn4 . Is it possible ? Or  whether i need to type "neighbor x.x.x.x activate for all membors ?  .

regards

New Member

Re: Peer group config. in a Route reflector

Hi Hari,

You need to specifiy the neighbor by IP to activate. As per basic Peer-Group configurations, the use of the peer groups make its more efficient and easier to maintain any BGP attibute manipulation of multiple neighbors to just the one peer-group command, so all you have to do is activate that neighbor under the AF for it to take part in that peer-group and what is configured for that peer-group to do.

Thanks,

Joe.

New Member

Re: Peer group config. in a Route reflector

Hi Hari,

No Votes?

Cheers,

Joe.

Bronze

Re: Peer group config. in a Route reflector

I rated it , becose u deserved it

4581
Views
0
Helpful
5
Replies