neighbor activate

Enables the exchange of information with BGP neighbors and peer groups.
Syntax
neighbor { ip-address | ipv6-address | peer-group-name } activate
no neighbor { ip-address | ipv6-address | peer-group-name } activate
Command Default

Exchange of information with BGP neighbors and peer groups is disabled.

Parameters
ip-address
Specifies the IPv4 address of the neighbor.
ipv6-address
Specifies the IPv6 address of the neighbor.
peer-group-name
Specifies the peer group name configured by the neighbor peer-group-name command.
Modes

BGP configuration mode

BGP address-family IPv6 unicast configuration mode

BGP address-family IPv4 unicast VRF configuration mode

BGP address-family IPv6 unicast VRF configuration mode

BGP L2VPN EVPN address family configuration mode

Usage Guidelines

When this command is entered in BGP global configuration mode, it applies only to the IPv4 address family. Use this command in BGP address-family IPv6 unicast configuration mode for BGP4+ configurations. Use this command in BGP L2VPN EVPN address family configuration mode for BGP L2VPN EVPN configurations. When this command is entered in BGP address-family IPv4/IPv6 unicast VRF configuration mode, it applies to non-default VRF instances.

This command can be configured in BGP L2VPN EVPN address family configuration mode for RUCKUS ICX 7850 and ICX 7550 devices only.

The no form of the command disables the exchange of an address with a BGP neighbor or peer group.

Examples

The following example establishes a BGP session with a neighbor with the IPv6 address 2001:2018:8192::125.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# address-family ipv6 unicast
device(config-bgp-ipv6u)# neighbor 2001:2018:8192::125 activate

The following example establishes a BGP session with a neighbor with the IPv6 address 2001:2018:8192::125 for VRF instance "red".

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# address-family ipv6 unicast vrf red
device(config-bgp-ipv6u-vrf)# neighbor 2001:2018:8192::125 activate

The following example establishes a BGP session with a neighbor with the IP address of 10.1.1.35 in a BGP L2VPN EVPN configuration.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# local-as 656
device(config-bgp-router)# neighbor 1.1.1.35 remote-as 656
device(config-bgp-router)# address-family l2vpn evpn
device(config-bgp-l2vpn-evpn)# neighbor 10.1.1.35 activate
History
Release version Command history
08.0.30 This command can also be configured in BGP address-family IPv6 unicast VRF configuration mode.
10.0.20 This command can also be configured in BGP L2VPN EVPN address family configuration mode.