Lesson 10 / 11
Module 10Lesson 1⏱ 50 min study

Lesson 10: Spine-and-Leaf Clos Fabrics & Cloud Virtualization

Analyze north-south vs. east-west traffic patterns, Clos networks, ECMP (Equal-Cost Multi-Path), and VXLAN network overlays.

✦ Key Architectural Takeaways
  • •Modern distributed microservices generate predominantly east-west (server-to-server) data traffic.
  • •Two-tier Spine-and-Leaf (Clos) topologies ensure every server is separated by an identical, predictable number of hops.
  • •VXLAN encapsulates Layer-2 Ethernet frames inside standard Layer-3 UDP datagrams, overcoming the 4,096 VLAN limitation.

1. The East-West Traffic Explosion

Traditional data centers used a three-tier tree topology (Core, Aggregation, Access). This was optimized for North-South traffic (clients outside requesting files from internal web servers).

Modern cloud architectures, microservices, distributed databases, and MapReduce/AI clusters generate over 80% East-West traffic (servers exchanging data with adjacent servers in the same facility). Legacy Spanning Tree Protocol (STP) blocked redundant physical links to prevent switching loops, choking East-West throughput.

§

2. Two-Tier Spine-and-Leaf Clos Topologies

To provide non-blocking bisectional bandwidth, modern hyperscale data centers implement a two-tier Spine-and-Leaf (Clos) network:

ARCHITECTURE DIAGRAMSYSTEM SCHEMATIC
       [ Spine 1 ]             [ Spine 2 ]             [ Spine 3 ]
        /   |                  /   |                  /   |        [ Leaf 1 ]  [ Leaf 2 ]  [ Leaf 3 ]  [ Leaf 4 ]  [ Leaf 5 ]
        |   |       |   |       |   |       |   |       |   |
      Servers     Servers     Servers     Servers     Servers
  • Every Leaf switch (Top of Rack / ToR) connects to every Spine switch.
  • Spine switches never connect to other Spines; Leaf switches never connect to other Leafs.
  • Uniform Latency: Any server can reach any other server in the entire data center in exactly 3 hops (Leaf → Spine → Leaf).
  • Equal-Cost Multi-Path (ECMP): Routers hash packet header 5-tuples (Src IP, Dst IP, Protocol, Src Port, Dst Port) across dozens of parallel spine links simultaneously, distributing load evenly without packet reordering.
§

3. Multi-Tenant Overlays: VXLAN

Cloud providers must isolate thousands of distinct customer Virtual Private Clouds (VPCs). Traditional IEEE 802.1Q VLAN tags use a 12-bit identifier, restricting total network segments to 4,096.

Virtual Extensible LAN (VXLAN) solves this by encapsulating Layer-2 Ethernet frames inside standard Layer-3 UDP packets:

  • Introduces a 24-bit Virtual Network Identifier (VNI), supporting over 16.7 million isolated tenant networks.
  • Virtual machines and containers can migrate across physical racks and subnets without changing their IP or MAC addresses.