Cisco StackWise vs VSS vs StackWise Virtual: Full Comparison - 夜莺博客

Cisco StackWise vs VSS vs StackWise Virtual: Full Comparison

VSS, StackWise and StackWise Virtual are Cisco's three answers to "make several switches behave like one", and even experienced engineers mix them up. The core distinctions: StackWise is a proprietary-cable stack for fixed switches in one closet, VSS virtualizes two chassis over conventional 10GE ports, and StackWise Virtual is essentially VSS reborn on the Catalyst 9000 generation — same concept, different OS and platforms. This guide, distilled from the Cisco Community thread on the topic, gives you a clean comparison table plus platform support facts.

Why does this matter in design work? Because each technology answers a different question. "I need more access ports in one closet cheaply" is a StackWise question. "I need two core chassis that fail over in under a second without STP reconvergence" is a VSS or StackWise Virtual question. Choosing the wrong one costs you either money or a maintenance window, so the goal of this article is to make the boundary between them unambiguous.

The Three Technologies Defined

VSS (Virtual Switching System)

VSS combines a pair of chassis (Catalyst 6500/6800, 4500) into one logical switch using conventional 1G/10G ports as the Virtual Switch Link. It supports geographic separation and is designed for core/distribution where deterministic sub-second failover matters.

One chassis is elected active and forwards; the other is standby and keeps its control plane warm. Because the two act as one logical device, downstream switches can dual-home with a plain EtherChannel instead of running Spanning Tree between them - the classic motivation for VSS in a distribution block. The Virtual Switch Link that ties the chassis together is itself an EtherChannel of up to eight physical links, and it carries both control traffic (the Role Resolution Protocol and heartbeats that elect the active switch) and data traffic between the two halves.

StackWise

StackWise unites up to 8 switches (Catalyst 9300 with StackWise-480; up to 9 on older 3750 generations) using proprietary stacking modules and cables, so it is confined to a single wiring closet. The 9300 stack tops out at 8 members; the 9300L uses StackWise-320.

Unlike VSS and StackWise Virtual, a StackWise stack is a single physical switch as far as the control plane is concerned: one election, one running configuration, one device to manage. The cables form a ring when both stacking ports on every member are used - a ring tolerates a single cable break (the stack simply reconverges at reduced bandwidth), whereas a daisy-chain topology breaks the stack in two if any cable fails. Always cable the ring.

StackWise Virtual

StackWise Virtual (SVL) is VSS for the Catalyst 9000 era: two switches virtualized over conventional fiber links, allowing long-distance distribution. It is supported on Catalyst 9400/9500/9600 (and 3850), not on Catalyst 9200/9300 — those only support physical StackWise. VSS and SVL are functionally the same thing; the difference is the OS (classic IOS vs IOS-XE) and marketing.

Because SVL runs over standard Ethernet ports rather than a stacking backplane, the two members can sit in different wiring closets, different buildings or even different floors - the cable length is limited by the optics you use, not by a proprietary 50 cm cable. That is the single biggest practical reason to choose SVL over StackWise in a campus design.

Quick Comparison Table

Feature StackWise VSS StackWise Virtual
Max members Up to 8 (9300) 2 chassis 2 switches
Interconnect Proprietary StackWise cables 10GE (VSL, up to 8 links) 1/10G fiber, long distance
Platforms 9200/9300, 3750 6500/6800, 4500 9400/9500/9600, 3850
Deployment layer Access closet Core/Distribution Core/Distribution

Nexus switches use a different, vPC-based model — see our Nexus vPC failover troubleshooting article. For the 9300-specific angle, read Catalyst 9300 StackWise vs VSS.

How Failover Actually Works

The three technologies look similar in a diagram but behave differently the moment a member dies, and that is where the design decision really pays off.

With VSS and StackWise Virtual, the standby member keeps a synchronised copy of the control plane and forwarding tables. When the active chassis fails, the standby takes over in roughly one to two seconds with Stateful Switchover (SSO), and - critically - neighbour devices do not see the logical device go down at all. Protocols stay up, adjacencies survive, and traffic simply follows the multi-chassis EtherChannel to whichever half is still forwarding. Where the platform supports it, Non-Stop Forwarding (NSF) keeps routing adjacencies alive across the switchover so even the control plane does not blink. High availability on IOS-XE also offers RPR (Route Processor Redundancy, slower, no state sync) and NSF with SSO (the fast, stateful combination you actually want).

StackWise failover is faster still - the surviving members re-elect a master in well under a second, because the stack backplane is a dedicated high-bandwidth bus rather than an EtherChannel. A stack is therefore a very strong choice for access-layer resilience: a powered-off member does not take the closet down. The counterweight is that the master holds the single running configuration and reloads all members on a stack-wide software upgrade, so a firmware change means a full closet reboot unless you use rolling upgrade features on supported platforms.

The practical takeaway: both families give you sub-second-or-better failover, so the choice is rarely about recovery time and almost always about physical topology (one closet vs two locations) and port economics.

Port Capacity and the Multi-Chassis EtherChannel

A virtualised pair does not just double port count - it makes an active-active fabric of both halves. A downstream switch can bundle uplinks to both the active and the standby chassis in a single EtherChannel, using all links at once instead of leaving half of them blocking under Spanning Tree. That is where the bandwidth win lives: a distribution block with two uplinks to each chassis moves 4x the traffic of a spanning-tree design with the same cables, because nothing is blocked.

On StackWise the same benefit comes from cross-stack EtherChannels: a port on member 1 and a port on member 3 can be bundled into one EtherChannel, and the stack treats them as a single logical interface. The stack backplane carries inter-member traffic, so the effective capacity between members matters - which is why StackWise-480 (480 Gbps) and StackWise-320 (320 Gbps) are quoted as headline numbers, and why a stack of eight switches sharing one backplane can become a bottleneck if most traffic funnels to a single uplink member.

Budget for that. In a StackWise design, make sure the members that carry the uplinks are the ones with the highest local switching need, or spread uplinks across two members so the backplane is not the choke point.

Software and Platform Support

  • StackWise runs on the fixed access platforms: Catalyst 9200, 9300 and 9300L, plus the legacy 3750/3750-X family. It is a hardware feature - the stacking ports are built into the chassis or its module.
  • VSS is a classic-IOS feature found on the modular chassis of the 6500/6800 and 4500 lineages. It predates IOS-XE unification.
  • StackWise Virtual is the IOS-XE re-implementation, available on the Catalyst 9400, 9500 and 9600, and on the 3850 in its SVL form. The 9200 and 9300 explicitly do not support it.

That last point catches people out constantly. A 9300 stack and a 9300 StackWise Virtual pair sound like the same thing in a quote, but only the first exists. If you need two-chassis virtualization on a Catalyst 9000 family, you need 9400 or above.

Licensing also differs. On the Catalyst 9000 family, many features - including the higher-tier switching capacities and advanced protocols - are unlocked by the Network Advantage versus Network Essentials license. Confirm your license tier covers the SVL feature set before you design around it, because the license is per-chassis and a mismatched pair will not virtualise cleanly.

Configuration Basics

The configuration commands are deliberately small, but they are disruptive, so they belong in a change window with a console session available.

For a StackWise Virtual pair, you define a domain, name the member switches, cable the SVL ports and convert:

switch 1 provision c9500-40x
switch 2 provision c9500-40x
stackwise-virtual
 domain 1
!
interface range HundredGigE1/0/1-2
 stackwise-virtual link 1
!
interface range HundredGigE2/0/1-2
 stackwise-virtual link 1
!
interface HundredGigE1/0/3
 stackwise-virtual dual-active-detection

Always configure a dual-active detection link over a port that is independent of the SVL - usually a link through a separate device. Without it, a split brain (both members believing they are active) is possible, and dual-active detection is the mechanism that shuts one side down to prevent duplicate addressing. It is optionally backed up by PAgP on the MEC links, but a dedicated detection link is the reliable answer.

For a StackWise stack the equivalent is expressed on the interface:

interface TenGigabitEthernet1/0/1
 switch 1 priority 15
 stack-port TenGigabitEthernet1/0/2
interface TenGigabitEthernet2/0/1
 switch 2 priority 10

Setting a higher priority on the member you want to be master makes the election deterministic - do not leave a production stack to a coin-flip election.

Upgrades and Operational Reality

Software upgrades are where the theoretical elegance meets the schedule. A StackWise stack shares one software image across all members and a single configuration file, so upgrading the stack means reloading all members together; on supported platforms you can use the rolling-upgrade mechanism to reload members in sequence, but the master reload is disruptive to the whole logical device for a period. In practice most teams schedule a maintenance window for the stack and accept the outage, because it is a leaf access layer.

VSS and StackWise Virtual support a much more graceful path: you can upgrade the standby chassis first, then switch over, then upgrade the other - known as In-Service Software Upgrade (ISSU) or a rolling upgrade on supported platforms. Because the members are independent chassis with their own control planes, the traffic keeps flowing through the half that is still up. That is a decisive advantage at the core of a network where a full maintenance window is expensive or simply not available.

Other operational notes worth planning for: the running configuration lives on one device but both members must be reachable for reload and recovery; console access to both halves is worth the cabling; and out-of-band management for each member independently saves you when the virtual pair itself is the thing that broke.

Which One Should You Pick?

For access-layer port density in a single closet, StackWise is simpler and cheaper. For core or distribution redundancy where a second of downtime is expensive, VSS or StackWise Virtual provides stateful switchover over fiber. The deciding factors are platform support (9300 cannot run SVL) and whether the two units are in the same closet or geographically separate.

Three questions settle it more often than any specification sheet:

  • Same closet, need more ports? StackWise. You want the stacking backplane, the low cost and the one-config-file simplicity.
  • Two locations, need one logical device? StackWise Virtual (on 9400/9500/9600) or VSS (on the 6500/6800/4500 generations). The fiber run forces the answer.
  • Is a maintenance window acceptable? If yes, StackWise remains the pragmatic access choice. If no, the ISSU capability of VSS/SVL is worth the extra cost and design effort.

Whichever you choose, cable redundancy matters more than the technology label: ring-cable your StackWise stack, give your SVL pair a dedicated dual-active detection link, and remember that both halves of a virtual pair need independent management reachability.

Related Reading

Pair this with Catalyst 9300 StackWise vs VSS and Cisco Nexus vPC failover troubleshooting for the complete virtualization picture across Catalyst and Nexus families.

原文链接:https://community.cisco.com/t5/switching/vss-cisco-stackwise-and-cisco-stackwise-virtual/td-p/3932795