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
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-rack | End-of-row | Middle-of-row | |
|---|---|---|---|
| Cable between racks | Least (uplinks only) | Most | Less than end-of-row |
| Number of switches | Most | Fewest | Fewest |
| Port use | Lower in partly filled racks | High | High |
| Best for | Dense, uniform server racks | Mixed equipment, long-life cabling | Long rows of mixed equipment |
| Fault tracing | Inside one rack | Through patch panels | Through 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.
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
- 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.
- Count ports per rack. If most racks need fewer than half a switch's ports, centralising saves money.
- Check speeds and reach. 25G and faster server links usually run over short direct attach cables or fiber, which favours top-of-rack.
- Think about who manages it. More switches mean more firmware, monitoring and licences.
- 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.
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.