set protocols bgp neighbor activate


The set protocols bgp neighbor activate command enables the address-family capability and exchange of information specific to an address family with a BGP neighbor.
The delete protocols  bgp neighbor activate command removes the address-family capability and disables the exchange of routes for the specified address-family with the BGP neighbor.

For IPv6 BGP configuration, the following command must be configured to enable the IPv6 address family capability and exchange of information specific to an IPv6 address family with a BGP neighbor.


Command Syntax

set protocols bgp [vrf <vrf-name>{neighbor <ip>peer-group <peer-group> |interface <interface>} {ipv4-unicast|ipv4-labeled-unicast|ipv6-unicast|ipv6-labeled-unicast} activate <true | false>

delete protocols bgp [vrf <vrf-name>{neighbor <ip>peer-group <peer-group> |interface <interface>} {ipv4-unicast|ipv4-labeled-unicast|ipv6-unicast|ipv6-labeled-unicastactivate


Parameter

Parameter

Description

vrf <vrf-name>

Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].

{ipv4-unicast|ipv4-labeled-unicast|ipv6-unicast|ipv6-labeled-unicast}Specifies the type of the address family.
neighbor <ip>Specifies the IPv4/IPv6 address of a peer.
peer-group <peer-group>Specifies a peer group.
interface <interface>Specifies an L3 interface for BGP connection. The value could be a VLAN interface name, loopback interface name, routed interface or sub-interface name.
<true | false>

Enables or disables the address-family capability. The value could be true or false.

  • true: enables the address-family capability.
  • false: disables the address-family capability. 


Example
• This example enables the address-family capability and exchange of information specific to an address family with a BGP neighbor.

admin@XorPlus# set protocols bgp neighbor 2.2.2.2 ipv4-unicast activate true
admin@XorPlus# commit


Copyright © 2024 Pica8 Inc. All Rights Reserved.