Linux命令查看光模块信息ethtool -m [interface]

# ethtool -m [interface]

# ethtool -m ens22f0
	Identifier                                : 0x03 (SFP)
	Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
	Connector                                 : 0x07 (LC)
	Transceiver codes                         : 0x10 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
	Transceiver type                          : 10G Ethernet: 10G Base-SR
	Encoding                                  : 0x06 (64B/66B)
	BR, Nominal                               : 10300MBd
	Rate identifier                           : 0x00 (unspecified)
	Length (SMF,km)                           : 0km
	Length (SMF)                              : 0m
	Length (50um)                             : 80m
	Length (62.5um)                           : 30m
	Length (Copper)                           : 0m
	Length (OM3)                              : 300m
	Laser wavelength                          : 850nm
	Vendor name                               : FINISAR CORP.
	Vendor OUI                                : 00:90:65
	Vendor PN                                 : FTLX8571D3BCL-HD
	Vendor rev                                : A
	Option values                             : 0x00 0x1a
	Option                                    : RX_LOS implemented
	Option                                    : TX_FAULT implemented
	Option                                    : TX_DISABLE implemented
	BR margin, max                            : 0%
	BR margin, min                            : 0%
	Vendor SN                                 : AQ70P4U
	Date code                                 : 130823
	Optical diagnostics support               : Yes
	Laser bias current                        : 7.934 mA
	Laser output power                        : 0.5734 mW / -2.42 dBm
	Receiver signal average optical power     : 0.0004 mW / -33.98 dBm
	Module temperature                        : 30.14 degrees C / 86.25 degrees F
	Module voltage                            : 3.3440 V
	Alarm/warning flags implemented           : Yes
	Laser bias current high alarm             : Off
	Laser bias current low alarm              : Off
	Laser bias current high warning           : Off
	Laser bias current low warning            : Off
	Laser output power high alarm             : Off
	Laser output power low alarm              : Off
	Laser output power high warning           : Off
	Laser output power low warning            : Off
	Module temperature high alarm             : Off
	Module temperature low alarm              : Off
	Module temperature high warning           : Off
	Module temperature low warning            : Off
	Module voltage high alarm                 : Off
	Module voltage low alarm                  : Off
	Module voltage high warning               : Off
	Module voltage low warning                : Off
	Laser rx power high alarm                 : Off
	Laser rx power low alarm                  : On
	Laser rx power high warning               : Off
	Laser rx power low warning                : On
	Laser bias current high alarm threshold   : 11.800 mA
	Laser bias current low alarm threshold    : 4.000 mA
	Laser bias current high warning threshold : 10.800 mA
	Laser bias current low warning threshold  : 5.000 mA
	Laser output power high alarm threshold   : 0.8318 mW / -0.80 dBm
	Laser output power low alarm threshold    : 0.2512 mW / -6.00 dBm
	Laser output power high warning threshold : 0.6607 mW / -1.80 dBm
	Laser output power low warning threshold  : 0.3162 mW / -5.00 dBm
	Module temperature high alarm threshold   : 78.00 degrees C / 172.40 degrees F
	Module temperature low alarm threshold    : -13.00 degrees C / 8.60 degrees F
	Module temperature high warning threshold : 73.00 degrees C / 163.40 degrees F
	Module temperature low warning threshold  : -8.00 degrees C / 17.60 degrees F
	Module voltage high alarm threshold       : 3.7000 V
	Module voltage low alarm threshold        : 2.9000 V
	Module voltage high warning threshold     : 3.6000 V
	Module voltage low warning threshold      : 3.0000 V
	Laser rx power high alarm threshold       : 1.0000 mW / 0.00 dBm
	Laser rx power low alarm threshold        : 0.0100 mW / -20.00 dBm
	Laser rx power high warning threshold     : 0.7943 mW / -1.00 dBm
	Laser rx power low warning threshold      : 0.0158 mW / -18.01 dBm

1. 基础信息

  • Identifier: 0x03 (SFP)
    表示这是一个 SFP(Small Form-factor Pluggable)光模块,常用于短距离多模或单模光纤连接。

  • Extended identifier: 0x04
    模块通过 2-wire 接口(如 I²C)定义参数,符合 SFF-8472 标准。

  • Connector: 0x07 (LC)
    使用 LC 接口的光纤连接器,常见于数据中心和高密度布线环境。


2. 传输性能

  • Transceiver type: 10G Base-SR
    模块支持 10Gbps 速率,类型为 10G Base-SR(短距离多模光纤,通常支持 300 米)。

  • Encoding: 64B/66B
    采用 64B/66B 编码,这是 10G 以太网的标准编码方式。

  • Laser wavelength: 850nm
    使用 850nm 波长,属于多模光纤的典型波长(短距离传输)。


3. 厂商与型号

  • Vendor: FINISAR CORP.
    模块由 Finisar 生产,这是一家知名的光模块制造商。

  • Vendor PN: FTLX8571D3BCL-HD
    具体型号为 FTLX8571D3BCL-HD,可查询厂商文档获取详细规格。

  • Vendor SN: AQ70P4U
    序列号 AQ70P4U,用于追踪模块的生产和维修记录。

  • Date code: 130823
    生产日期为 2013 年第 8 周(可能影响保修或兼容性)。


4. 传输距离

  • Length (50um): 80m
    支持 OM2 多模光纤(50μm 芯径)最大 80 米。
  • Length (OM3): 300m
    支持 OM3 多模光纤 最大 300 米(符合 10G Base-SR 标准)。

5. 诊断与状态

  • Optical diagnostics support: Yes
    模块支持 数字光学监控(DOM),可实时读取光功率、温度等参数。

  • 关键诊断数据

    • Laser output power: -2.42 dBm
      发射光功率正常(典型范围:-3dBm 至 -1dBm)。
    • Receiver signal power: -33.98 dBm
      接收光功率异常低(正常范围通常为 -23dBm 至 -3dBm),可能表明:
      • 光纤连接不良或断开。
      • 对端设备(如交换机)发射功率不足。
      • 光纤损坏或污染。
  • Alarms & Warnings

    • Laser rx power low alarm: On
      接收光功率触发低报警,需立即检查光纤链路。

6. 环境参数

  • Module temperature: 30.14°C
    当前温度正常(典型工作范围:0°C 至 70°C)。

  • Module voltage: 3.344V
    电压正常(典型范围:3.1V 至 3.5V)。


潜在问题与建议

  1. 接收光功率过低(-33.98 dBm)
    • 检查光纤是否插紧、有无弯折或损坏。
    • 尝试更换光纤或清洁 LC 连接器。
    • 验证对端设备(如交换机)的光模块是否正常工作。
  2. 生产日期较早(2013 年)
    • 确认模块是否与当前设备兼容(部分老旧模块可能不支持新标准)。
  3. 其他参数正常
    • 温度、电压、发射功率均在正常范围,硬件故障可能性较低。

此光模块为 Finisar 10G Base-SR SFP+ 模块,支持短距离多模光纤(OM3 300 米)。当前主要问题是 接收光功率过低,需优先排查光纤链路或对端设备。建议结合 ethtool -d ens22f0 或 dmesg 进一步检查驱动和硬件状态。

# ethtool -m ens22f1
	Identifier                                : 0x03 (SFP)
	Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
	Connector                                 : 0x07 (LC)
	Transceiver codes                         : 0x10 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
	Transceiver type                          : 10G Ethernet: 10G Base-SR
	Encoding                                  : 0x06 (64B/66B)
	BR, Nominal                               : 10300MBd
	Rate identifier                           : 0x00 (unspecified)
	Length (SMF,km)                           : 0km
	Length (SMF)                              : 0m
	Length (50um)                             : 80m
	Length (62.5um)                           : 30m
	Length (Copper)                           : 0m
	Length (OM3)                              : 300m
	Laser wavelength                          : 850nm
	Vendor name                               : OEM-HW
	Vendor OUI                                : 00:90:65
	Vendor PN                                 : SFP+10G-MM850
	Vendor rev                                : A
	Option values                             : 0x00 0x1a
	Option                                    : RX_LOS implemented
	Option                                    : TX_FAULT implemented
	Option                                    : TX_DISABLE implemented
	BR margin, max                            : 0%
	BR margin, min                            : 0%
	Vendor SN                                 : ANJ084V
	Date code                                 : 210522
	Optical diagnostics support               : Yes
	Laser bias current                        : 6.300 mA
	Laser output power                        : 0.3584 mW / -4.46 dBm
	Receiver signal average optical power     : 0.7178 mW / -1.44 dBm
	Module temperature                        : 34.13 degrees C / 93.44 degrees F
	Module voltage                            : 3.3546 V
	Alarm/warning flags implemented           : Yes
	Laser bias current high alarm             : Off
	Laser bias current low alarm              : Off
	Laser bias current high warning           : Off
	Laser bias current low warning            : Off
	Laser output power high alarm             : Off
	Laser output power low alarm              : Off
	Laser output power high warning           : Off
	Laser output power low warning            : Off
	Module temperature high alarm             : Off
	Module temperature low alarm              : Off
	Module temperature high warning           : Off
	Module temperature low warning            : Off
	Module voltage high alarm                 : Off
	Module voltage low alarm                  : Off
	Module voltage high warning               : Off
	Module voltage low warning                : Off
	Laser rx power high alarm                 : Off
	Laser rx power low alarm                  : Off
	Laser rx power high warning               : Off
	Laser rx power low warning                : Off
	Laser bias current high alarm threshold   : 15.000 mA
	Laser bias current low alarm threshold    : 0.000 mA
	Laser bias current high warning threshold : 12.000 mA
	Laser bias current low warning threshold  : 1.000 mA
	Laser output power high alarm threshold   : 1.2589 mW / 1.00 dBm
	Laser output power low alarm threshold    : 0.0282 mW / -15.50 dBm
	Laser output power high warning threshold : 1.0000 mW / 0.00 dBm
	Laser output power low warning threshold  : 0.0355 mW / -14.50 dBm
	Module temperature high alarm threshold   : 75.00 degrees C / 167.00 degrees F
	Module temperature low alarm threshold    : -5.00 degrees C / 23.00 degrees F
	Module temperature high warning threshold : 70.00 degrees C / 158.00 degrees F
	Module temperature low warning threshold  : 0.00 degrees C / 32.00 degrees F
	Module voltage high alarm threshold       : 3.6000 V
	Module voltage low alarm threshold        : 3.0000 V
	Module voltage high warning threshold     : 3.5000 V
	Module voltage low warning threshold      : 3.1000 V
	Laser rx power high alarm threshold       : 1.2589 mW / 1.00 dBm
	Laser rx power low alarm threshold        : 0.0282 mW / -15.50 dBm
	Laser rx power high warning threshold     : 1.0000 mW / 0.00 dBm
	Laser rx power low warning threshold      : 0.0355 mW / -14.50 dBm

1. 基础信息

  • Identifier: 0x03 (SFP)
    表示这是一个 SFP+ 光模块,支持热插拔,符合 SFF-8431 标准。

  • Extended identifier: 0x04
    模块通过 2-wire 接口(如 I²C)定义参数,符合 SFF-8472 标准(支持数字诊断监控)。

  • Connector: 0x07 (LC)
    使用 LC 接口的光纤连接器,常见于数据中心和高密度布线环境。


2. 传输性能

  • Transceiver type: 10G Base-SR
    模块支持 10Gbps 速率,类型为 10G Base-SR(短距离多模光纤,通常支持 300 米)。

  • Encoding: 64B/66B
    采用 64B/66B 编码,这是 10G 以太网的标准编码方式。

  • Laser wavelength: 850nm
    使用 850nm 波长,属于多模光纤的典型波长(短距离传输)。


3. 传输距离

  • Length (50um): 80m
    支持 OM2 多模光纤(50μm 芯径)最大 80 米。
  • Length (OM3): 300m
    支持 OM3 多模光纤 最大 300 米(符合 10G Base-SR 标准)。
  • Length (SMF): 0m
    不支持单模光纤(SMF),需使用多模光纤。

4. 厂商与型号

  • Vendor: OEM-HW
    模块由 OEM-HW 生产(可能是代工品牌)。
  • Vendor PN: SFP+10G-MM850
    型号为 SFP+10G-MM850,表明是 10G 多模模块(850nm)。
  • Vendor SN: ANJ084V
    序列号 ANJ084V,用于追踪模块的生产和维修记录。
  • Date code: 210522
    生产日期为 2021 年第 5 周(较新模块)。

5. 诊断与状态

  • Optical diagnostics support: Yes
    模块支持 数字光学监控(DOM),可实时读取光功率、温度等参数。

  • 关键诊断数据

    • Laser output power: -4.46 dBm
      发射光功率正常(典型范围:-3dBm 至 -9dBm)。
    • Receiver signal power: -1.44 dBm
      接收光功率正常(典型范围:-23dBm 至 -3dBm),表明光纤链路质量良好。
    • Module temperature: 34.13°C
      当前温度正常(典型工作范围:0°C 至 70°C)。
    • Module voltage: 3.3546V
      电压正常(典型范围:3.1V 至 3.5V)。
  • Alarms & Warnings
    所有报警和警告标志均为 Off,表明模块运行正常,未触发任何异常阈值。


6. 报警阈值

  • 接收光功率(Laser rx power)
    • 低报警阈值: -15.50 dBm
    • 高报警阈值: 1.00 dBm
      当前接收功率为 -1.44 dBm,远高于低报警阈值,说明链路稳定。
  • 温度阈值
    • 高报警阈值: 75°C
      当前温度为 34.13°C,无过热风险。

潜在问题与建议

  1. 光纤类型匹配
    确保使用 OM3 多模光纤(长度 ≤ 300 米),避免使用单模光纤(SMF)。

  2. 清洁与维护
    定期检查 LC 连接器的清洁度,避免因污染导致光功率下降。

  3. 兼容性验证
    OEM-HW 是代工品牌,需确认模块与您的交换机/设备兼容(如 Cisco、Huawei 等厂商可能有白名单限制)。

  4. 温度监控
    若模块部署在高温环境(如机架顶部),建议加强散热。

此光模块为 10G Base-SR SFP+ 模块,支持短距离多模光纤(OM3 300 米),当前状态健康,无报警或警告。建议保持光纤链路清洁,并验证与设备的兼容性。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值