Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 3 Next »

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.

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


Command Syntax

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

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.
admin@Xorplus# set protocol bgp vrf BLUE l2vpn advertise-default-gw
admin@Xorplus# commit
  • No labels