Same-day dispatch on orders before 2PM Mountain

SFP28 25G Transceiver Coding: Cisco, Mellanox, Arista

, by Atomic Racks

An SFP28 module works in a given switch or NIC when three things match: the vendor coding in its EEPROM is accepted by the host, the forward error correction mode agrees on both ends, and the media type (DAC, AOC, SR or LR optic) suits the port and distance. Most 25G link failures are FEC mismatches, not bad optics.

What SFP28 is

SFP28 is the 25 Gb/s version of the SFP form factor. It runs a single lane at about 25.78 GBd and is physically the same size as SFP+ (10G), so most SFP28 ports also accept 10G SFP+ modules at 10G. Four SFP28 lanes make up a QSFP28 (100G) port, which is why 100G switches can break out into four 25G links. If you are new to optics in general, start with our SFP transceiver compatibility guide.

Vendor coding and the EEPROM

Every module has an EEPROM that describes it: vendor name, vendor part number, serial number, supported compliance codes, and optional digital diagnostics such as temperature, voltage and optical power. Switch and NIC firmware reads this EEPROM when the module is inserted. Some platforms check the vendor fields against an approved list and refuse, warn about, or limit modules that do not match.

"Cisco coded" or "Arista coded" means a third-party module has been programmed with EEPROM contents the platform will accept as its own. The optics and laser are the same; only the identity fields differ. Coding matters because a platform that enforces vendor checks will put an uncoded module into an error-disabled state even though it would work electrically. Behavior differs by platform and software version:

  • Cisco Nexus 9300 platforms check vendor coding and log unsupported transceivers. Cisco-coded modules are the usual choice. Some NX-OS versions offer a command to permit unsupported transceivers, but support for it varies.
  • Arista 7050 series switches check the EEPROM as well. Arista-coded modules avoid warnings, and EOS behavior with third-party modules depends on version and configuration.
  • Mellanox (NVIDIA) ConnectX-4 Lx and ConnectX-5 NICs are generally tolerant of third-party modules and DACs.
  • Intel XXV710 NICs are stricter. Intel's documentation lists qualified modules, and the driver may refuse modules outside that list depending on firmware version.

When buying, match the coding to the host, not to the other end of the link. A Cisco-coded optic on the switch can talk to a generic or Mellanox-coded optic on the server, as long as wavelength, media and FEC match.

FEC modes and auto-negotiation

At 25G, forward error correction is part of the link definition. There are three modes:

  • RS-FEC (Clause 108, Reed-Solomon). The strongest option and the one IEEE 25GBASE-SR expects. Required for longer passive DACs.
  • BASE-R FEC (Clause 74, sometimes called FC-FEC or FireCode). Lighter, lower latency, used with some shorter DACs.
  • No FEC. Used with very short, high-quality DACs, and supported by some optics.

Both ends must use the same mode or the link stays down. Passive DAC links can negotiate FEC with Clause 73 auto-negotiation, but optical links do not auto-negotiate, so the mode must be set or defaulted the same on both sides. A common failure is a switch defaulting to RS-FEC on an SR optic while the NIC defaults to off or auto with a different result.

# Linux: show and set FEC
ethtool --show-fec enp1s0f0
ethtool --set-fec enp1s0f0 encoding rs

# Cisco NX-OS, interface mode
fec rs-fec

# Arista EOS, interface mode
error-correction encoding reed-solomon

Command syntax differs between software versions, so check your platform's documentation before applying it.

DAC, AOC, SR and LR

Type Medium Typical reach Typical FEC Best for
Passive DAC Twinax copper Up to about 5 m RS-FEC, BASE-R or none, by cable class Within a rack, lowest cost and power
AOC Fiber with fixed ends Up to tens of meters Usually RS-FEC Adjacent racks, lighter cabling than DAC
SR optic Multimode fiber, 850 nm About 70 m on OM3, 100 m on OM4 RS-FEC Within a room or row
LR optic Single-mode fiber, 1310 nm Up to about 10 km Often none or RS-FEC, by module Between rooms, floors or buildings

Passive DACs come in classes that define which FEC they need. Short cables rated for no FEC are the most forgiving. A DAC must be coded for both ends' platforms or used between hosts that do not enforce coding, which is why DACs with different coding on each end exist.

Breakout: 100G QSFP28 to 4x25G

A QSFP28 port carries four 25G lanes. A breakout cable splits it into four SFP28 ends, letting one 100G switch port serve four 25G servers. You need to configure the switch port for breakout mode, and each lane then behaves as its own 25G interface with its own FEC setting. Breakout DACs are the simplest option inside a rack. For longer runs, use a QSFP28 SR4 optic with an MPO-to-LC breakout cable feeding four SFP28 SR optics. Not every switch port supports breakout, and some platforms only allow it on certain port groups.

Common combinations

  • ConnectX-4 Lx or ConnectX-5 to Nexus 9300: use a Cisco-coded DAC or optic on the switch. Set FEC explicitly on both ends if the link does not come up.
  • XXV710 to Arista 7050: use an Intel-qualified module or a module coded for Intel on the NIC, and an Arista-coded module on the switch. Check that both sides agree on RS-FEC.
  • ConnectX to ConnectX, direct: a generic DAC usually works. Useful for a two-node storage or cluster link without a switch.

How to check compatibility

On Linux, ethtool -m reads the module EEPROM and diagnostics. It tells you what the host sees: vendor, part number, compliance codes, cable length for DACs and, for optics, transmit and receive power.

ethtool -m enp1s0f0
ethtool enp1s0f0 | grep -E 'Speed|Link detected'
dmesg | grep -iE 'sfp|module|unsupported'

On switches, show interface transceiver (NX-OS and EOS) shows the same data. If the module is detected but the link is down, compare FEC and speed settings first. If the receive power is very low on an optic, check fiber type, cleanliness and polarity. If the host logs an unsupported module, the coding is the problem.

Where 25G fits a storage build

One 25G link moves roughly 3 GB/s, about what a dozen 7200 rpm drives such as the Exos X18 can stream together, and enough for a small set of SATA SSDs such as the Micron 1.92 TB. If your NAS is built on hard drives, 25G removes the network as the bottleneck for sequential work. Our used enterprise vs new NAS drives comparison covers the storage side.

FAQ

Will an SFP28 module work in an SFP+ port?

Some do at 10G if the module supports it, but many SFP28 optics are 25G only. DACs and dual-rate optics are the safest choice for mixed ports.

Can I mix vendor coding on the two ends of a link?

Yes. Coding is checked only by the host the module is plugged into. The link itself cares about wavelength, media and FEC.

Why does my 25G link come up at 10G?

The port or module may be set to or limited to 10G, or one side is an SFP+ device. Check speed settings and the module compliance codes with ethtool.

Do I need digital diagnostics?

They are not required for the link but are useful for troubleshooting optics. Passive DACs usually do not report them.

What we do at Atomic Racks

Browse transceivers and DACs and NICs and adapters in our networking section. Ask before ordering if you need a specific vendor coding; we check the EEPROM on request. For larger quantities or mixed-coding orders, send a bulk quote request. Items carry a warranty described on our warranty page, ship free within the US from Englewood, Colorado, and come with 30-day returns (buyer-paid return postage unless the item is defective).