Spine-Leaf Architecture for CCNA: Data Center and East-West Traffic
Spine-leaf is the typical architecture of modern data centers: every leaf connects to every spine, so any server is the same distance (two hops) from any other. The CCNA lists it among topology architectures.

Edit this template Download .json
Learning objectives
- Explain why spine-leaf handles east-west traffic better.
- Recognize that leaves do not connect to each other nor spines to each other.
- Configure point-to-point routed links between layers.
Devices and addressing
| Device | Type | Details |
|---|---|---|
| SPINE-1 | Layer 3 switch | Spine Lo0 10.255.0.1 |
| SPINE-2 | Layer 3 switch | Spine Lo0 10.255.0.2 |
| LEAF-1 | Layer 3 switch | Leaf Lo0 10.255.1.1 |
| LEAF-2 | Layer 3 switch | Leaf Lo0 10.255.1.2 |
| LEAF-3 | Layer 3 switch | Leaf Lo0 10.255.1.3 |
| SRV-A | Server | 10.1.1.10 VLAN 101 |
| SRV-B | Server | 10.1.2.10 VLAN 102 |
| SRV-C | Server | 10.1.3.10 VLAN 103 |
Reference configuration (Cisco IOS)
LEAF-1
hostname LEAF-1
ip routing
interface e1/49
no switchport
ip address 10.0.1.1 255.255.255.254
ip ospf network point-to-point
interface e1/50
no switchport
ip address 10.0.4.1 255.255.255.254
ip ospf network point-to-point
interface vlan 101
ip address 10.1.1.1 255.255.255.0
router ospf 1
router-id 10.255.1.1
maximum-paths 2
network 10.0.0.0 0.255.255.255 area 0
Verification commands
show ip ospf neighborshow ip route 10.1.2.0show ip ceftraceroute 10.1.3.10
CCNA exam tips
Spine-leaf = predictable latency and scalable bandwidth; the three-tier model has more hops and bottlenecks.
All links are usually L3 with ECMP: load is balanced without STP.
How to use this template
Press “Edit this template”: the editor opens with the topology loaded and ready to change (undo with Ctrl+Z). You can also copy the JSON and paste it into the editor with File ▸ Import JSON…. Then add devices, change IPs and export to PDF, PNG or SVG.
To practice, rebuild the topology in Cisco Packet Tracer, GNS3 or Cisco Modeling Labs and paste the reference configuration on each device. Addresses and names are examples: change them to create your own variants.
JSON template for the editor
This is the full diagram in JSON format. Paste it into the editor (File ▸ Import JSON…) or press the edit button to load it automatically.
Frequently asked questions
What is east-west traffic?
Traffic between servers inside the data center, as opposed to north-south traffic entering or leaving it.
Do leaves connect to each other?
No: each leaf connects only to all spines, keeping the design simple and predictable.