The set protocol bgp evpn advertise-default-gw command is used to configure the gateway VTEPs to advertise the IP/MAC address. Optional parameter vrf can be added to identify the VRF for which to advertise the IP/MAC address.
The delete protocol bgp evpn advertise-default-gw can be used to delete the configuration.
Command Syntax
set protocol bgp [vrf <text>] evpn advertise-default-gw
delete protocol bgp [vrf <text>] evpn advertise-default-gw
Parameter
Parameter | Description |
vrf <text> | Optional. Specifies the name of the VRF. |
Example
- Configure BGP EVPN to advertise default gateway for VRF BLUE.
admin@Xorplus# set protocol bgp vrf BLUE advertise-default-gw admin@Xorplus# commit