enable bgp export [static | direct] l2vpn-evpn

enable bgp export [static | direct] {address-family address_family} l2vpn-evpn {vr vr_name}

Description

Exports direct, static, and BGP routes from a VRF into BGP, running on the specified VR, as EVPN routes to be advertised by BGP as Type 5 routes.

Syntax Description

bgp Specifies showing the BGP configuration.
export Specifies redistributing information from another routing protocol.
static Specifies static routes.
direct Specifies direct routes.
address-family Specifies the address family.
address_family Sets the address family type.
l2vpn-evpn Specifies the L2VPN EVPN address family.
vr Specifies the source VR.
vr_name Designates the source VR name. Both VPN-VRFs and non-VPN-VRFs are supported.

Default

N/A.

Usage Guidelines

N/A.

Example

The following example exports static routes on VR "vr-a" as EVPN routes to be advertised by BGP as Type 5 routes:

# enable bgp export static l2vpn-evpn vr vr-a

History

This command was first available in ExtremeXOS 30.6.

Platform Availability

This command is available on platforms that support the appropriate license. For complete information about software licensing, including how to obtain and upgrade your license and which licenses support the BGP feature, see the ExtremeXOS 32.2 Feature License Requirements document.