Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Run the command set protocol protocols bgp neighbor evpn neighbor activate to activate enable or disable the BGP peer or peer group within the EVPN address family to enable EVPN route exchange with the specified BGP peer.

Optional parameter vrf can be used to identify a VRF, if not defined, the command takes effect on the default VRF. Optional parameter l2vpn can be added to make this command take effect on layer 2 EVPN.

To delete this configuration, run the command delete protocol bgp evpn neighbor activate.

 


Command Syntax

set protocol protocols bgp [vrf <text>] [l2vpn] evpn neighbor <bgp-peer> activatedelete protocol bgp [vrf <text>] [l2vpn] evpn neighbor <bgp-peer> activate<vrf-name>] neighbor <bgp-peerevpn  activate <true | false>


Parameter

Parameter

Description

vrf 

<vrf

<vrf-

name>

name>

Specifies the name of the VRF.

l2vpn

Specifies whether the command applies to layer 2 EVPN only.

neighbor <bgp-peer>

Specifies the BGP neighbor. [Confirm]

neighbor <bgp-peer>

Specifies the BGP neighbor IPv4 or IPv6 address.

activate <true | false>

Enables or disables the address family for the specified neighbor

  • true: Enables the address family for the specified neighbor.
  • false: Disables the address family for the specified neighbor.


Example

  • Configure the device to enable layer 2 EVPN BGP route exchange with peer 3.3.3.3 in VRF BLUE.
Code Block
admin@Xorplus# set protocolprotocols bgp vrf BLUE l2vpn neighbor 3.3.3.3 evpn neighboractivate peer1 activatetrue
admin@Xorplus# commit