cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
23487
Views
58
Helpful
4
Replies

neighbor activate bgp

Kashish_Patel
Level 2
Level 2

I recently saw the command "neighbor x.x.x.x activate" under router bgp configuration. Neighbors are automatically activated if configured properly. Then why do we need this command?

4 Replies 4

cadet alain
VIP Alumni
VIP Alumni

Hi,

This command is used under family-address to tell other peers  which family-address we support( ipv4/ipv6 unicast, ipv4/ipv6 multicast, ipv4/ipv6 VPN).This is for MP-BGP but now you can use it with BGP as replacement for default ipv4 configuration.

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

Thanks Cadet.

But why will anybody want to use this command when normal BGP config works just fine? I guess there is no need, just that if IPv6 (or protocol other than IPv4) is used, then this command is a must as IPv4 is default for BGP...Is that right?

This can be used on CE VRFs. CE IP addresses are known only at appropriate VRF level hence it makes no sense in defining the neighbor at process level.

As the IPv4 address families are used to represent routing session for protocols that use IPv4 address prefix. We need to activate in IPv4 routing session.

Hello

I guess there is no need, just that if IPv6 (or protocol other than  IPv4) is used, then this command is a must as IPv4 is default for  BGP...Is that right? -  NO that inst correct

By default bgp assumes you want to use ipv4 unicast bgp, however if you disable this prior to defining you bgp peers

no bgp default ipv4-unicast than you need to specify this  activate command  so that peer will establish.

router bgp xxx

no bgp default ipv4-unicast

bgp log-neighbor-changes

neighbor x.x.x.x remote-as xx

address-family ipv4

neighbor x.x.x.x activate

res

Paul

Hope this have been helpful.

Thanks.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking for a $25 gift card