×

EdgeSwitch & EdgeSwitch X - Link Aggregation Groups (LAG)


Overview


Readers will learn how to create Link Aggregation Groups (LAGs) on the EdgeSwitch (ES) and EdgeSwitch X (ES-X) devices.

NOTES & REQUIREMENTS:
Applicable to the latest firmware on all EdgeSwitch and EdgeSwitch X models. Please see the Related Articles below for more information.
 
Devices used in this article:

Adding LAG Interfaces


Back to Top

ATTENTION: The EdgeSwitch LAG limits are:
  • EdgeSwitch (ES) 32 LAGs with a maximum of 8 ports per LAG.
  • EdgeSwitch X (ES-X) 8 LAGs with a maximum of 8 ports per LAG.

topology.png

 Ports 7 and 8 will be bundled under a single logical interface (LAG1) tagging both VLAN10 and VLAN20.


GUI: Access the Web UI on the ES-8-150W.

1. Navigate to the Dashboard  dashboard.png  tab and select port 7 and 8.

2. Click on the Aggregate button in the top-right corner and add the interfaces to LAG1.

NOTE: By default, EdgeSwitches (ES) use dynamic link aggregation (LACP). Another supported link aggregation mode is static. 

3.  Click on the  button.png  button to edit  edit.png  the LAG1 interface settings.

4. Navigate to the VLANs  vlans.png  tab to add VLAN10 and VLAN20.

VLANs > New VLAN ID

newvlanid.png

5. Fill in 10 and select the  plus.png  icon to add the VLAN.

6. Fill in 20 and select the  plus.png  icon to add the VLAN.

7. Apply the changes. 

8. Under port 7 and port 8, change VLAN10 and VLAN20 from Excluded (E) to Tagged (T).

9. Apply the configuration changes.


The above configuration can also be set using the CLI:

CLI: Access the Command Line Interface on the ES-8-150W.

Add the following commands to the ES-8-150W:

enable
vlan database
vlan 10,20
exit

configure
interface 0/7-0/8
addport 3/1
vlan tagging 10,20
vlan participation include 10,20
exit

interface lag 1
no port-channel static
vlan tagging 10,20
vlan participation include 10,20
exit

exit
copy running-config startup-config

GUI: Access the Web UI on the ES-10X.

1. Navigate to the Dashboard  dashboard.png  tab and select port 7 and 8.

2. Click on the Aggregate button in the top-right corner and add the interfaces to LAG1.

3. Click on the  button.png  button to edit  edit.png  the LAG1 interface.

4. Uncheck the static LAG box to start using LACP.

3. Navigate to the VLANs  vlans.png to add VLAN10 and VLAN20.

VLANs > New VLAN ID

newvlanid.png

6. Fill in 10 and select the  plus.png  icon to add the VLAN.

7. Fill in 20 and select the  plus.png  icon to add the VLAN.

8. Apply the changes. 

9. Under port 7 and port 8, change VLAN10 and VLAN20 from Excluded (E) to Tagged (T).

10. Apply the configuration changes.


Related Articles


Back to Top

EdgeRouter - Interface Bonding

EdgeSwitch & EdgeSwitch X - How to Add VLANs

Intro to Networking - How to Establish a Connection Using SSH


Was this article helpful?
2 out of 4 found this helpful
Can't find what you're looking for?
Visit our worldwide community of Ubiquiti experts for more answers
Visit the Ubiquiti Community
Can't find what you're looking for?