Why MLAG: two switches acting as one for the access layer
In a campus, an access switch or a server needs two uplinks so one failure does not cut it off. Spanning tree would block one of them. Multi-chassis link aggregation (MLAG) lets two distribution switches look like one switch to the device below, so both uplinks carry traffic.
Analogy: a shop with two doors run by two staff who share one counter
Customers see one shop. If one door closes, they use the other and are served as before. The two staff keep one shared ledger so nothing is lost. MLAG peers keep one shared view of MAC addresses and ports.
What MLAG gives
- Both uplinks forward traffic: no blocked links.
- Switch or link failure leaves the access device connected.
- Maintenance without outage: upgrade one peer at a time.
- Simple for the downstream device: it sees an ordinary port channel.
Spanning tree versus MLAG
| Aspect | Spanning tree only | With MLAG |
|---|---|---|
| Redundant links | One blocked per loop | All active |
| Failover | Reconvergence, seconds | Fast, link-level |
| Bandwidth | Half wasted | Fully used |
| Design | Simple, wasteful | Needs a peer link and care |
Where it sits in the campus
MLAG pairs are usually placed at the distribution or leaf layer, with access switches and servers dual-homed to them. Above the pair, routing links or a layer 3 uplink connect to the core or spine.
One port channel to two peers.
A floor access switch has one port channel with a member to each distribution peer. When Peer A is reloaded for an upgrade, the member to Peer B keeps carrying traffic and users do not notice.
Common mistake: treating MLAG as a way to avoid thinking about loops. You still need a clean design and loop protection.
The blocked uplink
A floor had two uplinks to different switches and half the bandwidth was idle because spanning tree blocked one. Moving to an MLAG pair gave full use of both links.
Lesson: use MLAG for dual-homing.
What problem does MLAG solve?
It lets a device connect to two switches with one port channel so both links are active and a switch failure causes no outage.
Key takeaways
- MLAG makes two switches look like one.
- All links forward; no blocked ports.
- Upgrade one peer at a time.
- Typically at distribution or leaf.
- Still needs loop protection.