DEV Community

IT And Office
IT And Office

Posted on

SFP+ transceivers and DACs for your homelab: coding, compatibility, and the traps

10GbE at home is cheap now. A used dual-port Intel X520 or Mellanox ConnectX-3 costs less than a decent mechanical keyboard, and a second-hand SFP+ switch (MikroTik CRS309/CRS317, Dell N4032F, Brocade ICX6610, Arista 7050S) has come way down. The part that still bites people is the little module you push into the cage. Here is what actually matters when you buy transceivers and DACs used.

SFP vs SFP+ vs SFP28: what fits what

The cage is physically the same across SFP (1G), SFP+ (10G) and SFP28 (25G). That does not mean any module works in any port.

  • A 1G SFP usually works in an SFP+ port (most switches negotiate down). The reverse is not true: a 10G SFP+ module will not link at 10G in a 1G-only SFP cage.
  • SFP28 modules are backward compatible with SFP+ at 10G, but a 25G module in a 10G port just runs at 10G, so you overpaid.
  • QSFP+ (40G) is a different, wider form factor. You can break it out to 4x SFP+ with a breakout DAC, but only if the switch supports channelization on that port.

Check the switch datasheet for per-port speed, not just "has SFP+ ports". Some cheap switches have one or two SFP+ uplinks and the rest are 1G SFP.

DAC vs AOC vs optics

Direct Attach Copper (DAC) is a fixed-length twinax cable with the modules molded on each end. For a rack where switch and server are within ~3 m, this is the right answer: cheapest, lowest power (~0.1 W vs ~1 W for an SR optic), no fiber to keep clean, near-zero latency. Passive DAC tops out around 3 m for 10G, 5 m for active DAC.

AOC (Active Optical Cable) is the same molded-end idea but with fiber in the middle, for 5-30 m runs without dealing with connectors.

Discrete optics + fiber when you need a real structured run. For 10G:

  • 10GBASE-SR (850 nm, multimode, LC): up to 300 m on OM3, 400 m on OM4. This is the homelab default for between-room runs.
  • 10GBASE-LR (1310 nm, single-mode OS2, LC): up to 10 km. Overkill at home unless you already have single-mode pulled.

Do not mix module types on the two ends. SR talks to SR, LR to LR, and the fiber must match (OM3/OM4 for SR, OS2 for LR). Mixing OM and OS2, or SR with LR, is the most common "no light" ticket.

The vendor coding problem

Every transceiver has an EEPROM that reports a vendor name and part number. Many enterprise switches check it against a whitelist and refuse or error-disable an "unknown" module. This is the single biggest reason a working transceiver "doesn't work".

Fixes by platform:

  • Cisco IOS / IOS-XE: service unsupported-transceiver (hidden command, requires no service internal off first on some builds) plus no errdisable detect cause gbic-invalid.
  • Cisco NX-OS (Nexus 3048, 9300): generally accepts third-party modules; DDM readouts may show blank.
  • Arista EOS: accepts almost anything, logs a warning.
  • Juniper: accepts third-party, show interfaces diagnostics optics still works.
  • MikroTik RouterOS: no whitelist at all. This is why MikroTik is the friendliest homelab SFP+ platform.
  • Dell, HPE/Aruba, Brocade: whitelist enforced; look for an "allow unsupported optics" toggle.

If you buy from a specialist, ask for modules coded for your switch brand (Cisco-coded, Dell-coded, etc.). Vendors like FS.com, 10Gtek and ProLabs sell the same optic coded to order, and a used batch is often already coded for whatever fleet it came out of. A Finisar or Avago OEM module (e.g. FTLX8574D3BCL) with generic coding will link on MikroTik/Arista/Juniper and may need the override elsewhere.

Read the diagnostics before you trust a used module

10G optics support DDM/DOM (digital diagnostics). After it links, pull the readout:

  • Cisco: show interfaces transceiver detail
  • Juniper: show interfaces diagnostics optics xe-0/0/0
  • Linux with the NIC: ethtool -m enp1s0f0

You want Tx power and Rx power inside the module's spec window (roughly -1 to -7 dBm for an SR at short range), temperature under ~60 C, and no "high/low alarm" flags. A module reading -12 dBm Rx on a 2 m patch is dying or the fiber end is filthy. Clean with a proper one-click cleaner, never canned air.

10GBASE-T SFP+ modules: know the caveat

A 10GBASE-T SFP+ module (RJ45 copper, e.g. the ~$40 ones) is tempting for reusing Cat6a. Real problems:

  • Draws 2-2.5 W, near the edge of the SFP+ power budget. Many switches only support them in specific ports, or not at all.
  • Runs hot; in a densely populated switch it can push neighboring modules into thermal alarm.
  • Adds latency (~2 us) and can fall back to 1G/2.5G on marginal cable.

Fine for one uplink to a NAS. Not something to fill a whole switch with.

Used-buying checklist

  1. Match the coding to your switch brand, or confirm your switch can override.
  2. Wavelength and mode: SR+OM3/OM4, or LR+OS2. Never assume.
  3. Ask for a DDM screenshot from the seller's bench, or buy from someone who tests.
  4. DAC length actually reaches: measure the rack path, add slack, passive <=3 m.
  5. Connector type: almost all 10G is LC duplex. SC is legacy.
  6. NIC side too: Intel X520 also whitelists optics in some firmware (allow_unsupported_sfp=1 on the ixgbe module). X710, Mellanox ConnectX-3/4 don't care.
  7. Buy one, prove the link and the diagnostics, then buy the rest.

If you'd rather not gamble on a mystery bag of optics from an auction, buying from a reseller that tests and can code modules to your gear - for example the used SFP / SFP+ module catalogue at IT and Office - saves a lot of "why is this port down" evenings, since they'll tell you the coding and confirm the module linked on their bench.

Over to you

What's your homelab 10G setup - all DAC in one rack, or fiber between rooms? And has anyone found a switch platform other than MikroTik that genuinely doesn't care about transceiver coding out of the box?

Top comments (0)