ethtool -m ens2f0 output is not giving complete details on sfp module

Latest response

Team,

Could you please guide me to get complete output for ethtool -m <i/f name>, is there anyway we can get the complete ethtool -m o/p similar to centos?

RHOCP core os:
[core@master-0 ~]$ sudo ethtool -m ens34f0
Offset Values
------ ------
0x0000: 03 04 07 10 00 00 00 40 40 0c 00 06 67 00 00 00
0x0010: 08 03 00 1e 46 49 4e 49 53 41 52 20 43 4f 52 50
0x0020: 2e 20 20 20 00 00 90 65 46 54 4c 58 38 35 37 33
0x0030: 44 33 42 54 4c 20 20 20 41 20 20 20 03 52 00 e7
0x0040: 00 1a 00 00 41 33 38 41 5a 4c 48 20 20 20 20 20
0x0050: 20 20 20 20 32 30 30 32 32 36 20 20 68 f0 03 dc
0x0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[core@master-0 ~]$

Centos:

[root@centos7 ~]# tar -cvf sfpmon.tar.gz2 sfpmon/
sfpmon/
sfpmon/sfpmon.sh
[root@centos7 ~]# ethtool -m enp81s0f3
Identifier : 0x03 (SFP)
Extended identifier : 0x04 (GBIC/SFP defined by 2-wire interface ID)
Connector : 0x07 (LC)
Transceiver codes : 0x20 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Transceiver type : 10G Ethernet: 10G Base-LR
Encoding : 0x06 (64B/66B)
BR, Nominal : 10300MBd
Rate identifier : 0x00 (unspecified)
Length (SMF,km) : 10km
Length (SMF) : 10000m
Length (50um) : 0m
Length (62.5um) : 0m
Length (Copper) : 0m
Length (OM3) : 0m
Laser wavelength : 1310nm
Vendor name : FINISAR CORP.
Vendor OUI : 00:90:65
Vendor PN : FTLX1475D3BTL
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 : N9HARMM
Date code : 230507
Optical diagnostics support : Yes
Laser bias current : 34.356 mA
Laser output power : 0.5827 mW / -2.35 dBm
Receiver signal average optical power : 0.6125 mW / -2.13 dBm
Module temperature : 38.30 degrees C / 100.93 degrees F
Module voltage : 3.3220 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 : 110.000 mA
Laser bias current low alarm threshold : 1.000 mA
Laser bias current high warning threshold : 100.000 mA
Laser bias current low warning threshold : 3.000 mA
Laser output power high alarm threshold : 1.5849 mW / 2.00 dBm
Laser output power low alarm threshold : 0.1585 mW / -8.00 dBm
Laser output power high warning threshold : 1.2589 mW / 1.00 dBm
Laser output power low warning threshold : 0.1995 mW / -7.00 dBm
Module temperature high alarm threshold : 95.00 degrees C / 203.00 degrees F
Module temperature low alarm threshold : -50.00 degrees C / -58.00 degrees F
Module temperature high warning threshold : 93.00 degrees C / 199.40 degrees F
Module temperature low warning threshold : -48.00 degrees C / -54.40 degrees F
Module voltage high alarm threshold : 3.8000 V
Module voltage low alarm threshold : 2.8000 V
Module voltage high warning threshold : 3.6000 V
Module voltage low warning threshold : 3.0000 V
Laser rx power high alarm threshold : 1.4125 mW / 1.50 dBm
Laser rx power low alarm threshold : 0.0079 mW / -21.02 dBm
Laser rx power high warning threshold : 1.2589 mW / 1.00 dBm
Laser rx power low warning threshold : 0.0126 mW / -19.00 dBm
[root@centos7 ~]#

Responses