ESI-LAG
This section briefly describes the Ethernet Segment Identifier–Link Aggregation Group (ESI-LAG) feature and its configuration on the QFX5230, QFX5240, and QFX5241 Switches.
Overview
The provider edge (PE) devices in an EVPN fabric can handle traffic to and from the attached multihomed end devices by grouping the multihoming links into an EVPN Ethernet segment with an identifier. This identifier is known as Ethernet segment identifier (ESI). The multihoming links participating in the Ethernet segment are configured into a link aggregation group (LAG). Thus, the set of multihomed links is called an ESI LAG or EZ-LAG. ESI-LAG provides a simplified configuration statement hierarchy and a built-in commit script that you can use to set up EVPN dual-homing. You can then easily migrate a multichassis link aggregation group (MC-LAG) topology to a standards-based EVPN-VXLAN multihoming model. For more information about ESI-LAG, see Benefits of using Easy EVPN LAG Configuration.
Configure ESI-LAG on QFX5230, QFX5240, and QFX5241 Switches
To configure ESI-LAG on your QFX Series Switch:
-
Run the following sample CLI commands at the
[edit services evpn]hierarchy level by providing the parameters to set up the prescribed EVPN fabric.set chassis aggregated-devices ethernet device-count N set interfaces aeID aggregated-ether-options lacp active set interfaces aeID aggregated-ether-options lacp periodic fast set interfaces interface-name ether-options 802.3ad aeID set interfaces aeID esi auto-derive type-1-lacp system-id system-id set interfaces aeID all-active set interfaces aeID unit 0 family ethernet-switching interface-mode interface-mode set interfaces aeID unit 0 family ethernet-switching vlan members [VLAN-List]
The following sample configuration requires minimal parameters to configure an EVPN fabric with a single server dual-homed to two PE devices. When you commit the configuration, the built-in commit script generates the full underlying EVPN and ESI-LAG configuration. For more information about ESI-LAG, see Easy EVPN LAG (EZ-LAG) Configuration.
Note: This configuration is for a single PE device. For a dual-homed server, you must apply same configuration on the second PE device, using its local interface connected to the same server.set services evpn device-attribute peer-id peer-id1 system-id system-id set services evpn device-attribute peer-id peer-id1 peer-to-peer peer-subnet inet Peer-Subnet set services evpn device-attribute peer-id peer-id1 peer-to-peer interface-name interface-name set services evpn device-attribute loopback peer1-subnet inet IPv4-address set services evpn evpn-vxlan irb irb-name vlan-id vlan-id subnet-address inet IPv4-Address set services evpn evpn-vxlan server server-1 esi-lag-id ESI-Id set services evpn evpn-vxlan server server-1 vlan-id-list [vlan-list] set services evpn evpn-vxlan server server-1 interface-name interface-name
A built-in commit script processes the simplified configuration elements at commit time (before the standard Junos OS Evolved configuration validity checks) and generates a corresponding EVPN fabric configuration.
Note: The commit script for this feature,services_evpn_commit_script.py, is enabled by default on supported platforms.set system scripts commit file services_evpn_commit_script.py allow-transient
Verify ESI-LAG Configuration
To verify your ESI-LAG configuration, run the following commands:
show chassis aggregated-devices show interfaces ae-ID show interfaces interface-name