networking

Kept in this browser · My desk

Stands for: Multi-chassis link aggregation

Multi-chassis link aggregation (MLAG): two switches that present one LACP identity, so a device can bundle links to both and survive the loss of either switch.

Every vendor has one and names it differently: Cisco's vPC, Arista's MLAG, Juniper's MC-LAG with ICCP, Extreme's MLAG and SMLT, Fortinet's MCLAG, H3C's DRNI. All have a link between the pair, an independent heartbeat, a rule that stops frames returning to a dual-homed device, and a secondary that stands down when the peer link fails. Pairs are single-vendor; the IETF's ICCP (RFC 7275) is the only published control protocol among them.

How it works. The device at the other end runs ordinary LACP and checks that all members report one partner system ID; the pair forges that ID and keeps it consistent over a link between them (peer link, ICL, ISC), which also carries traffic for single-attached devices and for a member that has failed. A forwarding rule stops a frame that came in on a dual-homed bundle from going back out of it through the other switch: Cisco's vPC loop-avoidance rule, Juniper's block mask, Extreme's ISC blocking filter. The failures. When the peer link fails and the heartbeat still answers, the secondary suspends its member ports (Cisco, H3C) or may be error-disabled by configuration (Arista); Extreme shows why the heartbeat needs another path, since with the ISC alone down both peers forward and traffic is duplicated. When both fail with both switches alive, each acts alone, and Juniper documents that the peers change their LACP system IDs and the attached device keeps only the first link's. Timers vary: Cisco's keepalive is 1 second with a 5-second timeout; Arista's heartbeat defaults to 4 seconds with a 30-second timeout and a 300-second reload delay on fixed switches. A case. GitHub's December 2012 outage came from an MLAG pair whose 5-second heartbeat timeout expired while its links stayed up, pushing it into standalone mode and blocking traffic between access switches for about a minute and a half.

Also known as: mc-lag, mclag, multi-chassis link aggregation, multichassis link aggregation, mlag peer link, dual-active

← Back to M Back to the glossary