[action] [PR:3950] DOM for flat memory transceiver modules#4063
Merged
mssonicbld merged 1 commit intosonic-net:202505from Sep 19, 2025
Merged
[action] [PR:3950] DOM for flat memory transceiver modules#4063mssonicbld merged 1 commit intosonic-net:202505from
mssonicbld merged 1 commit intosonic-net:202505from
Conversation
<!--
Please make sure you've read and understood our contributing guidelines:
https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md
** Make sure all your commits include a signature generated with `git commit -s` **
If this is a bug fix, make sure your description includes "closes #xxxx",
"fixes #xxxx" or "resolves #xxxx" so that GitHub automatically closes the related
issue when the PR is merged.
If you are adding/modifying/removing any command or utility script, please also
make sure to add/modify/remove any unit tests from the tests
directory as appropriate.
If you are modifying or removing an existing 'show', 'config' or 'sonic-clear'
subcommand, or you are adding a new subcommand, please make sure you also
update the Command Line Reference Guide (doc/Command-Reference.md) to reflect
your changes.
Please provide the following information:
-->
#### What I did
Return DOM for flat memory modules if it's available.
#### How I did it
Removed the conditional which skipped returning DOM for flat memory modules when using `sfputil show eeprom -d -p <interface>` command.
#### How to verify it
Run `sfputil show eeprom -d -p <interface>` for a flat memory module.
#### Previous command output (if the output of a command-line utility has changed)
Previously, `sfputil show eeprom -d -p <interface>` for a flat memory module would have `DOM values not supported for flat memory module` in the end and no DOM would be printed.
#### New command output (if the output of a command-line utility has changed)
Now, the command returns the DOM for flat memory modules if it's available.
CLI output for a flat memory transceiver now:
```bash
admin@sonic:~$ show int trans eeprom -d Ethernet256
Ethernet256: SFP EEPROM detected
Application Advertisement: N/A
Connector: LC
Encoding: 64B/66B
Extended Identifier: GBIC/SFP defined by two-wire interface ID
Extended RateSelect Compliance: Unknown
Identifier: SFP/SFP+/SFP28
Length OM3(10m): 30.0
Nominal Bit Rate(100Mbs): 103
Specification compliance:
10G Ethernet Compliance: 10GBASE-SR
ESCON Compliance: Unknown
Ethernet Compliance: Unknown
Fibre Channel Link Length: Unknown
Fibre Channel Speed: Unknown
Fibre Channel Transmission Media: Unknown
Fibre Channel Transmitter Technology: Unknown
Infiniband Compliance: Unknown
SFP+CableTechnology: Unknown
SONET Compliance Codes: Unknown
Vendor Date Code(YYYY-MM-DD Lot): 2009-06-27
Vendor Name: FINISAR CORP.
Vendor OUI: 00-90-65
Vendor PN: FTLX8571D3BCL
Vendor Rev: A
Vendor SN: UFS073Z
MonitorData:
RXPower: -1.739dBm
TXBias: 7.054mA
TXPower: -2.865dBm
Temperature: 21.129C
Vcc: 3.375Volts
ThresholdData:
TempHighAlarm : 78.0C
TempHighWarning: 73.0C
TempLowAlarm : -13.0C
TempLowWarning : -8.0C
VccHighAlarm : 3.7Volts
VccHighWarning : 3.6Volts
VccLowAlarm : 2.9Volts
VccLowWarning : 3.0Volts
RxPowerHighAlarm : 0.0dBm
RxPowerHighWarning: -1.0dBm
RxPowerLowAlarm : -20.0dBm
RxPowerLowWarning : -18.013dBm
TxBiasHighAlarm : 11.8mA
TxBiasHighWarning : 10.8mA
TxBiasLowAlarm : 4.0mA
TxBiasLowWarning : 5.0mA
TxPowerHighAlarm : -0.8dBm
TxPowerHighWarning: -1.8dBm
TxPowerLowAlarm : -6.0dBm
TxPowerLowWarning : -5.0dBm
```
```bash
admin@sonic:~$ sudo sfputil show eeprom -d -p Ethernet256
Ethernet256: SFP EEPROM detected
Application Advertisement: N/A
Connector: LC
Encoding: 64B/66B
Extended Identifier: GBIC/SFP defined by two-wire interface ID
Extended RateSelect Compliance: Unknown
Identifier: SFP/SFP+/SFP28
Length OM3(10m): 30.0
Nominal Bit Rate(100Mbs): 103
Specification compliance:
10G Ethernet Compliance: 10GBASE-SR
ESCON Compliance: Unknown
Ethernet Compliance: Unknown
Fibre Channel Link Length: Unknown
Fibre Channel Speed: Unknown
Fibre Channel Transmission Media: Unknown
Fibre Channel Transmitter Technology: Unknown
Infiniband Compliance: Unknown
SFP+CableTechnology: Unknown
SONET Compliance Codes: Unknown
Vendor Date Code(YYYY-MM-DD Lot): 2009-06-27
Vendor Name: FINISAR CORP.
Vendor OUI: 00-90-65
Vendor PN: FTLX8571D3BCL
Vendor Rev: A
Vendor SN: UFS073Z
MonitorData:
RXPower: -1.785dBm
TXBias: 7.058mA
TXPower: -2.857dBm
Temperature: 21.301C
Vcc: 3.374Volts
ThresholdData:
TempHighAlarm : 78.0C
TempHighWarning: 73.0C
TempLowAlarm : -13.0C
TempLowWarning : -8.0C
VccHighAlarm : 3.7Volts
VccHighWarning : 3.6Volts
VccLowAlarm : 2.9Volts
VccLowWarning : 3.0Volts
RxPowerHighAlarm : 0.0dBm
RxPowerHighWarning: -1.0dBm
RxPowerLowAlarm : -20.0dBm
RxPowerLowWarning : -18.013dBm
TxBiasHighAlarm : 11.8mA
TxBiasHighWarning : 10.8mA
TxBiasLowAlarm : 4.0mA
TxBiasLowWarning : 5.0mA
TxPowerHighAlarm : -0.8dBm
TxPowerHighWarning: -1.8dBm
TxPowerLowAlarm : -6.0dBm
TxPowerLowWarning : -5.0dBm
```
CLI output for non-cmis DAC:
```
~$ sudo sfputil show eeprom -d -p Ethernet184
Ethernet184: SFP EEPROM detected
Application Advertisement: N/A
Connector: No separable connector
Encoding: 64B/66B
Extended Identifier: Power Class 1 Module (1.5W max.), No CLEI code present in Page 02h, No CDR in TX, No CDR in RX
Extended RateSelect Compliance: Unknown
Identifier: QSFP28 or later
Length Cable Assembly(m): 1.0
Nominal Bit Rate(100Mbs): 255
Specification compliance:
10/40G Ethernet Compliance Code: 40GBASE-CR4,Extended
Extended Specification Compliance: 100GBASE-CR4, 25GBASE-CR CA-25G-L or 50GBASE-CR2 with RS
Fibre Channel Link Length: Unknown
Fibre Channel Speed: Unknown
Fibre Channel Transmission Media: Unknown
Fibre Channel Transmitter Technology: Unknown
Gigabit Ethernet Compliant Codes: Unknown
SAS/SATA Compliance Codes: Unknown
SONET Compliance Codes: Unknown
Vendor Date Code(YYYY-MM-DD Lot): 2019-10-22
Vendor Name: Amphenol
Vendor OUI: 78-a7-14
Vendor PN: NDAAFF-0004
Vendor Rev: P
Vendor SN: APF19420041LAG
ChannelMonitorValues:
ChannelThresholdValues:
ModuleMonitorValues:
ModuleThresholdValues:
```
CLI output of CMIS DAC:
```
~$ sudo sfputil show eeprom -d -p Ethernet136
Ethernet136: SFP EEPROM detected
Active App Selection Host Lane 1: N/A
Active App Selection Host Lane 2: N/A
Active App Selection Host Lane 3: N/A
Active App Selection Host Lane 4: N/A
Active App Selection Host Lane 5: N/A
Active App Selection Host Lane 6: N/A
Active App Selection Host Lane 7: N/A
Active App Selection Host Lane 8: N/A
Application Advertisement: 400G CR8 - Host Assign (0x1) - Copper cable - Media Assign (Unknown)
CMIS Revision: 3.0
Connector: No separable connector
Encoding: N/A
Extended Identifier: Power Class 1 (0.5W Max)
Extended RateSelect Compliance: N/A
Hardware Revision: 0.0
Host Electrical Interface: N/A
Host Lane Assignment Options: 1
Host Lane Count: 8
Identifier: QSFP-DD Double Density 8X Pluggable Transceiver
Length Cable Assembly(m): 2.0
Media Interface Code: Copper cable
Media Interface Technology: Copper cable unequalized
Media Lane Assignment Options: N/A
Media Lane Count: 0
Nominal Bit Rate(100Mbs): N/A
Specification compliance: passive_copper_media_interface
Vendor Date Code(YYYY-MM-DD Lot): 2023-04-01
Vendor Name: DELL EMC
Vendor OUI: 3c-18-a0
Vendor PN: XR11M
Vendor Rev: A0
Vendor SN: VN0LXV0034166JD
ChannelMonitorValues:
ChannelThresholdValues:
ModuleMonitorValues:
ModuleThresholdValues:
```
Collaborator
Author
|
Original PR: #3950 |
Collaborator
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
kktheballer
pushed a commit
to kktheballer/sonic-utilities
that referenced
this pull request
Jan 14, 2026
```<br>* b1248a0 - (HEAD -> 202506) Merge branch '202505' of https://github.com/sonic-net/sonic-utilities into 202506 (2025-09-19) [Sonic Automation] * 661ac61 - (origin/202505) DOM for flat memory transceiver modules (sonic-net#4063) (2025-09-19) [mssonicbld]<br>```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What I did
Return DOM for flat memory modules if it's available.
How I did it
Removed the conditional which skipped returning DOM for flat memory modules when using
sfputil show eeprom -d -p <interface>command.How to verify it
Run
sfputil show eeprom -d -p <interface>for a flat memory module.Previous command output (if the output of a command-line utility has changed)
Previously,
sfputil show eeprom -d -p <interface>for a flat memory module would haveDOM values not supported for flat memory modulein the end and no DOM would be printed.New command output (if the output of a command-line utility has changed)
Now, the command returns the DOM for flat memory modules if it's available.
CLI output for a flat memory transceiver now:
CLI output for non-cmis DAC:
CLI output of CMIS DAC: