01-25-2010 11:10 PM
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
Solved! Go to Solution.
01-26-2010 01:06 AM
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
As you can see, all the answers are a search away!
HTH
Joe.
01-26-2010 01:06 AM
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
As you can see, all the answers are a search away!
HTH
Joe.
01-26-2010 01:50 AM
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
01-26-2010 02:16 AM
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.
01-29-2010 06:09 PM
Hi Hari,
No Votes?
Cheers,
Joe.
01-29-2010 11:42 PM
I rated it , becose u deserved it
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide