Peer group config. in a Route reflector

Answered Question
Jan 25th, 2010

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

I have this problem too.
0 votes
Correct Answer by jcozzupoli about 6 years 11 months ago

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
jcozzupoli Tue, 01/26/2010 - 01:06

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.

Haris P Tue, 01/26/2010 - 01:50

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

jcozzupoli Tue, 01/26/2010 - 02:16

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.

Actions

This Discussion