cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7558
Views
0
Helpful
5
Replies

Peer group config. in a Route reflector

Haris P
Level 4
Level 4

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

jcozzupoli
Level 1
Level 1

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.

View solution in original post

5 Replies 5

jcozzupoli
Level 1
Level 1

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.

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

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.

Hi Hari,

No Votes?

Cheers,

Joe.

I rated it , becose u deserved it

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: