set protocols bgp neighbor evpn activate

Run the command set protocols bgp neighbor evpn activate to enable or disable the BGP peer 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. 


Command Syntax

set protocols bgp [vrf <vrf-name>] neighbor <bgp-peer> evpn  activate <true | false>


Parameter

Parameter

Description

vrf <vrf-name>

Specifies the name of the VRF. The value is a string.

neighbor <bgp-peer>

Specifies the BGP neighbor IPv4 or IPv6 address, e.g. 1.1.1.1

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 EVPN BGP route exchange with peer 3.3.3.3 in VRF BLUE.
admin@Xorplus# set protocols bgp vrf BLUE neighbor 3.3.3.3 evpn activate true
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.