Octet

What is switch stacking, and how is it different from a chassis or a pair of switches running MLAG?

Show the answer

Say this first

A stack joins several fixed switches with dedicated stack cables into one logical switch: one control plane on the active member, a hot standby, one config and one management IP, and EtherChannels that can span members. A chassis does the same with line cards and redundant supervisors. MLAG (vPC on Nexus) keeps two separate control planes that cooperate to present one port-channel, so each switch can be upgraded on its own.

Go deeper

How a Catalyst stack behaves

  • Members are numbered, and the number is in the interface name: Gi2/0/1 is port 1 on member 2. A Catalyst 9300 stack holds up to 8 members.
  • Roles are active, standby and member. At stack formation the highest stack priority wins (1 to 15, default 1), with the lowest MAC as the final tie breaker. A running active is not pre-empted when you add a higher-priority switch.
  • Active and standby run SSO. Every member forwards in hardware locally, so traffic between two ports on the same member never crosses the stack ring.
  • Cross-stack EtherChannel: one uplink from each of two members, so losing a member keeps the uplink.

Tradeoffs to say out loud

StackChassisMLAG / vPC
Control planes11 (dual supervisor)2
UpgradeWhole stack, usually one reloadSupervisor by supervisor on many platformsOne switch at a time
ConfigOneOneTwo, kept consistent
Failure domainSoftware bug hits all membersSameSmaller

StackWise Virtual on Catalyst 9000 joins two switches over ordinary Ethernet links into one control plane, the modern form of VSS.

Traps

  • Saying a stack removes all single points of failure. One control plane means one bad image or bug affects every member.
How did you do?