set protocols bgp evpn advertise-default-gw
The set protocols 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 protocols bgp evpn advertise-default-gw can be used to delete the configuration.
Command Syntax
set protocols bgp [vrf <vrf-name>] evpn advertise-default-gw
delete protocols bgp [vrf <vrf-name>] evpn advertise-default-gw
Parameter
Parameter | Description |
vrf <vrf-name> | Optional. Specifies the name of the VRF. The value is a string. |
Example
- Configure BGP EVPN to advertise default gateway for VRF BLUE.
admin@Xorplus# set protocols bgp vrf BLUE evpn advertise-default-gw admin@Xorplus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.