EdgeSwitch - Link Aggregation Groups (LAG)


Overview


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

NOTES & REQUIREMENTS:
Applicable to the latest EdgeSwitch firmware on all EdgeSwitch (ESW) and ES-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:
  • ESW32 LAGs with a maximum of 8 ports per LAG.
  • ES-X8 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  and select port 0/7 and 0/8.

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

NOTE: By default, ESW use dynamic link aggregation (LACP). Another supported link aggregation mode is static. 
 
You can modify the link aggregation mode and load-balancing method by clicking on the button.png button and selecting  edit.png  (edit).

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

VLANs > New VLAN ID

newvlanid.png

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

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

6. Apply the changes. 

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

8. Apply the configuration changes.


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

1. Navigate to the Dashboard  dashboard.png  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 and 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.


The above configuration can also be set using the CLI:

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

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
NOTE:  To change the link aggregation mode to static, remove the no port-channel static statement.

Add the following commands to the ES-10X:

configure
vlan 10
exit
vlan 20
exit

interface range GigabitEthernet 7-8
lag 1 mode active
switchport trunk allowed vlan add 10,20
exit

interface lag 1
switchport trunk allowed vlan add 10,20
exit

exit
copy running-config startup-config
NOTE:  To change the link aggregation mode to static, change the  lag 1 mode statement from active to  static.

Related Articles


Back to Top

EdgeRouter - Interface Bonding

Intro to Networking - How to Establish a Connection Using SSH


We're sorry to hear that!