Configuring Link Aggregation
Use the link aggregation feature to aggregate one or more links to form a virtual link or aggregation group. The MAC client can treat this virtual link as if it were a single link. Link aggregation increases bandwidth, provides graceful degradation as failure occurs, and increases link availability.
![]() | Note: An interface with an already configured IP address cannot form part of the aggregation group. |
- Creating an Aggregated Ethernet Interface
- Configuring the VLAN Name and VLAN ID Number
- Configuring Aggregated Ethernet LACP
Creating an Aggregated Ethernet Interface
To create an aggregated Ethernet interface:
- Specify the number of aggregated Ethernet interfaces to
be created:
[edit chassis]
user@switch# set aggregated-devices interfaces device-count device-countFor example, to specify 5:
[edit chassis]
user@switch# set aggregated-devices interfaces device-count - Specify the minimum number of links for the aggregated
Ethernet interface (aex), that is, the defined
bundle, to be labeled “up”:

Note: By default only one link must be up for the bundle to be labeled “up”.
[edit interfaces]
user@switch# set interface-name aggregated-ether-options minimum-links minimum-linksFor example, to specify 5:
[edit interfaces]
user@switch# set interface-name aggregated-ether-options minimum-links 5 - Specify the link speed for the aggregated Ethernet bundle:
[edit interfaces]
user@switch# set interface-name aggregated-ether-options link-speed link-speedFor example, to specify 10g:
[edit interfaces]
user@switch# set interface-name aggregated-ether-options link-speed 10g - Specify the members to be included within the aggregated Ethernet bundle:
Configuring the VLAN Name and VLAN ID Number
[edit vlans]
user@switch# set vlan-name vlan-id vlan-id-numberFor example, 100.
Configuring Aggregated Ethernet LACP
For aggregated Ethernet interfaces on the QFX Series, you can configure the Link Aggregation Control Protocol (LACP). LACP is one method of bundling several physical interfaces to form one logical interface. You can configure aggregated Ethernet with or without LACP enabled.
Before you configure LACP, be sure you have configured the aggregated Ethernet bundles—also known as link aggregation groups (LAGs).
When LACP is enabled, the local and remote sides of the aggregated Ethernet links exchange protocol data units (PDUs), containing information about the state of the link. You can configure Ethernet links to actively transmit PDUs, or you can configure the links to passively transmit them, sending out LACP PDUs only when they receive them from another link. One side of the link must be configured as active for the link to be up.
![]() | Note: Do not add LACP to a LAG if the remote end of the LAG link is a security device, unless the security device supports LACP. Security devices often do not support LACP because they require a deterministic configuration. |
To configure LACP:
- Enable the LACP mode:
[edit interfaces]
user@switch# set aex aggregated-ether-options lacp modeFor example, to specify the mode as active, execute the following command:
[edit interfaces]
user@switch# set aex aggregated-ether-options lacp active - Specify the interval and speed at which the interfaces
send LACP packets:
[edit interfaces]
user@switch# set aex aggregated-ether-options lacp periodic intervalFor example, to specify the interval as fast, execute the following command:
[edit interfaces]
user@switch# set aex aggregated-ether-options lacp periodic fast

