cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

9129
Views
45
Helpful
4
Replies
Explorer

neighbor activate bgp

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
Advisor

neighbor activate bgp

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.
Explorer

neighbor activate bgp

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?

Beginner

neighbor activate bgp

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.

VIP Advisor

Re: neighbor activate bgp

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.



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future
CreatePlease to create content
Content for Community-Ad