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

 

In releases before Junos OS Release 18.1R3, QFX5100, QFX5110, QFX5200, and QFX5210 switches do not support flexible Ethernet services, which is an encapsulation type that enables a physical interface to support different types of Ethernet encapsulations at the logical interface level. As a result, the following limitations exist on these switches:

  • A physical interface does not support 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 does not support Layer 2 VLANs configured on one or more logical interfaces and VXLANs configured on other logical interfaces.

To eliminate these limitations, starting with Junos OS Releases 18.1R3 and 18.4R1, QFX5100, QFX5110, QFX5200, and QFX5210 switches, and Junos on White Box support flexible Ethernet services.

Additional benefits of flexible Ethernet services support include the following:

  • 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.

set interfaces et-0/0/16 flexible-vlan-tagging
set interfaces et-0/0/16 encapsulation flexible-ethernet-services
set interfaces et-0/0/16 unit 100 family ethernet-switching interface-mode trunk
set interfaces et-0/0/16 unit 100 family ethernet-switching vlan members v100
set interfaces et-0/0/16 unit 100 family ethernet-switching vlan members v500
set interfaces et-0/0/16 unit 600 family inet address 10.1.1.2/24
set vlans v100 vlan-id 100
set vlans v100 vxlan vni 100
set vlans v100 vxlan ingress-node-replication
set vlans v500 vlan-id 500
set vlans v500 vxlan vni 500
set vlans v500 vxlan ingress-node-replication
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: Configuring IRB Interfaces in an EVPN-VXLAN Environment to Provide Layer 3 Connectivity for Hosts in a Data Center.

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.

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

set interfaces xe-0/0/4 flexible-vlan-tagging
set interfaces xe-0/0/4 encapsulation flexible-ethernet-services
set interfaces xe-0/0/4 unit 100 family ethernet-switching interface-mode trunk
set interfaces xe-0/0/4 unit 100 family ethernet-switching vlan members v100
set interfaces xe-0/0/4 unit 200 encapsulation vlan-bridge vlan members v200
set interfaces xe-0/0/4 unit 300 encapsulation vlan-bridge vlan members v300
set vlans v100 vlan-id 100
set vlans v100 vxlan vni 100
set vlans v100 vxlan ingress-node-replication
set vlans v200 vlan-id 200
set vlans v300 vlan-id 300

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.

Release History Table
Release
Description
To eliminate these limitations, starting with Junos OS Releases 18.1R3 and 18.4R1, QFX5100, QFX5110, QFX5200, and QFX5210 switches, and Junos on White Box support flexible Ethernet services.