set protocols bgp evpn vni advertise-default-gw

Run the command set protocols bgp evpn vni advertise-default-gw to configure the gateway VTEPs to advertise their IP/MAC routes for 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-default-gw to remove this configuration.


Command Syntax

set protocols bgp [vrf <vrf-name>] evpn vni <vni> advertise-default-gw

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


Parameter

Parameter

Description

vrf <vrf-name>

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

vni <vni>

Specifies the VNI for which to advertise the default gateway.


Example

  • Configure the device to advertise the default gateway in VRF BLUE for VNI 20.
admin@Xorplus# set protocols bgp vrf BLUE evpn vni 20 advertise-default-gw
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.