MLAG configuration is very similar to port-channel configuration. It is recommended to keep the same port in each switch within the same mlag-port-channel (not a must). In this example, there are two MLAG ports, one for each host (host s1 is connected to mlag-port-channel 1 and host s2 is connected to mlag-port-channel 2).
The "mlag-port-channel" number is globally significant and must be the same on both switches.
Configure the following on both switches:
Set the mode (LACP or static) - Only one option is applicable:
• To set the MLAG interface in static mode run:
• To set the MLAG interface in LACP mode, run:
LACP mode 4 should be configured on the host side. Configuring LACP is similar in LAG and MLAG ports. LACP notifications arrive via the control protocol and not via the port physical status. It will show the remote system-id and may encounter configuration errors. LACP is very valuable, especially in large scale configurations with multiple MLAGs, as it helps detect any mismatched configurations in terms of connectivity.
Enable the two interfaces:
To change any MLAG port parameter (e.g. MTU), enter the MLAG interface configuration mode and perform the change:
Some operations may require "force" or manual disabling of the link.
To change the LAG/MLAG port speed, all interfaces should be removed from LAG/MLAG while changing the speed in the member interface configuration mode.
It is recommended to configure the ports speed before adding the ports as members to the LAG/MLAG port, as once the ports are members in a LAG/MLAG the speed cannot be modified without removing the port from the LAG/MLAG.
To verify MLAG configuration and status, run the following commands:
To verify MLAG domain status, run:
To see MLAG interfaces summary, run: