Run the command set protocols bgp evpn vni advertise-default-gw to configure the gateway VTEPs to advertise their IP/MAC address routes for a specific 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.
...
Command Syntax
set protocols bgp [vrf <vrf<text>-name>] evpn vni <1-16777215><vni> advertise-default-gw
delete protocols bgp [vrf <vrf<text>-name>] evpn vni <vni<1-16777215>> advertise-default-gw
Parameter
Parameter | Description |
vrf <vrf<vrf-name>name> | Optional. Specifies the name of the VRF. The value is a string. |
vni <1-16777215><vni> | Specifies the VNI for which to advertise the default gateway. The value is an integer that ranges from 1 to 16777215. |
Example
- Configure the device to advertise the default gateway in VRF BLUE for VNI 20.
...