lag type

This topic explains the command that sets a LAG as a static or dynamic LACP LAG.

Syntax

lag type {lacp | static}

Parameter

lacp: Set the LAG type as LACP.

static: Set the LAG type as static.

Default

Static

Mode

Interface Configuration

Usage

Use this command to set a LAG group as a static or dynamic (LACP) LAG.

Example

This example shows how to set LAG 1 as a dynamic (LACP) LAG:

CODE
Switch(config)# interface LAG 1
Switch(config-if)# lag type lacp

This example shows how to display the status of the LAGs:

CODE
Switch# show lag

 Group ID |  Type  |          Ports
----------+--------+--------------------------------
   1      |   LACP |  Inactive: 1/0/1-1/0/3
   2      | ------ |
   3      | ------ |
   4      | ------ |
...