Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The set protocol 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 second optional parameter is the l2vpn, to specify only layer 2 EVPN. 

The delete protocol protocols bgp evpn advertise-default-gw can be used to delete the configuration.


Command Syntax

set protocol protocols bgp [vrf <text>] [l2vpn] <vrf-name>] evpn advertise-default-gw

delete protocol protocols bgp [vrf <vrf<text>] [l2vpn] -name>] evpn advertise-default-gw


Parameter

Parameter

Description

vrf <vrf

<text>

-name>

Optional. Specifies the name of the VRF

.

l2vpn 

Specifies whether the route is available for further processing when there is a match

.


Example

  • Configure BGP layer 2 EVPN to advertise default gateway for VRF BLUE.
Code Block
admin@Xorplus# set protocolprotocols bgp vrf BLUE l2vpnevpn advertise-default-gw
admin@Xorplus# commit