/
set protocols bgp evpn vni

set protocols bgp evpn vni

To add a VXLAN VNI to BGP EVPN routing, run the command set 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 command delete protocols bgp evpn vni can be used to remove this configuration.


Command Syntax

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

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


Parameter

Parameter

Description

vrf <vrf-name>

Optional. Specifies the name of the VRF.

vni <1-16777215>

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


Example

  • Configure the device to add VNI 20 to EVPN BGP routing in VRF BLUE.
admin@Xorplus# set protocols bgp vrf BLUE evpn vni 20
admin@Xorplus# commit

Copyright © 2025 Pica8 Inc. All Rights Reserved.