Use it when designing or checking a data-centre fabric where every leaf connects to every spine.
Spine-Leaf
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.
leaf → all spines (ECMP) → leaf
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
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.
Subtopics
Go one level deeper into this subject.
A spine switch interconnects all leaf switches in a spine-leaf fabric; spines do not connect to each other or to servers, and adding spines adds bandwidth between leaves.
Subtopic LeafA leaf switch connects servers, storage and services (or border devices) and uplinks to every spine; any two leaves are always two hops apart.
Subtopic East-West trafficEast-west traffic flows between servers inside the data center (for example application to database), as opposed to north-south traffic entering or leaving it; spine-leaf is designed for it.
Subtopic ECMPEqual-Cost Multi-Path (ECMP) installs several equal-cost routes to the same destination and spreads flows across them by hashing, which spine-leaf fabrics use to load-balance across all spines.
- 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).
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 input | Typical value |
|---|---|
| Oversubscription at the leaf | 3:1 or better |
| Spines | 2–4 in small fabrics, more for scale |
| Underlay | eBGP 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.
| Role | Function |
|---|---|
| Leaf | Server access (top of rack); server subnets local to a leaf or leaf pair |
| Border leaf | Usually a dedicated pair; connects to external networks (the paper also allows external connectivity at the spine) |
| Spine | Interconnects all leaves; no servers |
Scaling (white paper)
| Factor | Limit |
|---|---|
| Number of spines | Limited by leaf uplink ports |
| Number of leaves | Limited by spine ports |
| Example pod | 8 spines, 288 leaves, 13,824 single-homed servers |
| Larger | A 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-leaf | Three-tier (access, aggregation, core) | |
|---|---|---|
| Path length between servers | Always leaf–spine–leaf | Varies |
| Redundancy | ECMP across all spines | STP or pairs at each layer |
| Scaling | Add spines for bandwidth, leaves for ports | Add aggregation blocks |
| Traffic pattern fit | East-west heavy | North-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.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%