Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Understanding Flexible Ethernet Services Support With EVPN-VXLAN

Flexible Ethernet services are an encapsulation type that enables a physical interface to support different types of Ethernet encapsulations at the logical interface level. Juniper Networks supports flexible Ethernet services with EVPN VXLAN.

The benefits of flexible Ethernet services support with EVPN-VXLAN include the following:

  • A physical interface now supports family ethernet-switching and Virtual Extensible LANs (VXLANs) configured on one or more logical interfaces and family inet configured on other logical interfaces.

  • A physical interface now supports Layer 2 VLANs configured on one or more logical interfaces and VXLANs configured on other logical interfaces.

  • Instead of configuring the following Layer 2 features only on logical interface unit number 0, you can now configure them on any logical interface unit number (unit 0 and any non-zero unit number):

    • Layer 2 bridging (family ethernet-switching)

    • Layer 2 bridging (encapsulation vlan-bridge)

    • VXLANs

  • On a physical interface, you can now configure Layer 2 bridging with family ethernet-switching on one or more logical interfaces and Layer 2 bridging with encapsulation vlan-bridge on one or more logical interfaces.

  • On a physical interface, you can now configure one or more logical interfaces with encapsulation extended-vlan-bridge and one or more logical interfaces with interface-mode trunk.

This topic provides the following information about configuring this feature:

Sample Configuration 1—Layer 2 VXLANs and Layer 3 IPv4 Logical Interfaces on Same Physical Interface

This sample configuration shows how to configure a logical interface for Layer 2 VXLAN forwarding and a logical interface for Layer 3 IPv4 routing on the same physical interface.

When configuring the logical interfaces, keep the following in mind:

  • For this configuration to be successfully committed and work properly, you must specify the encapsulation flexible-ethernet-services configuration statements at the physical interface level—for example, set interfaces xe-0/0/5 encapsulation flexible-ethernet-services.

  • You must configure Layer 2 VXLAN and Layer 3 routing on separate logical interfaces.

The following sample configuration shows physical interface et-0/0/16, on which the flexible Ethernet services encapsulation type is enabled. This physical interface is divided into logical interface 100, which is a Layer 2 (family ethernet-switching) interface that is associated with VXLANs v100 and v500, and logical interface 600, which is a Layer 3 (family inet) interface. Note that specifying the flexible Ethernet services encapsulation type on physical interface et-0/0/16 also enables you to configure the Layer 2 logical interface on a non-zero unit number, in this case, 100.

Note:

This example focuses on the configuration of the physical and logical interfaces and the VXLANs with which logical interface 100 is associated. This sample configuration does not include a comprehensive configuration of EVPN and VXLAN. For a more comprehensive EVPN-VXLAN configuration, see Example: Configure an EVPN-VXLAN Centrally-Routed Bridging Fabric.

Sample Configuration 2—Layer 2 VLAN and VXLAN Logical Interfaces on Same Physical Interface

This sample configuration shows how to configure a logical interface for Layer 2 VXLAN forwarding and logical interfaces for Layer 2 VLAN forwarding on the same physical interface.

When configuring the logical interfaces for Layer 2 VLAN and Layer 2 VXLAN forwarding, you must specify the encapsulation flexible-ethernet-services configuration statements at the physical interface level—for example, set interfaces xe-0/0/5 encapsulation flexible-ethernet-services.

Note:

Starting in Junos OS Release 20.3R1 on QFX5110 and QFX5120 switches, we support Layer 2 VLAN and VXLAN logical interfaces on the same physical interface using service provider style interface configurations only.

The following sample configuration shows physical interface xe-0/0/4, on which the flexible Ethernet services encapsulation type is enabled. This physical interface is divided into the following logical interfaces:

  • Logical interface 100, which is a Layer 2 (family ethernet-switching) interface that is associated with VXLAN v100.

  • Logical interface 200, which is a Layer 2 (encapsulation vlan-bridge) interface that is associated with VLAN v200

  • Logical interface 300, which is a Layer 2 (encapsulation vlan-bridge) interface that is associated with VLAN v300

Note that specifying the flexible Ethernet services encapsulation type on physical interface et-0/0/4 enables you to configure all Layer 2 logical interfaces on non-zero unit numbers, in this case, 100, 200, and 300. Also, you can now configure Layer 2 bridging with family ethernet-switching on one or more logical interfaces—in this case, on logical interface 100—and Layer 2 bridging with encapsulation vlan-bridge on one or more logical interfaces—in this case, logical interfaces 200 and 300.