Getting started

SFP fundamentals

A working primer on optical transceivers for network engineers who haven't worked with them before, and a refresher for everyone else.

What an SFP is

A Small Form-factor Pluggable (SFP) is a hot-swappable optical transceiver module. It converts the electrical signal inside a switch or router into an optical signal that travels over fiber, and back again at the other end.

Physically, an SFP is a small metal cage about the size of a USB stick that slides into a port on the switch. It exposes a fiber connector (usually duplex LC) on the front and a 20-pin electrical connector on the back that mates with the switch ASIC.

The SFP family has grown in tandem with Ethernet speeds:

Form factorSpeedLanesElectrical interface
SFP1G1SerDes 1.25 Gbps
SFP+10G1SerDes 10.3125 Gbps
SFP2825G1SerDes 25.78 Gbps NRZ
SFP5650G1SerDes 26.5 Gbaud PAM4
QSFP+40G4 × 10G4 × NRZ
QSFP28100G4 × 25G4 × NRZ
QSFP56200G4 × 50G4 × PAM4
QSFP-DD400G8 × 50G8 × PAM4
OSFP400G / 800G8 × 50G or 8 × 100GPAM4

"QSFP" stands for Quad SFP, four electrical lanes in one module. "DD" means Double Density, eight lanes in the same form factor.

What's inside a module

Every transceiver contains, at minimum:

  • A laser (the transmitter), driven to switch on and off at the link rate to encode 1s and 0s into pulses of light. The laser type determines the wavelength and the maximum reach.
  • A photodiode (the receiver), which converts incoming photons back into an electrical signal.
  • Driver and clock-recovery circuitry that translates between the host electrical signal and the optical signal.
  • An EEPROM containing the module's identity: vendor name, part number, serial number, supported wavelengths, reach, and operating thresholds. The switch reads this on insertion to decide what the module is and whether to enable it.

In higher-speed modules (40G+), you'll also find optical multiplexers/demultiplexers (for CWDM/LWDM modules), a DSP (for PAM4 modules), and active cooling components (for ER and ZR variants).

Multi-mode vs. single-mode fiber

The two main fiber types determine reach and module type:

Fiber typeCore diameterLight sourceReachJacket color
Multi-mode (OM3/OM4/OM5)50 µmVCSELup to ~500mAqua / lime
Single-mode (OS1/OS2)9 µmDFB / EML laserup to 80km+Yellow

Multi-mode is cheaper to install and uses inexpensive VCSEL lasers, but the wide core lets light bounce around (multiple modes), which limits reach. Common variant: SR / SR4 (Short Reach), typically up to 300–400m on OM4.

Single-mode uses precision-aligned DFB or EML lasers and a narrow core that supports a single propagation mode. Longer reach, narrower wavelengths, higher cost.

  • LR / LR4 (Long Reach), up to 10 km
  • ER / ER4 (Extended Reach), up to 40 km
  • ZR / ZR4 (Z-Reach), up to 80 km
  • Coherent ZR, up to 120 km or more without amplification

Wavelength bands

Wavelength is measured in nanometers (nm) and dictates fiber type, laser type, and reach.

WindowRangeUsed in
Short wavelength (SW)850 nmMulti-mode SR/SR4
O-band1260–1360 nmSingle-mode LR, ER, LRM
C-band1530–1565 nmDWDM, ZR, coherent
L-band1565–1625 nmDWDM long-haul, BiDi

Wavelength-division multiplexing (WDM) lets a single fiber carry multiple wavelengths simultaneously. CWDM (Coarse WDM) uses 8 or 18 widely spaced wavelengths; DWDM (Dense WDM) packs 40, 80, or more channels into the C-band. Coherent ZR optics use sophisticated DSP to push 100G–400G over a single DWDM channel for hundreds of kilometers.

Reach and the optical link budget

A module's listed reach (e.g., "10 km" for an LR) assumes a clean, well-maintained fiber plant. Real-world reach is governed by the link budget , the total optical loss the link can tolerate between the transmitter and the receiver.

Link budget = Transmit power − Receiver sensitivity. For 10GBASE-LR that's typically:

  • Transmit power: −8.2 to +0.5 dBm
  • Receiver sensitivity: −14.4 dBm
  • Budget: roughly 6 dB

That 6 dB must cover all sources of loss: fiber attenuation (~0.35 dB/km at 1310 nm), splice losses (~0.1 dB per splice), and connector losses (~0.5 dB per mated connector pair). A 5 km link with 4 connectors and 2 splices burns:

  • Fiber: 5 × 0.35 = 1.75 dB
  • Connectors: 4 × 0.5 = 2.0 dB
  • Splices: 2 × 0.1 = 0.2 dB
  • Total: 3.95 dB, well within budget.

Leave headroom for aging

Always leave at least 1 dB of margin for laser aging and temperature drift.

DDM / DOM, digital diagnostics

Modern SFPs (everything from SFP+ onward) expose Digital Diagnostics Monitoring (DDM, also called Digital Optical Monitoring or DOM). The switch can read, in real time:

  • Module temperature (typical operating range: 0–70°C; industrial: −40 to +85°C)
  • Supply voltage (typically 3.3 V ± 5%)
  • Laser bias current
  • Transmit (Tx) optical power, in dBm
  • Receive (Rx) optical power, in dBm

DDM is the single most useful tool for diagnosing slow link degradation. Capture baseline values when you install the module and compare quarterly. A 1 dB drop in Tx power over six months is the laser starting to age; 3 dB is replacement time.

MSAs, why "compatible" optics work

Optical modules are governed by Multi-Source Agreements (MSAs), open specifications that define the form factor, the electrical interface, the optical specs, and the management interface. Currently in active use:

  • SFF-8472, diagnostic and management interface for SFP/SFP+/SFP28
  • SFF-8636, management interface for QSFP+/QSFP28
  • CMIS (Common Management Interface Specification), current standard for QSFP56, QSFP-DD, OSFP

Because the optical and electrical specifications are open, a module from any manufacturer that meets the MSA will interoperate optically with a module from any other manufacturer at the same speed and reach. The "compatibility" question is therefore not about whether the optics work, it's about whether the switch's firmware will accept the EEPROM contents.

OEMs (Cisco, Juniper, Arista, etc.) populate the EEPROM with their own vendor ID and a security signature. Some platforms will refuse to enable a module without the expected signature. A compatible module is one whose EEPROM has been programmed to satisfy that check, the optics are the same MSA-compliant optics; only the metadata changes.

Why NetAPI modules just enable

We program the EEPROM for the target platform on every module before it ships, which is why our optics enable cleanly without service unsupported-transceiver overrides on Cisco gear or equivalent workarounds elsewhere.