Run the command set 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.
To delete this configuration, run the command delete protocols bgp evpn neighbor activate.
Command Syntax
set protocols bgp [vrf <text><vrf-name>] evpn neighbor <bgp-peer> activatedelete protocols bgp [vrf <text>] evpn neighbor <bgp-peer> activate <bgp-peer> evpn activate <true | false>
Parameter
Parameter | Description |
vrf |
<vrf- |
name> | Specifies the name of the VRF. |
neighbor |
<bgp- |
peer> | Specifies the BGP neighbor IPv4 or IPv6 address. |
activate <true | false> | Enables or 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.
Code Block |
---|
admin@Xorplus# set protocols bgp vrf BLUE evpn neighbor 3.3.3.3 evpn activate true admin@Xorplus# commit |