Supported Platforms
Related Documentation
- PTX, QFX Series
- show lacp statistics interfaces (View)
- QFX Series
- Configuring Link Aggregation
- Verifying the Status of a LAG Interface
- Verifying That LACP Is Configured Correctly and Bundle Members Are Exchanging LACP Protocol Packets
- Example: Configuring Link Aggregation with LACP Between a QFX Series Product and an Aggregation Switch
Example: Configuring Link Aggregation Between a QFX Series Product and an Aggregation Switch
A QFX Series product allows you to combine multiple Ethernet links into one logical interface for higher bandwidth and redundancy. The ports that are combined in this manner are referred to as a link aggregation group (LAG) or bundle. The number of Ethernet links you can combine into a LAG depends on your QFX Series product model. You can configure LAGs to connect a QFX Series product to other switches, like aggregation switches, servers, or routers. This example describes how to configure LAGs to connect a QFX3500 switch to an aggregation switch.
Requirements
This example uses the following software and hardware components:
- Junos OS Release 11.1 or later for the QFX Series
- One QFX3500 switch
Overview and Topology
In this example, the QFX3500 switch has one LAG comprising two 10-Gigabit Ethernet interfaces. This LAG is configured in port mode so that the QFX3500 switch and the VLAN to which it has been assigned can send and receive traffic.
Configuring the Ethernet interfaces as LAGs has the following advantages:
- If one physical port is lost for any reason (a cable is unplugged or a switch port fails), the logical port transparently continues to function over the remaining physical port.
- Link Aggregation Control Protocol (LACP) can optionally be configured for link monitoring and automatic addition and deletion of individual links without user intervention.
![]() | Note: If the remote end of the LAG link is a security device, LACP might not be supported because security devices require a deterministic configuration. In this case, do not configure LACP. All links in the LAG are permanently operational unless the switch detects a link failure within the Ethernet physical layer or data link layers. |
The topology used in this example consists of one QFX3500 switch with a LAG configured between two of its 10-Gigabit Ethernet interfaces. The QFX3500 switch is connected to an aggregation switch.

Table 1 details the topology used in this configuration example.
Table 1: Components of the Topology for Configuring a LAG Between a QFX3500 Switch and Aggregation Switch
Hostname | Base Hardware | Trunk Port |
---|---|---|
switch | QFX3500 switch | ae0 is configured as a trunk port and combines
the following two interfaces: |
Configuration
To configure a LAG between two 10-Gigabit Ethernet interfaces:
CLI Quick Configuration
To quickly configure a LAG between two 10-Gigabit Ethernet interfaces on a QFX3500 switch, copy the following commands and paste them into the QFX3500 switch terminal window:
[edit]
set chassis aggregated-devices
ethernet device-count 1
set interfaces ae0 aggregated-ether-options minimum-links 1
set interfaces ae0 aggregated-ether-options
link-speed 10g
set interfaces
ae0 unit 0 family ethernet-switching vlan members green
set interfaces xe-0/0/2 ether-options
802.ad ae0
set interfaces
xe-0/0/3 ether-options 802.ad ae0
Step-by-Step Procedure
To configure a LAG between a QFX Series product and an aggregation switch:
- Specify the number of LAGs to be created on the switch:
[edit chassis]
user@switch# set aggregated-devices ethernet device-count 1 - Specify the number of links that need to be present for
the ae0 LAG interface to be up:
[edit interfaces]
user@switch# set ae0 aggregated-ether-options minimum-links 1 - Specify the media speed of the ae0 link:
[edit interfaces]
user@switch# set ae0 aggregated-ether-options link-speed 10g - Assign the LAG to a VLAN:
[edit interfaces]
user@switch# set ae0 unit 0 family ethernet-switching vlan members vlan200 - (Optional): Designate one side of the LAG as active for
LACP:
[edit interfaces]
user@switch# set ae0 aggregated-ether-options lacp active - (Optional): Designate the interval and speed at which
the interfaces send LACP packets:
[edit interfaces]
user@switch# set ae0 aggregated-ether-options lacp periodic fast
Results
Display the results of the configuration:
Verification
To verify that switching is operational and one LAG has been created, perform these tasks:
Verifying That LAG ae0.0 Has Been Created
Purpose
Verify that LAG ae0.0 has been created on the switch.
Action
show interfaces ae0 terse
Interface Admin Link Proto Local Remote ae0 up up ae0.0 up up eth-switch
Meaning
The output confirms that the ae0.0 link is up and shows the family and IP address assigned to this link.
Verifying That LAG ae0 Has Been Created
Purpose
Verify that LAG ae0 has been created on the switch
Action
show interfaces ae0 terse
Interface Admin Link Proto Local Remote ae0 up down ae0.0 up down eth-switch
Meaning
The output shows that the ae0.0 link is down.
Troubleshooting
Troubleshooting a LAG That Is Down
Problem
The show interfaces terse command shows that the LAG is down.
Solution
Check the following:
- Verify that there is no configuration mismatch.
- Verify that all member ports are up.
- Verify that a LAG is part of family ethernet switching (Layer 2 LAG) or family inet (Layer 3 LAG).
- Verify that the LAG member is connected to the correct LAG at the other end.
Related Documentation
- PTX, QFX Series
- show lacp statistics interfaces (View)
- QFX Series
- Configuring Link Aggregation
- Verifying the Status of a LAG Interface
- Verifying That LACP Is Configured Correctly and Bundle Members Are Exchanging LACP Protocol Packets
- Example: Configuring Link Aggregation with LACP Between a QFX Series Product and an Aggregation Switch
Published: 2013-01-23
Supported Platforms
Related Documentation
- PTX, QFX Series
- show lacp statistics interfaces (View)
- QFX Series
- Configuring Link Aggregation
- Verifying the Status of a LAG Interface
- Verifying That LACP Is Configured Correctly and Bundle Members Are Exchanging LACP Protocol Packets
- Example: Configuring Link Aggregation with LACP Between a QFX Series Product and an Aggregation Switch