set protocols bgp evpn vni

To add a VXLAN VNI to BGP EVPN routing, run the command set protocols bgp evpn vni. Optional 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 <vrf-name>] evpn vni <vni>

delete protocols bgp [vrf <vrf-name>] evpn vni <vni>


Parameter

Parameter

Description

vrf <vrf-name>

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

vni <vni>

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 © 2024 Pica8 Inc. All Rights Reserved.