Versions Compared

Key

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

Run the command set protocol bgp evpn neighbor activate to activate the BGP peer or peer group within the EVPN address family to enable EVPN route exchange with the 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 bgp [vrf <text>] [l2vpn] evpn neighbor <bgp-peer> activate

delete protocol bgp [vrf <text>] [l2vpn] evpn neighbor <bgp-peer> activate


Parameter

Parameter

Description

vrf <vrf-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]


Example

  • Configure the device to enable layer 2 EVPN BGP route exchange in VRF BLUE.
Code Block
admin@Xorplus# set protocol bgp vrf BLUE l2vpn evpn neighbor peer1 activate
admin@Xorplus# commit