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 128.

Authority

Administrators

Usage

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

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

  • The product supports 256 LAG interfaces with a maximum of eight physical interfaces per LAG.

  • 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