ANVILFIELD Try FieldOS

Datacenter

Data center network architecture: the spine-leaf field guide

The two-tier Clos fabric explained: leaf and spine switches, east-west traffic, oversubscription, the fiber and optics the uplinks carry, the AI back-end network, and the EVPN-VXLAN overlay.

Spine-LeafData Center NetworkClos FabricEVPN-VXLANAI Fabric

Direct answer

A spine-leaf network connects every leaf to every spine in a two-tier fabric. Leaves connect servers or other access networks; spines carry traffic between leaves. The cabling needs one channel per scheduled leaf-to-spine connection, compatible optics at both ends, and the fiber count required by the interface. Count physical switches, then check port capacity, distance, loss, polarity, resilience and growth. Servers on different leaves follow the same switch count in the base topology; workload and queuing determine actual latency.

On this pageWhat the data center network does, and why the shape changedWhat do the topology rules actually guarantee?What is east-west traffic?The three-tier network and why it aged outWhat is a spine-leaf network?What is a leaf switch?The spine switchShould the switch go top-of-rack or end-of-row?What oversubscription ratio should the fabric run?The physical cabling the fabric needsHow many uplinks, optics and fibers does a 12-rack fabric need?Will DR4 or FR4 fit the cable plant and loss budget?Fiber, speeds, and the optics that carry themDAC, AOC, and transceiversThe AI and GPU fabricWhat is the difference between the front-end and back-end network?Underlay, overlay, and EVPN-VXLANThe edge: meet-me room and border leavesRedundancy and dual-homingThe out-of-band management networkThe storage networkCable management and the fabric pathwaysHow do you scale a spine-leaf fabric?The field install: switches, fiber, labels, and testWhat proves the cabling is ready for turnover?Data center network vs enterprise networkStandards and the physical layerWhich code and cabling editions apply to the project?What belongs in a cabling retrofit estimate?What to documentCommon mistakesField checklistUnits, terms, and conversionsMethodology

Key takeaways

  • Spine-leaf is a two-tier Clos fabric where every leaf connects to every spine, no leaf to leaf and no spine to spine, giving any server the same path length to any other.
  • East-west server-to-server traffic is roughly 75 to 80 percent of data center traffic, which drove the move from three-tier to flat spine-leaf.
  • Set oversubscription per workload: 3:1 for general enterprise compute, toward 1:1 non-blocking for storage and AI training.
  • Keep the AI GPU back-end network physically separate from the front-end, run it 1:1 non-blocking with RDMA over InfiniBand or RoCE, often rail-optimized.
  • ANSI/TIA-942 caps top-of-rack point-to-point runs at about 10 meters; use DAC for short in-rack links and fiber transceivers for leaf-to-spine.

What the data center network does, and why the shape changed

A data center network connects servers, storage and external networks. A spine-leaf fabric uses an access layer of leaves and an interconnecting layer of spines. Every leaf reaches every spine in the base topology. Server traffic between different leaves crosses a source leaf, a spine and a destination leaf. Traffic between ports on the same leaf stays local.

Hierarchical access, aggregation and core designs remain in service. Distributed applications and storage increase traffic between servers, making cross-rack capacity an explicit design concern. A routed Clos fabric provides parallel paths that expand with the switch and link inventory; RFC 7938 describes this design and its operational tradeoffs.

This guide is about the network itself, the switches and how they connect. The physical media that carries it, the copper and fiber plant, is covered in the structured cabling guide, and the frames the switches and servers bolt into are covered in the rack and cabinet guide. Read those alongside this one, because a fabric design is only as good as the cabling and the racks that carry it.

What do the topology rules actually guarantee?

Apply the topology descriptions below to the base routed fabric. Servers on the same leaf can communicate locally; servers on different leaves normally cross three switches: source leaf, spine, destination leaf. Equal switch count does not guarantee identical latency because serialization, queuing and congestion still matter. Paired leaves may have peer links in some designs, and a leaf need not sit at the top of a rack. Those details belong on the approved topology drawing.

Equal-cost multipath routing, ECMP, commonly hashes flows across available paths. It does not give one flow the sum of every uplink, or ensure every link stays equally busy. Likewise, 1:1 describes aggregate port capacity, not freedom from congestion under every traffic pattern. Check receiver incast and the one-spine-out condition. Count switches, not rack pairs: multiply leaves by spines once; double only when the starting quantity was pairs. RFC 7938 explains the Clos routing and ECMP considerations behind these qualifications.

What is east-west traffic?

East-west traffic is data moving server-to-server inside the data center, sideways across the room, as opposed to north-south traffic, which moves in and out of the building between the data center and the users or the internet. The names come from the way the old network diagrams were drawn, with the users at the top and the servers at the bottom, so client-to-server ran vertically and server-to-server ran horizontally.

The east-west share depends on the applications and their placement. Measure it from the workload and network telemetry rather than assigning every data center a fixed percentage. A user request can trigger database, cache, authentication and storage exchanges inside the facility. VM migration and distributed training also move data between hosts; their actual paths and volumes belong in the capacity model.

A hierarchical network routes traffic through the layers needed to reach its destination. Cross-rack traffic need not cross the core if a nearer common aggregation switch serves both racks. Compare the actual path, capacity and failure behavior with the proposed fabric before deciding that the existing architecture needs replacement.

The three-tier network and why it aged out

The legacy data center network had three layers. Access switches connected the servers. Aggregation switches, sometimes called distribution, gathered the access layer. Core switches tied the aggregation layer together and handed off to the outside. It was a clean hierarchy and it worked well for the traffic it was designed for, which mostly went up and out.

Path length and blocked Layer 2 links are concerns in some hierarchical designs. Traffic between access switches follows their common aggregation or core path. Spanning Tree blocks redundant paths within its Layer 2 domain to prevent loops. Routed uplinks and other designs handle redundancy differently, so a three-tier drawing alone does not establish how many links are idle.

A routed spine-leaf design uses equal-cost paths between leaves. Link utilization depends on the traffic and hashing algorithm, while congestion depends on demand and available capacity. Compare both designs under normal operation and the specified failure cases. Neither a tier count nor the presence of redundant cables establishes performance.

What is a spine-leaf network?

A spine-leaf network applies a folded Clos topology: every leaf connects to every spine within the fabric block. The base topology has no same-tier links. Approved implementations can add leaf peer links or attach border services; show those connections explicitly instead of treating the simplified diagram as a prohibition.

The design traces to Charles Clos, a Bell Labs engineer who showed in 1953 that a multistage arrangement of smaller switches could move traffic without blocking, the way one giant crossbar switch would, at a fraction of the cost. A leaf-spine fabric is a folded Clos network applied to Ethernet. The mathematics is old. The application to data centers is what changed.

Each pair of different leaves has a path through each available spine. Equal-cost multipath routing distributes flows among those paths. Equal switch count does not make serialization delay, queuing or congestion identical. Adding a spine adds aggregate uplink capacity only when every leaf has the ports and links to use it.

What is a leaf switch?

A leaf switch connects servers, storage or edge services to the fabric. It can sit in a server rack or serve several cabinets from a row position. Top-of-rack describes its location, not a required property of its role. Record server-facing ports, uplinks, peer links and service attachments separately.

The server-facing and spine-facing ports have different capacity requirements. Select their speeds from the server interfaces, traffic model and supported switch configurations. Breakout, port grouping and shared hardware resources can limit which combinations operate together. The approved port schedule, rather than the cage shape, determines the usable capacity.

Paired leaves support designs that require access-switch resilience. A server must have a working attachment and failover configuration through each required path. Count each physical leaf once; starting from rack pairs requires multiplying by the leaves per rack before counting uplinks. A pair of switches alone does not prove uninterrupted service.

The spine switch

The spine is the high-speed layer that connects all the leaves to each other, and its only job is to forward traffic between leaves as fast as possible. A spine switch does not connect to servers and it does not connect to other spines. Every one of its ports goes down to a leaf. A spine is, in effect, a big fast crossbar that any leaf can reach to get to any other leaf.

Because the spine's job is pure forwarding, the configuration on it is simple and almost identical from one spine to the next. The complexity in a modern fabric lives at the leaf, where the servers attach and where the overlay terminates. The spine just moves packets. That simplicity is deliberate. It keeps the layer that carries all the cross-rack traffic boring and predictable.

The spine count is a capacity and resilience decision. Anvilfield research calculates that losing one of four equally provisioned spines removes 25% of each leaf's aggregate uplink capacity. Check the remaining capacity against the required load. Spine port count also limits the number of leaves in a fully connected fabric block.

Should the switch go top-of-rack or end-of-row?

Top-of-rack puts the leaf in each cabinet so servers connect with short cables inside the rack, while end-of-row and middle-of-row put the switches in a cabinet at the end or center of the row and run structured cabling back to each server cabinet. The choice changes the cable plant more than it changes the logic, and it is one to settle with the cabling designer early.

Top-of-rack keeps server links within or near the cabinet. That suits approved short copper assemblies or optical links, while distributing switch power and management across the room. Select the channel length from the actual cable assembly and interface rating; a single ToR distance does not govern every Ethernet link. Spare switch ports in partially occupied racks belong in the cost comparison.

End-of-row and middle-of-row trade that for switch consolidation. Fewer, larger switches sit in the row and serve many cabinets through a structured copper and fiber plant with patch panels, so any server in the row reaches the same switch and you fill switch ports more efficiently. The cost is a much larger horizontal cable count and longer runs. In TIA-942 terms, ToR switches live in the equipment distribution area with the servers, while end-of-row switches live in the horizontal distribution area. The structured cabling guide covers those spaces and the media that connects them.

TopologySwitch locationServer cablingTrade-off
Top-of-rack (ToR)In each cabinetApproved in-rack copper or optical channels; interface-specific reachSimple short runs, but a switch pair per rack
Middle-of-row (MoR)Center cabinet of the rowStructured cabling, shorter than EoRFewer switches, moderate horizontal runs
End-of-row (EoR)End cabinet of the rowStructured cabling with patch panels to each cabinetBest port use, highest horizontal cable count

What oversubscription ratio should the fabric run?

Oversubscription is a leaf's server-facing aggregate bandwidth divided by its spine-facing aggregate bandwidth. Anvilfield analysis compares 3:1 and 1:1 capacity cases: the former has three times as much downlink capacity as uplink capacity, while the latter has equal aggregate capacities. Neither ratio proves freedom from congestion at individual outputs or under unequal flow distribution.

Select the ratio from measured or modeled application demand and required performance during failures. Storage and distributed training require particular attention to simultaneous transfers, receiver incast and flow control. Record the service objective rather than copying a ratio from a different workload.

Anvilfield research calculates 1,200 Gb/s of downlink capacity from 48 server ports at 25 Gb/s. Six 100 Gb/s uplinks provide 600 Gb/s, giving a 2:1 ratio. Confirm that the switch supports the scheduled ports at those speeds simultaneously and that the path inventory matches the capacity calculation.

The physical cabling the fabric needs

Count leaf-to-spine channels by multiplying physical leaves by spines and by links per switch pair. Anvilfield research counts 640 channels for 40 rack pairs with two leaves each, eight spines and one channel per leaf-spine pair. Fiber strands depend on the selected interface; channels and strands are different takeoff quantities. Do not double a count that already includes both physical leaves.

The links split into two populations. Server-to-leaf runs are short and live inside or near the rack, so they are usually copper twinax or short-reach fiber, cheap and dense. Leaf-to-spine runs are longer, faster, and almost always fiber, and they cross the room from every rack to the spine location. That second population is what drives the fiber trunk count, the pathway fill, and the structured cabling design.

Plan the leaf-to-spine fiber as structured trunks with patch panels at both ends, not as a tangle of jumpers run point-to-point across the room. A pre-terminated trunk plant lets you add a spine or a leaf by patching, not by pulling new fiber through a full tray. The structured cabling guide covers the trunk and connector choices; the point here is that the fabric topology decides the fiber count, and the cabling design has to be sized for the full build, not the first row.

How many uplinks, optics and fibers does a 12-rack fabric need?

Anvilfield research counts 96 leaf-to-spine links and 192 pluggable modules for a 12-rack fabric with paired leaves and four spines. DR4 uses 768 active strands across those channels; FR4 uses 192. Count host, management and spare assemblies separately. The table totals active strands across the fabric, not the strands in one trunk jacket.

Anvilfield analysis gives each leaf 1,200 Gb/s of downlink capacity and 1,600 Gb/s of uplink capacity, a 0.75:1 ratio. With one spine unavailable, 1,200 Gb/s remains, giving 1:1 aggregate capacity. Each 32-port spine has eight unused ports after connecting 24 leaves, accommodating four additional paired-leaf racks. Check flow distribution and reserve the matching panels and pathways before approving growth.

Schedule host links, management, border connections, leaf peer links and spare assemblies separately. Assign every fabric link an endpoint pair and route. Separate labels alone do not establish physical route diversity.

Takeoff itemQuantity
Physical leaves24
Leaf-to-spine links96
Pluggable transceivers192
DR4 active strands768 across the fabric
FR4 active strands192 across the fabric
Unused ports per research-case spine8

Will DR4 or FR4 fit the cable plant and loss budget?

Specify the complete optical interface and module part number. Cisco's QDD examples below both carry 400 Gb/s over singlemode fiber, but require different connector arrangements and strand counts. Multi-fiber push-on, MPO, names the connector family; APC and UPC identify different endface polishes. Confirm mating compatibility, pinning, polarity and switch software support. A shared speed or cage shape does not establish interoperability, and a DR4 breakout is not interchangeable with an FR4 wavelength-multiplexed link.

Anvilfield research calculates 1.472 dB of channel loss for the 180 m DR4 channel. The Cisco module's 3.0 dB ceiling leaves 1.528 dB of calculated margin; the design reserve leaves 1.028 dB available. Compare installed lane measurements with the approved channel and application limits before accepting the link.

Approve the actual component maxima, then measure every installed lane. Align the test reference planes with the application budget, include added patching, and check reflectance requirements separately. The 180 m length is inside the listed reach, but length alone cannot accept the channel. An optical power reading alone cannot establish compliance either.

ModuleFibers / plugReachMax loss
QDD-400G-DR4-S8 singlemode fibers; MPO-12 APC500 m3.0 dB
QDD-400G-FR4-S2 singlemode fibers; duplex LC PC/UPC2 km4.0 dB

Fiber, speeds, and the optics that carry them

Select server and fabric speeds from the supported interface schedule. Cisco's cited data sheet covers 400 Gb/s modules, and IEEE 802.3df-2024 covers specified 400 and 800 Gb/s Ethernet operation. Mixed-speed layers require compatible port modes, optics and breakout arrangements. A faster switch generation does not establish that an existing channel supports its interfaces.

Multimode and singlemode optical interfaces have different reach and connector requirements. Compare channel length, loss, platform support and lifecycle cost for the actual parts. The cited Cisco portfolio includes both fiber types. Singlemode reach and cost depend on the optical module; select the full interface rather than assigning a universal price or upgrade advantage to the glass.

Match optic type, fiber, connectors, polarity and switch software end to end. A link light is only an initial operating indication. Use the specified channel certification and active acceptance tests to establish whether the plant supports the selected application.

SpeedCommon roleTypical media
400 Gb/s DR4Leaf-to-spine research caseParallel singlemode, MPO-12 APC
400 Gb/s FR4Leaf-to-spine research caseDuplex singlemode, LC PC/UPC
400 / 800 Gb/sIEEE 802.3df-2024 scopeSelect the actual supported interface

DAC, AOC, and transceivers

A direct-attach copper cable, DAC, is a fixed copper assembly with integrated connectors. Select it for links within the vendor's approved assembly length and compatibility list. High-speed copper reach is assembly-specific; a generic distance is not an ordering specification.

When the run is too long for copper but you want a single assembly, an active optical cable, AOC, has the optics built into both ends and fiber in between, so it reaches farther than DAC while plugging in like a cable. Beyond that, the general case is a pluggable transceiver on each end with structured fiber between them, which is what the leaf-to-spine plant uses because it patches and re-routes through panels.

A transceiver's form factor describes its mechanical and electrical interface. It does not by itself identify optical reach, connector, protocol or interoperability. The cited Cisco QSFP-DD portfolio contains several optical interfaces at the same aggregate rate. Confirm the exact module part number, port mode, power budget and platform support before ordering.

The AI and GPU fabric

Distributed training exchanges data between accelerator hosts. Its communication pattern depends on the model, parallelism and collective algorithm. The network design must account for sustained demand, congestion, latency and failure behavior, rather than treating every GPU as transmitting at line rate during every step.

RDMA provides direct memory transfers supported by the host and network stack. InfiniBand and RoCE are distinct transport choices with their own implementation requirements. Select the platform's approved topology, congestion controls and link configuration. Equal aggregate uplink and downlink capacity alone does not establish application throughput or lossless operation.

Rail-based designs place selected host interfaces on separate fabric paths. Record which host ports attach to which leaves and which traffic uses each rail. The accelerator platform's reference design determines the interface count and physical separation; the cabling installer needs that actual schedule before preparing the takeoff.

What is the difference between the front-end and back-end network?

The front-end provides general cluster connectivity; the back-end carries accelerator communication in designs that separate those roles. Record which network carries storage, management and external access, because platform architectures assign them differently.

Size the front-end from its application and storage demand. Bursty traffic still requires a capacity and resilience budget. A general-purpose label is not evidence that congestion or delay is acceptable.

Follow the platform's approved separation, transport and routing design. Physical separation provides distinct resources and failure domains; converged designs require explicit isolation and capacity controls. Neither architecture should be inferred from the names alone. Keep the networks and their acceptance criteria distinct on the drawings and test plan.

AttributeFront-end networkBack-end (GPU) network
Primary trafficNorth-south, general server, storage accessGPU-to-GPU training (east-west)
OversubscriptionWorkload and failure-case targetPlatform and collective-traffic target
TransportStandard EthernetRDMA over InfiniBand or RoCE
TopologySpine-leafSpine-leaf, often rail-optimized
AcceptanceDocument throughput, latency and resilienceDocument throughput, latency and congestion controls

Underlay, overlay, and EVPN-VXLAN

Modern fabrics run in two layers of logic on the same physical switches: the underlay is the physical spine-leaf network that moves packets, and the overlay is a virtual network built on top of it that carries the tenants and the services. The split lets the physical network stay simple and stable while the logical network changes constantly above it.

The underlay is a plain routed IP network. Every leaf-to-spine link is a Layer 3 connection, usually running BGP, and equal-cost multipath spreads traffic across all the spines. That is all the underlay does: get a packet from any leaf to any leaf, fast and loop-free, with no Spanning Tree anywhere in it. It is deliberately dumb.

The overlay is where EVPN-VXLAN comes in. VXLAN wraps each tenant's traffic in a tunnel between leaves, so a virtual machine can sit on any rack and still appear to be on the same Layer 2 segment as another machine across the room. The leaves act as the tunnel endpoints, called VTEPs. EVPN is the control plane that tells every leaf where every endpoint lives so the tunnels know where to send traffic. The result is workload mobility and multi-tenant isolation over a stable routed underlay. The spine stays simple and just forwards; the intelligence lives at the leaf.

The edge: meet-me room and border leaves

Traffic that leaves the fabric goes out through dedicated leaves, commonly called border leaves, that connect to the wide-area network and the carriers, and in a colocation or large facility those carrier connections land in a meet-me room. The fabric handles everything inside the building. The border leaves and the meet-me room handle the handoff to everything outside it.

A border leaf is an ordinary leaf with a special role. Instead of facing servers, it faces routers, firewalls, and the WAN circuits, and it carries the north-south traffic in and out of the fabric. Keeping that function on dedicated leaves means the edge routing and security policy lives in one known place rather than scattered across the fabric, and you scale the edge by adding border leaves the same way you scale compute by adding server leaves.

The meet-me room is the neutral space where the carriers and the building's network cross-connect, usually a separate, secured room with its own cabling and redundancy. It is where the diverse circuits from different providers terminate so a single carrier outage or a single conduit cut does not take the facility off the network. The cabling and the spaces around the edge follow the same structured discipline as the rest of the room, covered in the cabling guide.

Redundancy and dual-homing

Multiple spines provide alternate paths for cross-leaf traffic. A spine failure removes the links through that spine; retained reachability depends on the remaining topology and routing convergence. Paired leaves protect access only where the hosts and services support failover. Test the required failure conditions under the agreed load.

Servers reach that resilience by being dual-homed: each server connects to both leaves in its rack, so either leaf can carry it alone. The two leaves present as one logical switch to the server, or the server runs its two links as an active pair, depending on the design. Either way, a single cable, optic, port, or leaf can fail without taking the server offline. That is why the leaf count and the uplink fiber double, and why the cabling plan has to carry both legs on diverse paths.

The thing that undoes all of it is shared fate you did not notice. Two leaves in the same rack on the same power feed, or both server links through the same conduit, and a single event takes out the pair you built to be redundant. Diversity has to be real all the way down to the power and the pathway, not just present on the network diagram.

The out-of-band management network

The out-of-band management network is a separate, small network that reaches the console and management ports of every switch and server independently of the production fabric, so you can still get to a device when the fabric it lives on is broken. Specify it where independent recovery access is required. The day you need it most is the day the main network is down, and an in-band-only management path is gone exactly when the data fabric is.

Use separate management and console paths sized for the required devices and access policy. Include management switches, baseboard controllers and serial-console servers where specified. Independent power, cabling, authentication and remote access determine whether management remains usable during a production-network outage.

Skip it to save a few switches and you will pay for it the first time a fabric upgrade goes wrong at two in the morning and the only way to the switch is a path that no longer exists. The out-of-band network is cheap insurance, and the time to install it is during the build, not after the first outage.

The storage network

Storage traffic in a data center either rides the same Ethernet fabric as everything else or runs on a dedicated storage network, and which one depends on the storage type and how sensitive the workload is to a stalled read. The trend is toward carrying storage on the converged Ethernet fabric, but high-performance and latency-sensitive storage still often gets its own path.

A traditional storage area network, a SAN, connects servers to block storage, classically over Fibre Channel on its own dedicated switches and cabling, isolated from the data network entirely. Network-attached storage, NAS, serves files over the regular IP network. Many modern builds run storage over the same Ethernet fabric using protocols built for it, which simplifies the cabling but means the storage traffic now shares the fabric and the oversubscription budget with everything else.

The point that matters for the fabric design is that storage traffic is heavy and often latency-sensitive, much like AI traffic. If it shares the production fabric, the oversubscription ratio has to account for it, and a fabric sized for bursty server traffic can choke when storage replication or an AI training job pulls a dataset at full rate. Size for the storage load, or give it its own path.

Cable management and the fabric pathways

Spine-leaf moves the cable problem from a few thick core links to a dense mesh of leaf-to-spine fiber, and the pathways have to be sized for the full mesh, not the first row of racks. Hundreds of uplink fibers cross the room from every rack to the spines, and if the trays and the under-floor or overhead pathways were sized for the day-one count, the fabric cannot grow without re-working the cable plant.

Bad cable management is not just ugly. A matted bundle of fiber blocks airflow, hides which link is which, and makes an optic swap require cable tracing. Fiber has a minimum bend radius, and a sharp bend or a cable crushed under a bundle attenuates the signal enough to bring the link down or, worse, make it intermittent. Patch the fabric through structured panels and label every link to the standard, so a tech finds the right cable by reading it, not by pulling on it.

This is where the network design and the cabling design have to meet. The fabric topology sets the fiber count, the rack layout sets the run lengths, and the pathway has to carry both at full build with room to add. The structured cabling guide covers the labeling, the trunks, and the pathway design; the network engineer's job is to hand the cabling designer the real, full-build link count, not the phase-one number.

How do you scale a spine-leaf fabric?

You scale a spine-leaf fabric two ways: add leaves to connect more racks, and add spines to add bandwidth and resilience between them. Adding a leaf adds a rack of capacity and consumes one port on every spine. Adding a spine adds a parallel path to every leaf and more total cross-fabric bandwidth. The fabric grows in both directions until it runs into the port count on the spine switches.

That port count is the ceiling. A single tier of spines can only connect as many leaves as the spines have ports, so a fabric built on 32-port spines tops out at 32 leaves on a fully connected design. When you need more racks than one tier of spines can hold, you go to a three-tier folded Clos: add a layer of super-spines above the spines and group the spine-leaf blocks into pods, where each pod is its own spine-leaf fabric and the super-spines tie the pods together. The pattern repeats; it is Clos all the way up.

The design move that saves you later is to plan the spine port count for the building you will have, not the room you are opening with. Spines are the constraint, so a fabric that starts on small spines and fills them forces a forklift of the whole spine layer to grow, while one that starts on larger spines with empty ports grows by patching in leaves. Size the spine for the full hall.

The field install: switches, fiber, labels, and test

On the install side, the fabric is switches racked and grounded, fiber and DAC run and dressed, every link labeled, and every link tested before a server lands. The design is a diagram. The install is whether the diagram is true in the room, and the gap between them is found at test, not at turnover, if the testing is done.

Rack and ground the leaves and spines to the rack and bonding standard, then run the cabling as two efforts: the short server-to-leaf copper or fiber inside the racks, and the structured leaf-to-spine fiber trunks across the room. Label both ends of every link to the labeling standard as you go, because a fabric with hundreds of near-identical fibers is unworkable without it. Dress the cable to keep the bend radius and the airflow, and leave the service loops the cabling design calls for.

Then test, and keep the results. Certify the fiber and copper to the cabling standard, confirm every optic trains to its rated speed, and check the link error counters under load before you call it done, not the day after the servers move in. A fiber that passes a continuity check can still fail at speed because of a bend, a dirty connector, or a mismatched optic. Inspect, clean as needed, and reinspect every fiber endface before mating. The cabling guide covers the certification and the turnover package.

What proves the cabling is ready for turnover?

Keep passive-cabling certification and active-fabric acceptance as separate deliverables. TIA's Fiber Optics Tech Consortium describes Tier 1 testing as loss, length and polarity; Tier 2 adds optical time-domain reflectometer, OTDR, information to locate and characterize events. An OTDR trace supplements the required loss measurements. Neither a passing trace nor a link light proves the configured fabric carries the workload.

  • Record both switch ports, trunk and panel positions, module part numbers and the approved polarity map.
  • Inspect, clean and reinspect connectors before mating; retain the specified inspection evidence.
  • Save lane-level loss, length and polarity results with test limits, reference method and instrument details.
  • Attach OTDR traces where specified, with failures corrected and affected channels retested.
  • Record negotiated speed, forward error correction settings and error counters during the agreed load test.
  • Witness the approved single-link and single-spine failure tests; record convergence and remaining capacity.

Data center network vs enterprise network

A data center fabric and an enterprise campus network solve different problems, and a design that fits one is wrong for the other. The enterprise network connects people and their devices, so it is built around access for users, wireless, and the traffic going out to the internet, mostly north-south, and it tolerates a layered three-tier design because that traffic pattern still fits a pyramid.

The data center network connects machines to each other, so it is built around server-to-server bandwidth, predictable low latency, and east-west traffic at a scale a campus never sees. That is what pushes it to flat spine-leaf, non-blocking ratios, RDMA for the AI fabric, and fiber counts an office would never run. The campus optimizes for reach to many scattered users. The data center optimizes for bandwidth and latency between dense, co-located machines.

The mistake is carrying habits across. Build a data hall with a three-tier campus design and Spanning Tree and you get the tromboning and the idle links that the fabric was invented to kill. The east-west load that defines a data center is exactly what the campus design handles worst.

Standards and the physical layer

Spine-leaf itself is an architecture, not a single published standard, so the rules that govern a real fabric come from several places. The Clos topology is the mathematical model from Charles Clos's 1953 work. The Ethernet speeds and the optics are IEEE 802.3 standards, which define what 100, 400, and 800-gigabit Ethernet and their modules actually are. The transport for the AI fabric, InfiniBand, has its own specification, and RoCE rides standard Ethernet.

ANSI/TIA-942 addresses data center infrastructure, while ANSI/TIA-568.3 addresses optical fiber cabling components. BICSI supplies additional design and installation guidance where the contract invokes it. Interface reach, topology channel limits and component listings are separate requirements; identify the applicable clauses and editions on the submittal.

The approved switch, optic compatibility list and cabling specification govern the installation. Keep those documents with the port schedule so later changes can be evaluated against the same requirements.

Which code and cabling editions apply to the project?

Use the 2026 National Electrical Code, NEC, where adopted; the permit and adopted amendments establish the governing edition. Confirm the permit's actual edition and local amendments with the authority having jurisdiction, AHJ. Oregon's electrical authority lists its 2026 NEC-based code effective October 1, 2026. Washington's WAC 296-46B-010 still uses the 2023 NEC on November 5, 2026 and replaces it with the 2026 edition on December 31, 2026. Do not treat a publication date as a nationwide adoption date.

The cabling references checked here are ANSI/TIA-942-C (2024) for data center infrastructure and ANSI/TIA-568.3-E (2022) for optical fiber components. IEEE 802.3df-2024 covers specified 400 and 800 Gb/s Ethernet operation. Record the contract editions and applicable addenda. Select the actual cabling model and interface for channel reach. Put cable listings, pathway separation, bonding and penetration firestopping on the coordinated submittal for review under the adopted rules.

What belongs in a cabling retrofit estimate?

Price the approved link schedule with separate quantities for trunks, patch cords, modules, panel space, pathway additions, testing and the maintenance window. Carry removal, temporary service and recertification as explicit scope items where required. Record who supplies the optics and who accepts the active network, because a cable installer cannot close an unspecified routing or software problem.

For the public electrical scope around network-room upgrades, PorchRocket's Bid Control is the place to track city, county and school bids before checking each agency's fiber specification. Qualify each opportunity against your territory, licensing and the solicitation's low-voltage scope; the electrical category alone does not establish that a job includes a spine-leaf fabric.

What to document

A useful as-built record shows both topology and per-link detail. It identifies the installed endpoints, media and configuration so an outage investigation starts from the actual network. Update it after accepted changes and keep the test evidence traceable to the same identifiers.

Record the fabric layout, the leaf and spine inventory with models and firmware, the oversubscription ratio per leaf and the math behind it, every link with both endpoints and its speed and media, the optic type on each end, the underlay addressing and routing, the overlay and tenant design, the out-of-band management addressing, and the test and certification results for the cable plant. If the AI back-end and front-end are separate, document them as two networks, because someone will need to know which is which when one of them breaks.

Layer or elementRoleNote to record
Leaf switchesAccess, server connection, overlay endpointsModel, firmware, ports used, rack location
Spine switchesLeaf-to-leaf forwardingModel, port count, spare ports for growth
Leaf-to-spine linksThe fabric meshBoth endpoints, speed, fiber type, optic
OversubscriptionLeaf downlink to uplink ratioRatio per leaf and the workload it suits
UnderlayPhysical routed IP fabricAddressing, BGP design, ECMP
OverlayVirtual tenant networkEVPN-VXLAN design, VTEP and tenant map
AI back-endGPU-to-GPU fabricTransport, rail design, 1:1 ratio
Out-of-bandManagement networkSeparate addressing and reach to every device

Common mistakes

  • Building a three-tier, Spanning-Tree design for a modern east-west load and inheriting the tromboning and idle links it causes.
  • Setting the wrong oversubscription ratio: a fabric whose uplink capacity is below its verified workload demand, so the workload throttles on the network.
  • Under-cabling the leaf-to-spine fiber for the first row instead of the full build, so the fabric cannot grow without a second pull.
  • Combining traffic classes without the platform-required capacity and congestion controls.
  • Single-homing servers or running paired leaves on shared power or a shared conduit, so the redundancy is only on the diagram.
  • Leaving out the out-of-band management network and losing the only path to a switch the moment the production fabric breaks.
  • Poor cable management and unlabeled fiber, so a bent or dirty link is intermittent and an optic swap requires cable tracing.
  • Mismatching optics and fiber across a link, so it trains down or never comes up and you find it at turnover.

Field checklist

0 of 10 complete

Want this checklist to run itself on every job — with photo proof and a signed record crews can hand the customer? That's FieldOS.

Units, terms, and conversions

The fabric vocabulary overlaps with the cabling and the AI worlds, so the same idea shows up under different names across a switch datasheet, a cabling drawing, and a GPU reference design.

Bit rate is recorded in bits per second; Ethernet interface labels also identify the protocol and physical medium. Leaf describes an access role, while ToR describes a rack location. A folded Clos can have more tiers than the two-tier fabric shown here. Oversubscription compares aggregate server-facing and uplink capacities; equal capacities alone do not prove congestion-free forwarding.

Leaf / ToR
Leaf is the fabric access role; ToR describes a switch located in a server rack
Spine
The fabric layer that forwards traffic between leaves; connects to no servers and no other spine
Clos / fabric
A multistage switching topology; spine-leaf is a folded Clos implementation whose performance depends on provisioning and traffic
East-west / north-south
Server-to-server traffic inside the data center versus traffic in and out of the building
Oversubscription
Ratio of aggregate server-facing bandwidth to aggregate uplink bandwidth; equal capacity does not exclude congestion
RDMA / RoCE / InfiniBand
Remote direct memory access for GPU fabrics, carried over Ethernet (RoCE) or InfiniBand
EVPN-VXLAN
The overlay that tunnels tenant traffic between leaves over the routed underlay
Underlay / overlay
The physical routed spine-leaf network and the virtual tenant network built on top of it

Methodology

Anvilfield research uses reproducible design cases. Channel counts equal physical leaves times spines times links per pair. The large takeoff uses 40 rack pairs, two leaves per pair and eight spines. The detailed takeoff uses 12 paired-leaf racks, four spines, 32 usable ports per spine, 48 server ports at 25 Gb/s per leaf and 400 Gb/s uplinks. Each pluggable channel requires modules at both ends. Cisco's cited DR4 and FR4 interfaces use eight and two active fibers respectively.

Capacity ratios divide aggregate downlink by aggregate uplink bandwidth. The separate ratio case uses 48 ports at 25 Gb/s and six uplinks at 100 Gb/s. The optical budget uses 0.180 km of fiber at 0.4 dB/km, four mated connections at 0.35 dB each, no splices and a 0.5 dB design reserve. Loss is length times attenuation plus connection losses; margin subtracts loss and reserve from Cisco's 3.0 dB module limit. These are engineering calculations using documented case inputs, separate from installed-channel acceptance measurements. RFC 7938 supplies the topology and ECMP basis; the cited publisher and state sources establish the named editions and adoption dates.

Related tools

Next step: Review public electrical bids

FAQ

What is a spine-leaf network?

A spine-leaf network connects every leaf to every spine in its fabric block. Leaves provide access and spines carry traffic between leaves. Same-leaf traffic stays local; different-leaf traffic crosses a spine. Equal switch count does not guarantee identical latency.

What is the difference between spine-leaf and three-tier architecture?

A three-tier network uses access, aggregation and core layers; a spine-leaf fabric uses leaves and spines within each block. Routed Clos designs use equal-cost paths. Spanning Tree behavior depends on the Layer 2 design, so three tiers alone do not imply blocked links.

What is east-west traffic?

East-west traffic moves between servers or services inside the data center. Its share depends on the workload. Use measured traffic and placement data rather than applying a universal percentage.

What is a leaf switch?

A leaf switch connects servers, storage or edge services to the fabric and uplinks to the spines. It can sit in a rack or a row position. Port speeds and paired operation follow the approved platform and workload design.

What oversubscription ratio should a data center fabric use?

Use the ratio that meets the workload and failure-case capacity target. Divide aggregate server-facing bandwidth by aggregate uplink bandwidth. Equal capacity does not exclude incast, hashing imbalance or output contention.

What is the difference between the front-end and back-end network in an AI data center?

The front-end provides general cluster connectivity; the back-end carries accelerator communication in designs that separate those roles. The platform design determines transport, storage placement, physical separation and required capacity.

How many hops between servers in a spine-leaf fabric?

Servers on different leaves cross a source leaf, one spine and a destination leaf in the base two-tier fabric. Servers on the same leaf communicate locally. Count the path being tested rather than claiming that every server pair follows the same route.

What is EVPN-VXLAN in a data center fabric?

EVPN-VXLAN is the overlay that runs on top of the spine-leaf underlay. VXLAN tunnels each tenant's traffic between leaves so a virtual machine can sit on any rack and stay on its Layer 2 segment, while EVPN is the control plane that tracks where every endpoint lives. It adds workload mobility and multi-tenancy over a stable routed underlay.

Do I use DAC or fiber optics in a spine-leaf fabric?

Use direct-attach copper, DAC, for short server-to-leaf and adjacent links inside or near the rack, where it is cheap and low-latency, with copper running out of reach at a few meters. Use fiber with pluggable transceivers for the longer leaf-to-spine runs across the room, since that plant patches through panels and reaches the distances copper cannot.

How do you scale a spine-leaf fabric beyond the spine port count?

Add leaves to connect more racks and spines to add bandwidth until the spine port count is full. Beyond that, move to a three-tier folded Clos: group spine-leaf blocks into pods and add super-spines above to tie the pods together. Plan the spine port count for the full building so growth is by patching, not replacing the spine layer.

People also ask

Codes cited in this guide

This guide is written and reviewed against the published standards below. Always confirm the current adopted edition with the authority having jurisdiction.

Sources checked