CodingBox دستاویزات

سوئچز کے کردار اور ٹوپولوجیز: کون سی آپٹکس کہاں لگتی ہے

ہماری ٹیم ترجمے پر کام کر رہی ہے۔ یہ مضمون عارضی طور پر اردو میں دستیاب نہیں ہے، اس لیے اسے انگریزی میں دکھایا جا رہا ہے۔

The same 100G module is a cheap DAC in one rack, an SR4 across the room, a LR4 between buildings and a DWDM channel between cities. Which one a port gets is decided by the switch's role in the network and the topology around it. This page maps the classic campus tiers and the data-centre leaf–spine to the optics, distances and counts they imply — so a bill of materials can be read off the design.

Campus three-tier hierarchy and data-centre leaf–spine with the optics on each link

Campus: access, distribution, core

TierRoleTypical portsDownlinksUplinks and optics
Accessconnects end devices24–48 × RJ45 (1G/mGig, PoE) + 2–4 SFP+/SFP28 uplinkscopper10G/25G SR (in-building MMF), LR (between buildings), sometimes 1G LX
Distribution / aggregationaggregates access switches per building or floor group24–48 × SFP+/SFP28, 4–8 × QSFP2810G/25G SR/LR40G/100G SR4/LR4 to core; CWDM/DWDM if fibre is scarce
Coreinterconnects distribution, routesQSFP28/QSFP-DD100G/400GLR4/FR4/ER4 between sites; CWDM or DWDM over leased fibre
Collapsed coresmall sites: distribution + core in onemixed

Campus distances are metres to a few kilometres: SR on OM3/OM4 inside buildings, LR/LX on single-mode between them; the reach classes in PMD reference.

Data centre: leaf–spine (Clos)

RoleAlso calledPortsDownlinksUplinks
LeafToR (top of rack), access48 × SFP28/SFP56 + 8 × QSFP28/QSFP-DD, or 32 × QSFP-DDservers: 25G/50G/100GDAC in rack (≤ 3 m), AOC/SR to adjacent racksto every spine: 100G/400G SR4/DR4/AOC (≤ 100 m)
Spineaggregation, fabric32–64 × QSFP28/QSFP-DD/OSFPleavesto super-spine or border: DR4/FR4 (500 m–2 km)
Super-spine / corepod interconnecthigh-radix 400G/800GspinesDR/FR within the campus; ZR/ZR+ for DCI (Coherent)
Border leafedge to WAN/internetmixedLR/ER/CWDM/DWDM to carriers
Managementout-of-band1G RJ45/SFPBMCs, consoles1G/10G LR to the OOB core

Rules of thumb: leaf–spine links are all the same speed and FEC; oversubscription (downlink capacity ÷ uplink capacity) of 3:1 is common for general compute, 1:1 for AI and storage (GPU fabrics).

Rail-optimised AI fabrics

GPU nodes connect each NIC to a different leaf, so most server links leave the rack — AOC and optics instead of DAC — and the cable count per GPU is one per tier (Cabling an AI cluster).

Storage and SAN

Fibre Channel switches form their own fabric (edge–core or core–edge–core) with 16/32/64GFC SW optics in a room and LW between rooms; Ethernet storage rides the leaf–spine with lossless classes (SAN design, Lossless Ethernet).

Distance → optic

SegmentDistanceMediumOptic
Server to ToR≤ 3 mcopperDAC (Cable internals)
Server to end-of-row leaf3–30 mAOC or MMFAOC, SR
Leaf to spine, same hall10–100 mOM4 or SMFSR4/SR8, DR4/DR8
Between halls / buildings100 m – 2 kmSMFDR, FR4, LR/LX
Campus / metro2–40 kmSMFLR, ER, CWDM, 4WDM
Regional DCI40–120 kmSMF, amplifiedZR/ZR+, DWDM transponders
Long haul> 120 kmSMF, amplifiedDWDM line systems (Network design & OTN)

Fibre-scarce paths use CWDM or DWDM to multiply capacity per strand; single-fibre BiDi where only one strand exists.

Counting optics from a design

Example: one pod of 16 racks, 32 servers per rack, 2 × 25G per server, 4 spines.

ItemCount
Server links (2 × 25G × 32 × 16)1 024 DAC
Leaf uplinks (16 leaves × 4 spines × 2 × 100G)128 links → 256 QSFP28 SR4/DR4 + 128 MPO trunks
Spine to super-spine (4 spines × 8 × 100G)32 links → 64 modules
Border + OOB8–16 LR modules, 48 1G
Spares (5 %)~20

Multiply by two for the second fabric if the design is dual-plane.

Roles and policy

Role also decides how strict the platform is about optics: carrier and SAN gear tends to enforce OEM branding; data-centre leaf–spine on merchant silicon is often permissive; campus access varies by vendor (How each NOS validates a module, Vendor lock).

In CodingBox

A role-based bill of materials is a list of PMDs and part numbers; CodingBox verifies each delivered module against it (type, reach, wavelength, PN) and codes identities where the design calls for OEM-compatible modules (Check transceiver, Code database).

Turning a design into a purchase and a working rack — selection criteria, optics bill of materials, commissioning checklist and acceptance test: Selecting & commissioning; the L2/L3 mechanics behind these topologies: Forwarding basics.

The cabling under these topologies — structured cabling hierarchy, data-centre patterns (EoR, MoR, ToR, trunks and cassettes), fibre-count planning: Fibre network topologies.


اگر آپ کو اس مضمون میں کوئی غیر درست بات یا غلطی نظر آئے تو متعلقہ حصہ منتخب کریں اور Ctrl+Enter دبا کر ۔