3.10.1. lag

Syntax

lag <1-8> mode (static | active | passive) no lag

Parameter


<1-8> Specify the LAG id for the interface

static Specify the LAG to be static mode and join the interface into this LAG.

active Specify the LAG to be dynamic mode and join the interface into this LAG with LACP active port.

passive Specify the LAG to be dynamic mode and join the interface into this LAG with LACP passive port.


Default

There is no LAG in default.

Mode

Interface Configuration

Usage

Link aggregation group function allows you to aggregate multiple physical

ports into one logic port to increase bandwidth. This command makes normal port join into the specific LAG logic port with static or dynamic mode. And use “no lag” to leave the LAG logic port.

Example

This example shows how to create a dynamic LAG and join fa1-fa3 to this LAG.

Switch(config)# interface range fa1-3
Switch(config-if)# lag 1 mode active
This example shows how to show current LAG status.
Switch# show lag
Load Balancing: src-dst-mac-ip.
Group ID | Type | Ports
---------+--------+--------------------------------
1 | LACP | Inactive: fa1-3
2 | ------ |
3 | ------ |
4 | ------ |
5 | ------ |
6 | ------ |
7 | ------ |
8| ------ |