show mlag ports

show mlag ports {port_list}

Description

Displays information about each MLAG (Multi-switch Link Aggregation Group) group.

Syntax Description

port_list

Specifies one or more ports.

Default

N/A.

Usage Guidelines

Use this command to display information about each MLAG group including local port number, local port status, remote MLAG port state, MLAG peer name, MLAG peer status, local port failure count, remote MLAG port failure count.

Local and remote link state and fail counts reflect the status of the entire LAG (Link Aggregation Group) when a LAG is used in conjunction with an MLAG. For example, if 1 and 2 ports in a local LAG on the switch associated with an MLAG is down, the local link state will still show as ready and the associated local fail count will be incremented. The remote fail count shown at MLAG neighboring switch will also be incremented.

Example

The following command displays information for an MLAG group:

# show mlag ports

Following is sample output for the command:

Local                                       Local   Remote
MLAG    Local   Link     Remote                     Peer    Fail    Fail
Id      Port    State    Link    Peer               Status  Count   Count
============================================================================
2       1:1     A        Up      leftBD8K           Up          0       0
1       1:2     A        Up      leftBD8K           Up          0       0
============================================================================
Local Link State: A - Active, D - Disabled, R - Ready, NP - Port not present
Remote Link     : Up - One or more links are active on the remote switch,
Down - No links are active on the remote switch,
N/A - The peer has not communicated link state for this MLAG
port
Number of Multi-switch Link Aggregation Groups  : 2
Convergence control                             : Fast

The following command displays information about an MLAG group on ports 1 and 2:

show mlag port 1,2

Following is sample output for the command:

Local                                      Local   Remote
MLAG  Local  Link     Remote                  Peer      Fail    Fail
Id     Port   State    Link   Peer             Status    Count   Count
==========================================================================
100    1      A        Up     switch101        Up            0        2
101    2      A        Down   switch101        Up            0        1
==========================================================================
Local Link State: A - Active, D - Disabled, R - Ready, NP - Port not present
Remote Link: Up - One or more links are active on the remote switch,
Down - No links are active on the remote switch,
N/A - The peer has not communicated link state for this MLAG
group
Number of Multi-switch Link Aggregation Groups: 2
Convergence Control                      : Conserve Access Lists

History

This command was first available in ExtremeXOS 12.5.

Platform Availability

This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X620, X690, X870 series switches.