Leaf-Spine Architecture: Two-Tier Data Center Design - 夜莺博客

Leaf-Spine Architecture: Two-Tier Data Center Design

The leaf-spine architecture has become the default data center network design for good reason: it collapses three tiers into two and replaces spanning-tree blocking with IP routing on every link. This article explains the design decisions behind leaf-spine — why three-tier networks stop scaling, how multichassis designs work, and what horizontal scaling really means — so you can defend your next architecture review with facts, not fashion.

The Traffic Pattern That Broke Three-Tier

Monolithic applications produced mostly north-south traffic: client to server and back. The classic three-tier design (access-distribution-core) handled that efficiently. Microservices, virtualization and AI flipped the balance to east-west traffic between servers, and every east-west flow in a three-tier network crosses the distribution and core twice — adding hops, latency and bottlenecks. The uplinks and core quickly become oversubscribed.

STP Wastes Bandwidth by Design

Layer 2 redundancy in a three-tier design relies on Spanning Tree Protocol, which blocks redundant links. Blocked links carry no traffic; as the network grows, STP blocks even more of it. Multichassis technologies (VSS, StackWise Virtual, MLAG) hide the redundancy pair as one logical switch so all links forward — but that still only fixes bandwidth waste, not scale.

Leaf-Spine: Two Tiers, No STP, Predictable Paths

Leaf-spine introduces three changes at once:

  • Collapses access, distribution and core into leaf and spine only.
  • Runs IP routing on every link, removing STP entirely.
  • Every leaf connects to every spine, so any server-to-server path is exactly two hops — predictable latency and no blocked links.

Every link carries traffic; adding a spine or a leaf adds capacity in lockstep.

Horizontal Scaling vs Vertical Scaling

Vertical scaling (scaling up) means replacing distribution/core switches with bigger chassis when demand grows — slow and expensive. Horizontal scaling (scaling out) adds more leaf switches and spreads load across devices, which is why hyperscalers and cloud providers standardize on it: flexible, highly available, and no hard ceiling. See our comparison of spine-leaf vs three-tier and the modern data center design overview for more depth, plus real-world considerations for 400G spine/100G leaf hybrid fabrics.

原文链接:https://www.networkacademy.io/ccna/network-fundamentals/leaf-spine-architecture