switch stacking
termKept in this browser · My desk
Joining several switches so that they run as one: one configuration and one active control plane, with a standby taking over if the active member fails. Cisco's StackWise Virtual and Juniper's Virtual Chassis are examples.
The opposite trade from MLAG: one device to manage, but one control plane and one software domain for all members. When the stack link fails, the halves must decide which one stays active; Cisco puts the former active into recovery mode with its interfaces shut, and Juniper keeps active the part with the backup and at least half the members, or with the primary and more than half.
Cisco. StackWise Virtual joins two directly connected switches into one logical switch whose control, management and data planes are integrated; the active switch runs management and all bridging and routing protocols, with stateful switchover to the standby. The StackWise Virtual link carries all control and data traffic between the units (up to eight links on the Catalyst 9500), and a separate dual-active detection link, using fast hello on up to four links or enhanced PAgP through a neighbour, catches a split; the former active then shuts its non-SVL and non-DAD interfaces and waits in recovery mode. Juniper. A Virtual Chassis gives members the primary, backup or linecard role (up to 10 EX4400 members from Junos OS 21.1R1). After a split, the part that stays active contains both the stable primary and backup, or the primary and more than half the members, or the backup and at least half; the rest stay in the linecard role. So a 10-member chassis split 5 and 5 with primary and backup on different sides keeps the backup's half active. Juniper gives the reason: two active halves can disrupt the network if they share resources such as IP addresses. Upgrades. Juniper's nonstop software upgrade updates members one at a time, and its guide advises placing LAG members on different line cards or members.
Also known as: stacking, virtual chassis, stackwise virtual, stack split
Sources
- Cisco, Catalyst 9500 IOS XE 17.12, configuring Cisco StackWise Virtual, 28 July 2023 (read 2026-11-16 via WebFetch): two switches as one logical switch with integrated control, management and data planes; StackWise Virtual link; dual-active detection by fast hello or ePAgP; the former active shuts down its non-SVL and non-DAD interfaces in recovery mode
- Juniper Networks, understanding split and merge in a Virtual Chassis (read 2026-11-16): the part that stays active holds the stable primary and backup, or the primary and more than half the members, or the backup and at least half; the other part stays in the linecard role
- Juniper Networks, Virtual Chassis components (read 2026-11-16): primary, backup and linecard roles; up to 10 EX4400 members from Junos OS 21.1R1