enable mlag port peer id

enable mlag port port peer peer_name id identifier

Description

Binds a local port or LAG to an MLAG.

Syntax Description

port

Specifies a local member port of the MLAG group.

peer_name

Specifies an alpha numeric string identifying the MLAG peer.

identifier

Specifies a unique MLAG identifier value. The range is 1 to 65000.

Default

N/A.

Usage Guidelines

Use this command to bind a local port or LAG to an MLAG that is uniquely identified by the MLAG ID value. The MLAG ID can be any number from 1 to 65000.

The specified port number may be a single port or the master port of a load sharing group but may not be a load sharing member port. If it is, a message similar to the following is displayed:

ERROR: Port 2 is a member of a load share group. Use the load share master port (10) instead.

A port can be part of only one MLAG, If you try to add it to another MLAG, a message similar to the following is displayed:

ERROR: Port 2 is already part of an MLAG Id 101

Once the MLAG group binding is made, any change to load sharing on MLAG ports is disallowed.

The MLAG peer must exist or the command will fail.

Example

The following command binds the local member port 2 to the peer switch switch101with an identifier of 101:

enable mlag port 2 peer switch101 id 101

History

This command was first available in ExtremeXOS 12.5.

Platform Availability

This command is available on all platforms.