One switch shows normal receive power from an SFP transceiver and another reports a fault. Compare the raw value read by each host with the module's calibration mode. If the raw measurements agree but the displays differ substantially, verify parsing and units before attributing the discrepancy to a clock or optical-path failure.
The example uses lab-owned switches and synthetic offline data. Only approved diagnostic states are read, with no configuration writes to a live network or module and no work on an exposed optical path. The oscillator used by any particular module is unknown. The 25 MHz example applies only to a hypothetical separate diagnostic carrier and does not identify an SFP part.
Keep the raw encoding, converted optical power, and alarm state separate
Digital diagnostic monitoring is commonly called DDM or DOM. A diagnostic page can show temperature, supply, bias current, transmit power, and receive power. Its values are usually processed by the host and need not equal the raw integers. When changing hosts changes the sign, scale, or units, retain the raw field, the module's declaration, the converted result, and the displayed label from the same read before inferring optical attenuation.
Under the applicable diagnostic specification, internally calibrated fields are already scaled as specified and can be converted to physical units according to their definitions. For external calibration, the host uses raw measurements and coefficients stored by the module. Receive optical power may require more than multiplication by a constant. Determine the mode from the module's valid declaration and supported specification. Use the corresponding conversion exactly once.
A successful read does not establish that diagnostic data was ready. The field may be unavailable, the module may still be initializing, or the application may have a cached result. Show the state or age of the value where possible. Startup zeros may represent neither actual optical power nor a valid logarithmic value. Check when the value was read, whether it was valid, and whether it was updated within the required window.
Example: 0 dBm is 1 mW
Use a prepared offline sample. Suppose an internally calibrated receive-power field has a resolution of 0.1 μW per least significant bit. A raw decimal value of 10,000 gives 1,000 μW, or 1 mW. In dBm, 10 × log₁₀(1 mW ÷ 1 mW) is 0 dBm. Interpreting a display of zero as absence of light can give a false fault.
A second raw value of 2,500 is 250 μW, or 0.25 mW, equivalent to about −6.02 dBm. If the software uses 250 as milliwatts instead of converting from microwatts, the result is about +23.98 dBm, an error of 30 dB. This is a unit error in the example and says nothing about a switch fault or what power a module can accept. Do not apply the logarithm again to a value already expressed in dBm.
Also prepare a sample with a raw zero and a not-ready flag. Show it as not ready or unavailable according to the interface and application rules. A comparable finite dBm value is inappropriate. Average receive optical power and optical modulation amplitude are also distinct measurements. Even when reported in the same units, keep them separate and specify which one the acceptance test compares.
Identify the first step at which the results diverge
Without changing the chassis or module, pass one synthetic snapshot through both host software versions offline. Keep the field, valid state, encoding, and expected result fixed. If both versions interpret the same snapshot differently, record where they first differ, such as calibration coefficients, byte assembly, units, or formatting. A controlled offline test can isolate interpretation, while real-device accuracy needs a separate check.
Then read only the chassis's published diagnostics under the same controlled conditions. Record the complete module order number, firmware, and actual fields. Compare availability, raw values, and display values in that order. If the device cannot export raw data, document that limit. Two screen values do not identify which host converted the result incorrectly. For absolute optical power accuracy, qualified personnel should use an enclosed bench meeting optical safety and measurement requirements. Compare an independent measurement taken at the same wavelength and with the same quantity definition, and leave live fibers connected.
| Check | What to record | What it establishes |
|---|---|---|
| Module declaration | Supported diagnostics, ready state, calibration mode, quantity definition | Whether the value is comparable |
| Raw value and conversion | Field, acquisition time, physical and displayed units | Distinguishes a range change from a conversion error |
| Alarms | Current state, threshold definition, age | Separates module alarms from host alert rules |
| Link and clock | Link continuity, readback state, verified clock destination | Whether there is direct timing evidence for a part change |
A diagnostic screenshot is insufficient to qualify the module
Taitien's wide-temperature OY family from Taiwan offers CMOS active quartz oscillators covering the 25 MHz range considered for the separate carrier in this example. This is a candidate family subject to verification. Before requesting a part, engineering should specify the clock destination, actual supply and receiver thresholds, load, and start and stop behavior. Purchasing then obtains the exact part number, temperature, frequency tolerance, and package conditions. A carrier running at 25 MHz does not establish the module's reference frequency.
For the optical module, document the supported diagnostics, calibration mode, definition of average power or modulation amplitude, accuracy under specified conditions, host and management versions, and valid acceptance states. For alerts, distinguish a module-provided status from a host threshold decision. Claiming DDM support alone does not establish comparable diagnostics on every host.
If raw values and validity are normal and one host version alone shows an order-of-magnitude difference, correct parsing and retain a raw input and expected result as a regression case. If a clock problem actually resets the carrier or interrupts reads, collect separate power, reset, and oscillator-output evidence. The two issues can coexist. Fixing the display does not qualify the clock, and changing a clock does not correct another host's unit conversion.
Build small software tests for the confusing units. Include positive inputs below, at, and above 1 mW, and check that increasing power changes the display using the same convention. Add missing reads, timeouts, and unsupported fields to ensure they do not all default to zero. If the system retains alarm history, document whether comparisons are made before or after calibration. Matching displays can still coexist with different alarm behaviors.
Frequently asked questions
Is the host showing two decimal places more accurate? Decimal places give display precision. Accuracy also depends on quantity definition, calibration, wavelength, operating range, and host processing.
Does a link that never dropped prove the receive-power display is correct? The data plane can keep working while diagnostics are misinterpreted, not ready, or cached. Qualify link state and diagnostic-field validity separately.
