lacp

Prev Next

lacp clear statistics

lacp clear statistics - Clear LACP statistics

Description:

Clear the LACP aggregation group statistics. If <agg-identifier> is not specified, all aggregation group statistics will be cleared.

Syntax:

lacp clear statistics [<agg-identifier>]

Parameters:

Parameter Description
<agg-identifier> <string>

lacp custom edit mode

lacp custom edit mode - Edit custom LACP mode

Description:
Use the lacp custom edit mode command to modify the custom LACP mode.

Syntax:

lacp custom edit mode <0-1>

lacp custom show mode

lacp custom show mode - Show custom LACP mode

Description:

Use the lacp custom show mode command to show the custom LACP mode.

Syntax:

lacp custom show mode

lacp edit

lacp edit - Edit an LACP aggregation group configuration

Description:

Edit a LACP aggregation group configuration.

Syntax:

lacp edit <agg-identifier> {system-priority <decimal>} |
                           {timer-mode <custom|short|long|sub50ms>}}+

Parameters:

Parameter Description
<agg-identifier> Aggregator group instance name.
system-priority Priority assigned to this system.
timer-mode Time to wait before sending LACPDU (custom, short, long, sub50ms).

lacp show configuration

lacp show configuration - Show an LACP aggregation group configuration

Description:

Display an LACP aggregation group configuration.

Syntax:

lacp show configuration [<agg-identifier>]

Parameters:

Parameter Description
<agg-identifier> <string>
State The state of the aggregator. The possible states are Enabled and Disabled.
Timeout The time to wait before sending LACPDU. The choices are Long (802.3ad Long Timeout), Short (802.3ad Short Timeout), and Custom (Cisco Custom timeout allowing for sub-50ms protection switching).
System priority The priority of the LACP system. The end of the LACP link with the highest priority determines which link is active. The higher the number, the lower the priority. Range: 1 to 65535.
Port name The name of the port.
Port priority The port in the LAG that should be active for the LACP system. The priority can change dynamically depending on the revertive mode configuration.
Port number The number of the port.

lacp show statistics

lacp show statistics - Show an LACP aggregation group statistics

Description:

This command displays the statistics of link aggregation group (LAG), which contains:

  • aggregator-name: The name of the LAG
  • Tx LACPDU: Number of LACPDU transmitted
  • Rx LACPDU: Number of LACPDU received
  • Rx bad LACPDU: Number of unrecognized or invalid LACPDU received

If an aggregator identifier is specified, the command will display detailed statistics for the ports that belong to the LAG.

Syntax:

lacp show statistics [<agg-identifier>]

Parameters:

Parameter Description
<agg-identifier> <string>

lacp show status

lacp show status - Show an LACP aggregation group status

Description:

Display LACP aggregation group status which contains:

  • Aggregator Name: The name of the LAG group
  • System: The MAC address of the port set as working (actor) in the LACP system.
  • System priority: The priority of the LACP system. The end of the LACP link that has the highest priority determines which link is active. The higher the number, the lower the priority. Range: 1 to 65535.
  • Key: The IEEE aggregation key of the port.
  • Port ID: The LACP port identifier.
  • Port MAC address: The port MAC address.
  • Port state: The state of the port. The port state is expressed as an hexadecimal value, where individual bits within a single octet represent different state elements. The actor and partner can have one or more states numbered from 1 to 8.

Notes:

State variables for the port are encoded as individual bits within a single octet as follows:

LACP_Activity is encoded in bit 0. This flag indicates the Activity control value with regard to this link. Active LACP is encoded as 1; Passive LACP is encoded as 0.

LACP_Timeout is encoded in bit 1. This flag indicates the Timeout control value with regard to this link. Short Timeout is encoded as 1; Long Timeout is encoded as 0.

Aggregation is encoded in bit 2. If TRUE (encoded as 1), this flag indicates that the system considers this link to be Aggregateable, i.e.: a potential candidate for aggregation. If FALSE (encoded as 0), the link is considered to be Individual, i.e. this link can be operated only as an individual link.

Synchronization is encoded in bit 3. If TRUE (encoded as 1), the system considers this link to be IN_SYNC, i.e. it has been allocated to the correct Link Aggregation Group, the group has been associated with a compatible Aggregator, and the identity of the Link Aggregation Group is consistent with the System ID and operational Key information transmitted.

If FALSE (encoded as 0), then this link is currently OUT_OF_SYNC, i.e.: it is not in the right Aggregation.

Collecting is encoded in bit 4. TRUE (encoded as 1) means collection of incoming frames on this link is definitely enabled, i.e. collection is currently enabled and is not expected to be disabled in the absence of administrative changes or changes in received protocol information. Its value is otherwise FALSE (encoded as 0).

Distributing is encoded in bit 5. FALSE (encoded as 0) means distribution of outgoing frames on this link is definitely disabled, i.e. distribution is currently disabled and is not expected to be enabled in the absence of administrative changes or changes in received protocol information. Its value is otherwise TRUE (encoded as 1);

Defaulted is encoded in bit 6. If TRUE (encoded as 1), this flag indicates that the Actor Receive machine is using Defaulted operational Partner information, administratively configured for the Partner. If FALSE (encoded as 0), the operational Partner information in use has been received in an LACPDU;

Expired is encoded in bit 7. If TRUE (encoded as 1), this flag indicates that the Actor Receive machine is in the EXPIRED state; if FALSE (encoded as 0), this flag indicates that the Actor Receive machine is not in the EXPIRED state.

Note: The received values of Defaulted and Expired state are not used by LACP. However, knowing their values can be useful when diagnosing protocol problems.

Syntax:

lacp show status [<agg-identifier>]

Parameters:

Parameter Description
<agg-identifier> <string>

© 2025 Cisco and/or its affiliates. All rights reserved.
 
For more information about trademarks, please visit: Cisco trademarks
For more information about legal terms, please visit: Cisco legal terms

For legal information about Accedian Skylight products, please visit: Accedian legal terms and tradmarks