Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

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 <vrf-name>] evpn vni <vni> advertise-subnet

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


Parameter

Parameter

Description

vrf <vrf-name>

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

vni <vni>

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.
admin@Xorplus# set protocols bgp vrf BLUE evpn vni 20 advertise-subnet
admin@Xorplus# commit
  • No labels