Switching · 7 min read · 19 November 2026
Leaf-Spine vs Three-Tier Network Architecture: Which Fits Your Data Center?
How leaf-spine and three-tier (core, aggregation, access) networks differ, why data centers moved to leaf-spine, how to size one, and where three-tier still makes sense.
A three-tier network stacks access, aggregation and core switches in a tree. A leaf-spine network connects every leaf switch to every spine switch, so any server reaches any other server in two hops with the same latency and bandwidth. Leaf-spine is the standard for modern data centers and server rooms; three-tier (or a collapsed two-tier core) remains common for campus networks.
The two designs
| Three-tier | Leaf-spine | |
|---|---|---|
| Layers | Access, aggregation (distribution), core | Leaf (servers connect here) and spine |
| Traffic it suits | North-south: users to servers and the internet | East-west: server to server, storage, virtualisation, AI |
| Loop prevention | Often spanning tree, with blocked links | Routed fabric with ECMP: all links active |
| Latency | Varies with the path | Predictable: two hops between any two servers |
| Growth | Add aggregation blocks; may need redesign | Add leafs for racks, spines for capacity |
| Typical home | Campus, buildings, branch networks | Data centers, server rooms, GPU clusters |
Why data centers moved to leaf-spine
Virtualisation, distributed storage and AI made most traffic flow between servers rather than to users. In a tree, that traffic climbs to the core and back, and spanning tree blocks half the links. A leaf-spine fabric routes on every link at once using ECMP, so adding a spine adds usable bandwidth for every rack.
Sizing a fabric in five steps
- Count server ports: servers × 2, because each server connects to two leafs.
- Choose the leaf speed: 10G, 25G, or 100/200G for GPU servers.
- Number of leafs: ports ÷ ports per leaf, rounded up to an even number.
- Check oversubscription: server bandwidth ÷ uplink bandwidth per leaf; 3:1 or better, 1:1 for storage and AI.
- Spines: at least two, with enough ports for every leaf uplink.
Modern fabrics add VXLAN and EVPN to stretch Layer 2 networks across the routed fabric, and M-LAG so servers use both links without spanning tree.
Where three-tier still fits
For a campus or building network, users and access points connect at the access layer and most traffic goes to the internet or the data center. A resilient core, often a chassis or a pair of Layer 3 switches, with aggregation per building, is simpler and cheaper there. Many organisations run both: a campus core and a leaf-spine fabric in the server room below it.
Navijin offers NJD data-center switches for leaf and spine, from 10G to 400G, and NJC chassis switches for campus cores.
FAQ
Frequently asked questions
How many spine switches do I need?
At least two for redundancy. Add spines when you need more bandwidth or more leaf uplink ports.
Can a small server room use leaf-spine?
A pair of switches acting as both leaf and core is often enough. Move to leaf-spine when you have several racks or heavy east-west traffic.
Does leaf-spine need spanning tree?
No. The fabric is routed and uses ECMP; servers dual-home with M-LAG or LACP to a leaf pair.
Related
Keep reading
What is VXLAN and EVPN?
Read more →Layer 2 vs Layer 3 switches
Read more →Configure OSPF on Layer 3 switches
Read more →Private 5G vs Wi-Fi for Enterprises: Which Wireless Technology Fits?
Compare private cellular networks and enterprise Wi-Fi for factories, ports, campuses and warehouses: coverage, mobility, device support, spectrum, cost and when to combine both.
Read more →What Is Port Security on a Switch? Stop Unknown Devices From Connecting
Switch port security explained: limiting MAC addresses per port, sticky learning, violation modes (protect, restrict, shutdown), when to use it and how it compares with 802.1X.
Read more →Warehouse and Logistics Network Design: Scanners, Cameras and Automation
How to design networks for warehouses and logistics centres: Wi-Fi for scanners and vehicles, outdoor yards and docks, CCTV, industrial switches for automation, and resilience.
Read more →Need help designing your network?
Navijin engineers provide free design consultations, bills of materials and quotations for business projects.