A two-port server bond protects against a bad cable. Terminate both cables on the same switch, though, and a switch outage can still take the server offline. Arista Multi-Chassis Link Aggregation (MLAG) lets each cable land on a different switch while the server sees a single LACP bundle.
How the two switches work together
The switches form an MLAG domain and present a shared LACP system ID on the server-facing bundle. Both peers can forward traffic in normal operation. Traffic hashing distributes flows across eligible links, so a single flow generally uses one member at a time.
The peer link carries MLAG control messages and can also carry user traffic. For example, if a server-facing member fails on Leaf A, traffic arriving there may need to cross the peer link to reach the server through Leaf B. Traffic to a device attached to only one peer can also cross that link.
The lab topology
Two Ethernet links form the peer-link port channel. The server connects to Ethernet1 on each leaf, using one LACP bond. The server sends untagged traffic, and both leaves place it in VLAN 120.

Peer VLAN. VLAN 4094 carries the MLAG session. The trunk group confines it to Port-Channel100. The peer link also carries VLAN 120. IP addressing and a default gateway for the server are separate from the MLAG configuration.
Configure the MLAG pair
Start from EOS global configuration mode. Connect Ethernet49 to Ethernet49 and Ethernet50 to Ethernet50 between the leaves. Apply the example to Leaf A, then apply it to Leaf B with the address changes below. Bring up the server bond after both leaves are configured.
vlan 120
name SERVER
vlan 4094
trunk group MLAG-PEER
exit
no spanning-tree vlan-id 4094
interface Ethernet49-50
channel-group 100 mode active
interface Port-Channel100
description MLAG peer link
switchport mode trunk
switchport trunk group MLAG-PEER
interface Vlan4094
no autostate
ip address 10.255.0.1/30
mlag configuration
domain-id RACK01
local-interface Vlan4094
peer-address 10.255.0.2
peer-link Port-Channel100
exit
interface Ethernet1
channel-group 10 mode active
interface Port-Channel10
description Server LACP bond
switchport mode access
switchport access vlan 120
mlag 10
Leaf B changes. Set the Vlan4094 address to 10.255.0.2/30 and the peer-address to 10.255.0.1. Use the same domain ID, trunk group, access VLAN, and MLAG ID on both leaves.
Server settings. Use one IEEE 802.3ad LACP bond across both NICs. For this lab, allow the bond and switch port channels to remain up with one member so a single member failure can be tested.
Spanning tree is disabled only on the isolated peer VLAN. Preserve spanning tree on VLAN 120 and keep the VLAN settings consistent across both switches.
Verify forwarding and test failover
Check the peer session. Run show mlag on both switches. Look for Active, with the peer link and local interface Up. If the session is down, check that both peer-link members are bundled, VLAN 4094 crosses Port-Channel100, and each leaf can reach the other leaf’s SVI address.
Check the server bundle. Run show mlag interfaces and look for MLAG 10 in active-full with local and remote status up/up. Run show port-channel summary and show lacp neighbor to check local members and their LACP partners. Use show mlag config-sanity to check for configuration mismatches.
Remove one server link. Run a continuous ping to a reachable endpoint in VLAN 120 and keep a test application flow open. Disconnect one server link in the lab. With MLAG peering intact, expect active-partial and check that traffic can use the surviving member. Restore the link and confirm active-full before the next test.
Test the peer link in stages. Remove one peer-link member and check that the peer session stays up on the remaining member. Restore it before testing a leaf reboot. Measure packet loss and verify that the returning leaf rejoins and the server bundle returns to full membership.
When both peer link members fail
A complete peer-link outage can leave two live switches unable to coordinate. Treat that as a separate split-brain test in an isolated lab. For production designs, review EOS dual-primary detection with a heartbeat over an independent management path. Verify the configured action and recovery behavior on your platform, and size the peer link for traffic that may cross it during failures.
