Course contents

Chapter 5: LAN SwitchingLesson 6 of 12

Network architectures: two-tier, three-tier, spine-leaf, WAN and SOHO

Access, distribution and core roles, the collapsed core, spine-leaf for data centres, and WAN, SOHO, on-premises and cloud designs.

Beginner · 9 min read

Technical definition

Network architecture is the way devices and links are arranged to meet a purpose: a campus, a data centre, a branch, a home office or a WAN. The arrangement decides how traffic flows, how the network grows and what happens when something fails.

Why architecture matters

A network built without a plan grows by adding a switch wherever there is space. It works until a failure or a growth spurt shows that traffic crosses too many hops, one device carries everything, or nobody can say where a policy belongs. Standard designs give each device a role, so you know where to add capacity, apply policy and expect failures.

Three-tier and two-tier campus

Diagram
Campus designs: three-tier and two-tier (collapsed core)
Campus designs: three-tier and two-tier (collapsed core)
Campus designs: three-tier and two-tier (collapsed core)In a three-tier design, access switches connect to distribution switches, which connect to a pair of core switches. In a two-tier design the distribution and core roles are combined into one collapsed core layer that the access switches connect to directly.Three-tierTwo-tier (collapsed core)Core 1Core 2Dist 1Dist 2Access 1Access 2Access 3Core + dist 1Core + dist 2Access 1Access 2Access 3Core · distribution · accessDistribution and core combined
Both designs keep two of each upper device so no single failure cuts the site off. Choose three-tier when a campus has several buildings; choose two-tier when one pair of switches can aggregate everything.
Diagram
The tiers and what each one does
The tiers and what each one does
TierRoleTypical device
AccessConnects end devices: PCs, phones, access points. Applies port-level features such as VLANs, port security and PoE.Layer 2 or Layer 3 switch with many ports
DistributionAggregates access switches, applies policy, routes between VLANs, and is the boundary between Layer 2 and Layer 3.Layer 3 (multilayer) switch
CoreMoves traffic between distribution blocks as fast as possible. No policy, no end devices.High-speed Layer 3 switch
In the two-tier design, distribution and core are one layer, called the collapsed core.

Choosing between them

  • Two-tier: one building or a small campus. Fewer devices and links to buy and manage; the collapsed core pair connects every access switch.
  • Three-tier: several buildings or a large campus. Each building gets a distribution pair, and the core joins them, so growth does not mean wiring every access switch to one place.

Both designs use pairs of upper devices and two uplinks per access switch, with spanning tree or routed links keeping the topology loop-free.

Spine-leaf

Diagram
Spine-leaf: every leaf connects to every spine
Spine-leaf: every leaf connects to every spine
Spine-leaf: every leaf connects to every spineServers attach to leaf switches. Every leaf has a link to every spine, leaves do not connect to each other and spines do not connect to each other, so any two servers on different leaves are always leaf, spine, leaf: the same number of hops.Spine 1Spine 2Spine 3Leaf 1Leaf 2Leaf 3Leaf 4ServersServersServersServersNo spine–spine or leaf–leaf links
East-west traffic between servers takes the same short path, and equal-cost multipath uses all the spines. To add capacity, add spines; to add ports, add leaves.

Spine-leaf is the common data-centre design. Servers connect to leaf switches. Every leaf connects to every spine, and nothing connects leaf to leaf or spine to spine. Any server pair on different leaves is exactly three devices apart: leaf, spine, leaf. Because the links are routed, equal-cost multipath spreads traffic over all spines. It is often built with an overlay such as VXLAN, so the physical network stays simple while the tenant networks stay flexible.

Diagram
Campus three-tier compared with spine-leaf
Campus three-tier compared with spine-leaf
Three-tier campusSpine-leaf data centre
Main trafficNorth-south: users to servers and the internetEast-west: server to server
Path lengthVaries with where devices attachAlways the same: leaf, spine, leaf
GrowthAdd access or distribution blocksAdd spines for bandwidth, leaves for ports
RedundancyPairs at each tierEvery leaf reaches every spine
Different problems, different shapes.

WAN, SOHO and cloud

Diagram
Other architectures in the exam topics
Other architectures in the exam topics
ArchitectureWhat it isTypical connection
WANConnects sites that are far apart, such as a head office and branchesProvider links: MPLS, internet with VPN, leased lines or SD-WAN
SOHOSmall office or home office: one device often combines router, switch, firewall and Wi-FiOne internet service from a provider
On-premisesServers and network equipment are owned and run in the organisation's own rooms or data centresLocal LAN and WAN
CloudCompute and networks are rented from a provider and reached over the internet or a private connectionVPN or dedicated link to the provider
Many organisations use all four together: branches (WAN) and a head office (on-premises) connected to a cloud provider.

What to remember

  • Three roles: access, distribution and core. Two-tier merges the last two.
  • Spine-leaf is for east-west data-centre traffic and has equal-length paths.
  • The right design depends on the place and the scale, not on which is newest.

Test yourself

Predict · scenario 1

Which design joins distribution and core into a single layer?

Predict · scenario 2

In a spine-leaf design, how many hops separate two servers on different leaves?

Predict · scenario 3

A company has one building and 400 users. Which campus design is usually enough?

FAQ

Is the collapsed core a worse design?
No. It is the same idea with fewer boxes. For one building or a small campus a separate core adds cost and links without adding value. It becomes a limit only when the campus grows to the point that distribution pairs need to connect to each other.
Why is spine-leaf used in data centres?
Most traffic in a data centre is east-west, server to server. In spine-leaf every path between two leaves is the same length and uses all spines at once, so latency is predictable and capacity grows by adding spines. A three-tier design makes some server pairs cross more hops than others.
Do I need to configure these designs on the CCNA?
No. The exam asks you to describe them: the role of each tier, why a design suits a place and how each differs. The Layer 3 and redundancy features used inside them are covered in other lessons.