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 second optional parameter is the l2vpn, to specify only layer 2 EVPN.
...
delete protocol bgp [vrf <text>] [l2vpn] evpn advertise-default-gw
Parameter
Parameter | Description |
vrf <text> | Optional. Specifies the name of the VRF. |
l2vpnĀ | Optional. Specifies |
the configuration applies to layer 2 EVPN only. |
Example
- Configure BGP layer 2 EVPN to advertise default gateway for VRF BLUE.
...