Versions Compared

Key

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

Run the command set protocols bgp evpn vni advertise-subnet to advertise the subnet corresponding to the specified VNI. Optional parameter vrf can be used to specify a VRF, if no VRF is specified the command takes effect on the default VRF. 

Run the command delete protocols bgp evpn vni advertise-subnet to remove this configuration.


Command Syntax

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

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


Parameter

Parameter

Description

vrf <vrf-name>

Specifies the name of the VRF.

evpn vni <1-16777215>

Specifies the VNI, its value is an integer that ranges from 1 to 16777215.


Example

  • Configure the device to advertise the locally attached subnet corresponding to VNI 20 in VRF BLUE.
Code Block
admin@Xorplus# set protocols bgp vrf BLUE evpn vni 20 advertise-subnet
admin@Xorplus# commit