interface lag

Syntax

interface lag <ID>
no interface lag <ID>

Description

Creates a Link Aggregation Group (LAG) interface represented by an ID.

The no form of this command deletes a LAG interface represented by an ID.

Command context

config

Parameters

<ID>

Specifies a LAG interface ID. Range: 1 to 256.

Authority

Administrators

Usage

Keep in mind the following requirements when adding interfaces to a LAG:

  • The product can support the following maximum number of LAGs:
    • 8320 and 8325 switches (32 ports): 32

    • 8320 switches (48 ports of 1/10GbE (SFP/SFP+ and 10GBASE-T) and 6 ports of 40GbE): 54

    • 8325 switches (48 ports of 1GbE/10GbE/25GbE (SFP/SFP+/SFP28) and 8 ports 40GbE/100GbE (QSFP+/QSFP28): 56

  • The product can support a maximum number of 256 LAGs.

  • After the maximum limit of members is reached in a LAG, an additional port cannot be added to the aggregation group. If a port belongs to a card type with a different speed than the other aggregation members, the port can still be added to the aggregation group. If dynamic LAG is enabled, any port member with a speed different than other aggregation members is blocked or ineligible from the same aggregation group. Any operational keys/attributes or configuration changes might affect the aggregation states of the member ports.

  • The nondefaults configuration on an interface is removed automatically when the interface is added to a link aggregation. For example: Assume that you remove a member interface from an existing LAG and add it to another LAG. The software removes the nondefault configurations on the interface when it is added to the new LAG.

Examples

Creating a Link Aggregation Group (LAG) interface represented by an ID of 100:

switch(config)# interface lag 100

Deleting a Link Aggregation Group (LAG) interface represented by an ID of 100:

switch(config)# no interface lag 100