Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Aggregated Ethernet Interfaces Overview

Learn about aggregated Ethernet interfaces, LACP, and LAG.

Overview

IEEE 802.3ad link aggregation enables you to group Ethernet interfaces to form a single link layer interface, also known as a link aggregation group (LAG) or bundle.

Aggregating multiple links between physical interfaces creates a single logical point-to-point trunk link or a LAG. The LAG balances traffic across the member links within an aggregated Ethernet bundle and effectively increases the uplink bandwidth. Another advantage of link aggregation is increased availability, because the LAG is composed of multiple member links. If one member link fails, the LAG continues to carry traffic over the remaining links.

You can configure a mixed rate of link speeds for the aggregated Ethernet bundle. Link speeds of 10GbE, 40GbE, and 100GbE are supported. Load balancing does not work if you configure link speeds that are not supported.

Use Aggregated Ethernet interface to confirm platform and release support for specific features.

You can configure port channel using different SFP models between two endpoints keeping the same bandwidth.

For example:

switch 1 gig0/1 (SFP-10G-SR-S) --------- MX 1 gig0/1 (SFP-10G-SR-S)

switch 1 gig0/2 (SFP-10G-LR-S) --------- MX 1 gig0/2 (SFP-10G-LR-S)

Link Aggregation Control Protocol (LACP) is a subcomponent of the IEEE 802.3ad standard and is used as a discovery protocol.

To ensure load balancing across the aggregated Ethernet (AE) interfaces on a redundant server Node group, the members of the AE must be equally distributed across the redundant server Node group.

During a network Node group switchover, traffic might be dropped for a few seconds.

Link Aggregation Group (LAG)

You configure a LAG by specifying the link number as a physical device and then associating a set of interfaces (ports) with the link. All the interfaces must have the same speed and be in full-duplex mode. Juniper Networks Junos operating system (Junos OS) for EX Series Ethernet Switches assigns a unique ID and port priority to each interface. The ID and priority are not configurable.

The number of interfaces that can be grouped into a LAG and the total number of LAGs supported on a switch varies according to switch model. Additional Platform Information lists the EX Series switches and the maximum number of interfaces per LAG and the maximum number of LAGs they support.

LAGs with member links of different interface types, for example, ge and mge are not supported on multirate switches.

For Junos OS Evolved, the software does not impose a limit on the maximum number of aex in a mixed-rate aggregated Ethernet bundle. All child logical interfaces belong to the same aggregated Ethernet physical interface and share the same selector. So, much less load-balance memory and mixed-rate aex configurations should go through even if number exceeds 64 logical interfaces.

On QFX Series switches, if you try to commit a configuration containing more than 64 Ethernet interfaces in a LAG, you receive an error message. The error message says that the group limit of 64 has been exceeded and the configuration checkout has failed.

To create a LAG:

  1. Create a logical aggregated Ethernet interface.

  2. Define the parameters associated with the logical aggregated Ethernet interface, such as a logical unit, interface properties, and Link Aggregation Control Protocol (LACP).

  3. Define the member links to be contained within the aggregated Ethernet interface—for example, two 10-Gigabit Ethernet interfaces.

  4. Configure LACP for link detection.

Keep in mind these hardware and software guidelines:

  • For Junos OS Evolved, when a new interface is added as a member to the aggregated Ethernet bundle, a link flap event is generated. When you add an interface to the bundle, the physical interface is deleted as a regular interface and then added back as a member. During this time, the details of the physical interface are lost.

  • Up to 32 Ethernet interfaces can be grouped to form a LAG on a redundant server Node group, a server Node group, and a network Node group on a QFabric system. Up to 48 LAGs are supported on redundant server Node groups and server Node groups on a QFabric system, and up to 128 LAGs are supported on network Node groups on a QFabric system. You can configure LAGs across Node devices in redundant server Node groups, server Node groups, and network Node groups.

    On a Qfabric system, if you try to commit a configuration containing more than 32 Ethernet interfaces in a LAG, you will receive an error message saying that the group limit of 32 has been exceeded, and the configuration checkout has failed.

  • The LAG must be configured on both sides of the link.

  • The interfaces on either side of the link must be set to the same speed and be in full-duplex mode.

    Junos OS assigns a unique ID and port priority to each port. The ID and priority are not configurable.

  • QFabric systems support a special LAG called an FCoE LAG, which enables you to transport FCoE traffic and regular Ethernet traffic (traffic that is not FCoE traffic) across the same link aggregation bundle. Standard LAGs use a hashing algorithm to determine the physical link used for transmission. Thus, communication between two devices might use different physical links in the LAG for different transmissions. An FCoE LAG ensures that FCoE traffic uses the same physical link in the LAG for requests and replies. This preserves the virtual point-to-point link between the FCoE device converged network adapter (CNA) and the FC SAN switch across a QFabric system Node device. An FCoE LAG does not provide load balancing or link redundancy for FCoE traffic. However, regular Ethernet traffic uses the standard hashing algorithm and receives the usual LAG benefits of load balancing and link redundancy in an FCoE LAG. See Understanding FCoE LAGs for more information.

Configure Aggregated Ethernet Interfaces

Learn how to configure aggregated Ethernet interfaces. Includes a sample configuration as well.

To configure an aex:

  1. Specify the number of aggregated Ethernet bundles you want on your device. If you specify the device-count value as 2, you can configure two aggregated bundles.
  2. Specify that you want to configure the LAG interface.
  3. Configure the aex.
  4. Specify the link speed for the aggregated Ethernet links. When you specify the speed, all the interfaces that make up the aggregated Ethernet bundle have the same speed. You can also configure the member links of an aggregated Ethernet bundle with mixed rates for efficient bandwidth utilization. See link-speed (Aggregated Ethernet).
  5. Specify the minimum number of links for the aex—that is, the defined bundle— to be labeled up. By default, only one link must be up for the bundle to be labeled up.

    You cannot use the minimum link in aggregated Ethernet with mixed speed. You cannot configure the minimum number of links and the minimum bandwidth at the same time.

  6. (Optional) Specify the minimum bandwidth for the aggregated Ethernet links. You cannot configure link protection with minimum bandwidth.
  7. Configure tagged aggregated Ethernet. Specify the vlan-tagging statement at the [edit interfaces aex] hierarchy level.

    You can include this statement at the following hierarchy levels:

    • [edit interfaces interface-name unit logical-unit-number]

    • [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number]

  8. Configure untagged aggregated Ethernet.
    • You can configure only one logical interface (unit 0) on the port. The logical unit 0 is used to send and receive LACP or marker protocol data units (PDUs) to and from the individual links.

    • You cannot include the vlan-id statement in the configuration of the logical interface.

  9. (Optional) Configure your device to collect multicast statistics for the aggregated Ethernet interface.
  10. Verify and commit the configuration.
  11. (Optional) Delete an aggregated Ethernet Interface.
  12. To configure periodic rebalancing:
    1. Access the aggregated Ethernet interface for which you want to configure periodic rebalancing.
    2. Configure the rebalancing parameters for the interface, including the time and the interval between rebalancing actions.

    If subscribers frequently log in and log out of your network, you can configure the system to periodically rebalance the links based on a specific time and interval.

Check the following guidelines while configuring aggregated Ethernet interfaces:

In general, aggregated Ethernet bundles support the features available on all supported interfaces that can become a member link within the bundle. As an exception, GbE IQ features and some newer GbE features are not supported in aggregated Ethernet bundles.

GbE IQ and SFP interfaces can be member links, but IQ- and SFP-specific features are not supported on the aggregated Ethernet bundle even if all the member links individually support those features.

Before you commit an aggregated Ethernet configuration, ensure that link mode is not configured on any member interface of the aggregated Ethernet bundle; otherwise, the configuration commit check fails.

Sample Aggregated Ethernet Interfaces Configuration

Aggregated Ethernet interfaces can use interfaces from different FPCs, DPCs, or PICs. The following configuration is sufficient to get an aggregated Gigabit Ethernet interface up and running.

Additional Platform Information

Use Link Aggregation Group to confirm platform and release support for specific features. Additional platforms might be supported.

LAG Information EX4100-F Virtual Chassis EX4200 and EX4200 Virtual Chassis EX4300 and EX4300 Virtual Chassis EX4600 EX4650 Virtual Chassis EX9200
    EX6200 EX4400      
Maximum Interfaces per LAG 8 8 16 32 64 64
Maximum LAGs per Switch 128 111 128 128 72 150
LAG Information QFX5100 QFX5120 QFX5130 QFX5700 QFX10002 QFX10008  
  QFX5110   QFX5200        
Maximum Interfaces per LAG 64 64 64 128 64 64 64
Maximum LAGs per Switch 96 72 128 144 150 1000 1000