Versions Compared

Key

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

[Confirm]To add a VXLAN VNI to BGP EVPN routing, run the command set protocol protocols bgp evpn vniOptional parameter vrf can be used to specify a VRF, if no VRF is specified the command takes effect on the default VRF. The other optional parameter is l2vpn to specify that the command only affects layer 2 EVPN.

The command delete protocol delete protocols bgp evpn vni can be used to remove this configuration.


Command Syntax

set protocol protocols bgp [vrf <text>] [l2vpn] evpn vni <1-16777215>

delete protocol protocols bgp [vrf <text>] [l2vpn] evpn vni <1-16777215>


Parameter

Specifies that the configuration applies to layer 2 EVPN

Parameter

Description

vrf <vrf-name>

Optional. Specifies the name of the VRF.

l2vpn

.

vni <1-16777215>

Specifies the VNI to add to the BGP EVPN routing. The value is an integer that ranges from 1 to 16777215.

...

  • Configure the device to add VNI 20 to layer 2 EVPN BGP routing in the VRF BLUE.
Code Block
admin@Xorplus# set protocolprotocols bgp vrf BLUE l2vpn evpn vni 20
admin@Xorplus# commit

...