Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Spine-Leaf

Direct answer

Spine-leaf is a two-layer data-center topology where every leaf switch connects to every spine switch, giving predictable latency and ECMP load sharing for east-west traffic between servers.

When to use this

Use it when designing or checking a data-centre fabric where every leaf connects to every spine.

First 30 seconds

1. Spine-leaf: every leaf connects to every spine; no leaf-leaf or spine-spine links.

2. Predictable two-hop paths.

3. ECMP for bandwidth.

4. Scale by adding spines/leaves.

5. Common with VXLAN EVPN.

Operational verification

leaf → all spines (ECMP) → leaf

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Stretching VLANs with STP across the fabric instead of using an overlay.
  • Uneven leaf-to-spine links, which skew ECMP hashing.
  • MTU not raised for VXLAN (needs at least 50 bytes extra; 9216 is common).
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE · Cisco IOS XE
Scope / prerequisiteUse it when designing or checking a data-centre fabric where every leaf connects to every spine.
What next?2 suggested next steps
Child topics (this level)4
Evidence1
On this pageJump to a specific section
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
Drill down

Subtopics

Go one level deeper into this subject.

Key points
  • Spine-leaf connects every leaf to every spine, so any two leaves are two hops apart.
  • ECMP over all spines gives predictable east-west bandwidth.
  • Scale out by adding leaves (ports) or spines (bandwidth).
Key checks
  • show cdp neighbors — every leaf connects to every spine
  • show ip route <leaf-loopback> — ECMP across spines
  • show bgp l2vpn evpn summary — overlay (if EVPN)
ReferenceWhat it is1 section · depth on demand

How spine-leaf works

  • Every leaf connects to every spine; spines never connect to each other, and leaves never connect to each other.
  • Any two servers are at most leaf → spine → leaf apart, so latency is predictable.
  • Usually a routed fabric (BGP or OSPF between leaf and spine) with ECMP across all spines; Layer 2 between racks is carried in a VXLAN EVPN overlay.
  • Scale out: more spines add bandwidth, more leaves add ports.
Design inputTypical value
Oversubscription at the leaf3:1 or better
Spines2–4 in small fabrics, more for scale
UnderlayeBGP per leaf AS, or OSPF/IS-IS
ReferenceWhy it matters1 section · depth on demand

How it works

In a spine-leaf design every leaf connects to every spine, and leaves never connect to each other. Any server-to-server path is leaf → spine → leaf, so latency is predictable and bandwidth scales by adding spines. The underlay is usually routed (eBGP or OSPF) with ECMP across all spines, often with a VXLAN EVPN overlay.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Spine-leaf: the data centre's two-tier Clos fabric

Cisco's MSDC fabric white paper describes the two-tier spine-leaf (Clos) design: every leaf switch connects to every spine switch, the spines are the backbone interconnecting all leaves, and leaves are top-of-rack switches with servers on their downlinks. Leaf-spine links run Layer 3 with ECMP, for both east-west (server-to-server) and north-south traffic.

RoleFunction
LeafServer access (top of rack); server subnets local to a leaf or leaf pair
Border leafUsually a dedicated pair; connects to external networks (the paper also allows external connectivity at the spine)
SpineInterconnects all leaves; no servers

Scaling (white paper)

FactorLimit
Number of spinesLimited by leaf uplink ports
Number of leavesLimited by spine ports
Example pod8 spines, 288 leaves, 13,824 single-homed servers
LargerA third tier of super-spines interconnecting pods (example: 16 super-spines, up to 64 pods, 147,456 servers)

Oversubscription example (white paper)

Leaves with 48 × 25G downlinks and 8 × 100G uplinks: 1200 G down, 800 G up, a ratio of 1.5:1.

LEAF101# show ip route 10.255.0.102 | include via
    *via 10.1.1.0, Eth1/49, [20/0], 2d03h, bgp-65101, external, tag 65000
    *via 10.1.2.0, Eth1/50, [20/0], 2d03h, bgp-65101, external, tag 65000
    *via 10.1.3.0, Eth1/51, [20/0], 2d03h, bgp-65101, external, tag 65000
    *via 10.1.4.0, Eth1/52, [20/0], 2d03h, bgp-65101, external, tag 65000
LEAF101# show bgp ipv4 unicast summary | include 65000

Four spines give four equal-cost paths between any two leaves.

Spine-leaf versus three-tier

Spine-leafThree-tier (access, aggregation, core)
Path length between serversAlways leaf–spine–leafVaries
RedundancyECMP across all spinesSTP or pairs at each layer
ScalingAdd spines for bandwidth, leaves for portsAdd aggregation blocks
Traffic pattern fitEast-west heavyNorth-south heavy

Routing (white paper)

Many large data centres run only eBGP between tiers, as described in RFC 7938, with single-hop sessions over point-to-point links. Overlays such as VXLAN EVPN add Layer 2 segments and tenant VRFs on top of the routed fabric.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in Architecture → Enterprise Network Design → Spine-Leaf. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%
Confirmation

Confirm action

Continue?