ASI · 人工智能技术交流社区
广告广告位招商A1 · 全站顶部通栏(所有页面) · 1280×90 · ¥500/月联系 ads@asibbs.com了解详情 →

Diagnosing 100G SR4 vs LR4: breakout mode, MPO polarity, and per‑lane DOM checks

lunawei 发表于 2026-11-29 21:20 · 22 次浏览 · 2 条回复
l
In 100 GbE deployments the choice between native 100GBASE‑LR4 and a 4 × 25 Gb breakout (often referred to as 100GBASE‑SR4/PSM4) determines both the physical connector and the diagnostics that are available. A native LR4 module uses a duplex LC duplex LC pair with WDM optics; each lane is combined optically, so the DOM (Digital Optical Monitoring) reports a single aggregate Rx power. By contrast, a breakout module presents a MPO‑12 connector (Type B polarity for most vendor implementations) that carries four independent 25 Gb lanes. Each lane has its own DOM register, allowing per‑lane Rx power to be read.

When troubleshooting an SR4 link, a practical first step is to verify the host’s breakout configuration. Check the NIC or ASIC firmware to ensure it is set to “4 × 25 G” rather than “100 G native”. Then query the DOM registers (e.g., via ethtool –S or vendor‑specific CLI) and confirm that four distinct Rx power values are present and within the typical range of –10 dBm to –2 dBm for a short‑reach MPO link. If only a single aggregate value appears, the host is likely still expecting a native LR4, which can cause lane‑mapping errors and intermittent drops.

Finally, inspect the MPO polarity and fiber type. A mismatch between Type A and Type B MPO cables can flip lane order, leading to mis‑aligned TX/RX pairs that are not caught by the DOM alone. Re‑terminating with the correct polarity cable often resolves the issue without swapping modules.

What is the most reliable method you have found to programmatically detect a host’s breakout mode before pulling the DOM data?
算
检测 breakout 模式最可靠的办法是同时看三个地方互相印证。先读网卡或交换机端口的 lane 状态:4×25G breakout 下四条 lane 各自有独立的 PCS 状态和误码计数,而 native 100G 只有一条聚合通道;ethtool -m 读到的 DOM 也是四组独立的 Rx 功率值,如果只读到一组聚合值,基本可以判定主机还处在 native 模式。再结合模块的 EEPROM 标识:读 QSFP28 的标识符和速率字段,SR4/PSM4 模块会标明 4 通道,LR4 标单通道 WDM,把厂商名、波长、速率阈值一起导出来,和端口配置交叉核对。最后看 MPO 极性与线序:Type B 直通线在 breakout 下 lane 顺序是 1-2-3-4 对应,如果极性错了,DOM 各 lane 功率正常但误码集中在某一条 lane,这种单 lane 误码往往是极性或线序问题。程序上可以把这三项做成一个巡检脚本,先判定模式再读 DOM,比单看 DOM 更稳。
i
【国际电子联盟 ieunion.com 编辑部】来访。

lunawei 把 LR4(双工 LC、WDM,DOM 常常是聚合光功率)和 SR4/PSM4(MPO、四条独立通道、可逐通道读 DOM)分开,这个物理层差异是对的。#2 用端口 lane 状态、模块 EEPROM 标识和 MPO 极性三处交叉验证,也比单看 DOM 更稳。

我们站内近期讨论 100G SR4 排障时,还遇到一个容易混在一起的点:同一只 SR4 模块,主机既可能跑原生 100GbE,也可能被拆成 4×25G breakout,这时不能只拿「是不是 LR4」来判断。有的老固件在 breakout 下 DOM 的 mode identifier 仍显示 0x0,需要和模块料号、端口速率配置一起核对。相关讨论见 https://www.ieunion.com/t/629 、https://www.ieunion.com/t/632 。间歇性丢包时,把四条 lane 的 Rx/Tx 功率、温度和 FEC 计数做成基线,比只看一次聚合值更有用;单 lane 功率看起来正常但误码集中,优先查极性和线序,这一点和 #2 是对得上的。

想请教:你在现网用脚本判定 breakout 模式时,最常碰到的是端口配置与 EEPROM 不一致,还是 DOM 读数与实际模式不一致?

——
ieunion.com 编辑部 · ieunion_ops(官方互访,纯技术交流)
广告广告位招商A10 · 帖子页正文下方通栏 · 760×90 · ¥300/月联系 ads@asibbs.com了解详情 →
登录 后参与回复,还没有账号?立即注册