Calls and email answered 24/7/365 · An HSM Company contact@hsmservices.ca 1 800 716 8955

Data Centres guide

Top-of-rack, end-of-row and middle-of-row network designs

Where the switches sit decides how much cable you buy, how you scale and how you troubleshoot.

  • Intermediate
  • 5 min read
  • Includes diagram

Key points

  • Top-of-rack (ToR) puts access switches in every rack and runs only fiber or short uplinks out of it.
  • End-of-row (EoR) and middle-of-row (MoR) put the switches in a network rack and run structured copper or fiber to every server rack.
  • ToR suits dense, standardised server racks. EoR and MoR suit mixed equipment and long-lived structured cabling.
  • Most modern designs connect the access layer in a spine-leaf fabric, whatever the switch placement.

Where you put the access switches in a data centre decides how much cable you install, how many switches you buy, how far a patch cord travels and how a fault is traced. It also shapes the pathway and rack layout, so it needs to be settled before the cabling design. ANSI/TIA-942 describes the spaces involved: the main distribution area (MDA) holds the core, horizontal distribution areas (HDA) serve rows, and equipment distribution areas (EDA) are the server racks themselves.

The three layouts

Where the access switches live Top-of-rack Switch in every rack Agg / spine Short in-rack patching Fiber leaves the rack Most switches to manage End-of-row Network rack at the end Net Fewer, larger switches Structured cabling to every rack Longest runs at far end Middle-of-row Network rack mid-row Net Same as end-of-row but runs are shorter Splits the row into two halves Server rack Switch Fiber uplink Structured copper or fiber
Diagram Top-of-rack keeps server cabling inside each rack. End-of-row and middle-of-row centralise switches and run permanent cabling to every rack.

Top-of-rack

Each server rack has one or two access switches, usually at the top (they can sit mid-rack too). Servers connect with short patch cords or direct attach cables inside the rack. Only uplinks, usually a handful of fiber pairs or an MPO trunk, leave the rack for the aggregation or spine layer.

  • Strengths: very little cable between racks, fast deployment of standard racks, easy to move high-speed server links to new speeds, clean pre-built racks that can be cabled off site.
  • Weaknesses: more switches to buy, power, license and manage. Ports go unused when racks are partly filled. Every rack needs its own switch power and cooling.

End-of-row and middle-of-row

A network rack at the end or middle of each row holds chassis or stacked switches and patch panels. Permanent structured cabling, Category 6A copper or fiber, runs from patch panels in every server rack back to the network rack. Patching is done in the network rack, which acts as the row's horizontal distribution area.

  • Strengths: fewer switches with better port use, structured cabling that outlives several generations of equipment, one place per row to patch and troubleshoot.
  • Weaknesses: much more cable to install and manage, bigger pathways, and copper reach limits for some high-speed server connections. Changing a server's link speed may mean new cabling.

Middle-of-row cuts the longest run roughly in half compared with end-of-row, which helps on long rows and keeps copper channels well inside the 100 m limit. It costs one rack position in the middle of the row.

Comparison

Top-of-rackEnd-of-rowMiddle-of-row
Cable between racksLeast (uplinks only)MostLess than end-of-row
Number of switchesMostFewestFewest
Port useLower in partly filled racksHighHigh
Best forDense, uniform server racksMixed equipment, long-life cablingLong rows of mixed equipment
Fault tracingInside one rackThrough patch panelsThrough patch panels

Spine-leaf: the layer above

Placement is only half the design. Most new data centre networks connect access (leaf) switches to every spine switch, so any server is the same number of hops from any other. Adding capacity means adding a spine or a leaf without redesigning the network.

Spine-leaf fabric Spine 1 Spine 2 Leaf 1 Leaf 2 Leaf 3 Leaf 4 Every leaf connects to every spine: any rack reaches any other through leaf, spine, leaf
Diagram In ToR designs each leaf is a top-of-rack switch. In EoR and MoR designs each leaf sits in the row network rack.

What it means for the cabling

The switch layout drives the cabling bill of materials. Top-of-rack needs fiber trunks from each rack to the spine location, plus in-rack patch cords or direct attach cables, but little horizontal copper. End-of-row and middle-of-row need patch panels in every rack, permanent links back to the network rack, and pathways sized for all of them. In both cases, plan the out-of-band management network too. Console servers and a separate management switch let you reach equipment when the production network is down, and they need their own ports, cabling and power in every row.

Whichever layout you choose, test and label every permanent link before equipment arrives. A clean, documented cabling plant is what makes the next switch refresh a weekend job rather than a rebuild.

How to choose

  1. Look at the racks. Uniform, dense server racks favour top-of-rack. A mix of appliances, storage and odd devices favours end- or middle-of-row.
  2. Count ports per rack. If most racks need fewer than half a switch's ports, centralising saves money.
  3. Check speeds and reach. 25G and faster server links usually run over short direct attach cables or fiber, which favours top-of-rack.
  4. Think about who manages it. More switches mean more firmware, monitoring and licences.
  5. Mix where it helps. Many rooms use top-of-rack for compute and a middle-of-row network rack for storage, management and out-of-band networks.
Rule of thumb

Whatever the layout, install structured fiber trunks between every row and the MDA. The trunks outlast the switches, and they keep your options open for the next refresh. See high-density fiber and MPO.

Want a professional to handle it?

Our technicians install and certify data centres for businesses of every size. Send us the details and we will come back with a plan.