Spine-Leaf vs Traditional 3-Tier: Design and Migration Guide - 夜莺博客

Spine-Leaf vs Traditional 3-Tier: Design and Migration Guide

Two decades of three-tier data center design (core, aggregation, access) is giving way to spine-leaf for a simple reason: modern east-west traffic — virtualization, Kubernetes, distributed storage and AI clusters — cannot survive the blocked links and aggregation bottlenecks of the legacy model. This guide breaks down the mechanics of a spine-leaf fabric, contrasts it against three-tier with concrete numbers, and outlines how to migrate an existing brownfield network without redesigning it from scratch.

Spine-Leaf: The Clos Two-Tier Model

Spine-leaf flattens the topology to two tiers based on the Clos network topology formalized by Charles Clos in 1952. Every leaf switch (ToR/EoR, where servers and storage attach) connects to every spine switch, and the unbreakable rule is: every leaf to every spine; never spine-to-spine or leaf-to-leaf. The result is mathematically predictable — any server is exactly two hops away from any other server.

Why STP Kills Three-Tier Performance

Three-tier networks rely on Spanning Tree Protocol to prevent loops, and STP actively blocks redundant links. Two 40G uplinks provisioned for redundancy means you pay for 80Gbps but use 40Gbps, and a link failure triggers seconds of STP convergence. Spine-leaf pushes Layer 3 routing to the ToR and uses ECMP instead: a leaf with four 100G uplinks to four spines load-balances flows across all four links simultaneously, achieving 100% utilization and sub-millisecond failover.

Overlays: VXLAN and BGP EVPN

Routing at the leaf breaks Layer 2 adjacency for VM mobility, so spine-leaf fabrics use VXLAN (MAC-in-UDP, 24-bit VNI = 16.7 million segments) with BGP EVPN as the control plane. Instead of flood-and-learn, leaves advertise MAC and IP addresses via BGP, acting as a distributed synchronized database that updates instantly when a VM migrates.

Calculating Oversubscription

Oversubscription = (server ports × speed) ÷ (uplink ports × speed). Example: a leaf with forty-eight 10G server ports (480 Gbps) and four 100G uplinks (400 Gbps) gives 480:400 = 1.2:1. General enterprise virtualization typically runs 3:1; AI/GPU clusters and NVMe-oF demand 1:1 non-blocking.

Brownfield Migration Strategy

A pragmatic migration keeps the existing access tier while building a spine fabric above it: deploy the spine pair and new leaf switches, migrate workloads rack by rack to the leaf tier, run VXLAN/BGP EVPN between leaf and spine, and gradually decommission the aggregation layer. Stateful services (firewalls, load balancers) move to dedicated service leaves with VRF leaking and policy-based routing. Cisco Nexus 9000, Arista 7050X/7800R and Juniper QFX are the typical hardware platforms.

More Data Center Design Content

Start with our leaf-spine two-tier design article and spine-leaf vs three-tier comparison, then choose hardware with the ToR switch selection guide.

原文链接:https://www.layer23-switch.com/blog/spine-leaf-vs-traditional-architecture.html