To read transceiver (optics) data<\/strong> such as vendor name, part number, wavelength, or temperature from an NVIDIA ConnectX-7<\/strong> Ethernet adapter, you can use the <\/p>\n\n\n\n \ud83d\udd39 1. Using This shows detailed optics\/transceiver information:<\/p>\n\n\n\n To list available devices:<\/p>\n\n\n\n mst status<\/p>\n\n\n\n \ud83d\udd39 2. Using <\/p>\n\n\n\n Outputs (if supported):<\/p>\n\n\n\n Note:<\/strong> Some ConnectX-7 drivers (esp. for OSFP\/QSFP-DD) restrict access via \ud83d\udd39 3. Using <\/p>\n\n\n\n \ud83d\udd39 4. Example Output Snippet<\/strong><\/p>\n\n\n\n MediaInfo:<\/p>\n\n\n\n To read transceiver (optics) data such as vendor name, part number, wavelength, or temperature from an NVIDIA ConnectX-7 Ethernet adapter, you can use the mlxlink or mlxconfig tools from the Mellanox\/NVIDIA MLNX_OFED or NVIDIA Networking tools package. \ud83d\udd39 1. Using mlxlink (preferred for transceiver info) sudo mlxlink -d –port –show_media_info sudo mlxlink -d \/dev\/mst\/mt4125_pciconf0 –port […]<\/p>\n","protected":false},"author":29,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[1727,1730,1462,1732,1731,1729,1553,1733],"class_list":["post-2601","post","type-post","status-publish","format-standard","hentry","category-tips","tag-connectx-7","tag-ethtool","tag-linux","tag-mellanox","tag-mlxconfig","tag-mlxlink","tag-nvdia","tag-transceiver"],"_links":{"self":[{"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=\/wp\/v2\/posts\/2601","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2601"}],"version-history":[{"count":1,"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=\/wp\/v2\/posts\/2601\/revisions"}],"predecessor-version":[{"id":2602,"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=\/wp\/v2\/posts\/2601\/revisions\/2602"}],"wp:attachment":[{"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2601"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.yogindar.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}mlxlink<\/code><\/strong> or mlxconfig<\/code><\/strong> tools from the Mellanox\/NVIDIA MLNX_OFED<\/strong> or NVIDIA Networking tools<\/strong> package.<\/p>\n\n\n\nmlxlink<\/code> (preferred for transceiver info)<\/strong><\/p>\n\n\n\nsudo mlxlink -d --port --show_media_info<\/code><\/p>\n\n\n\nsudo mlxlink -d \/dev\/mst\/mt4125_pciconf0 --port 1 --show_media_info<\/code><\/p>\n\n\n\n\n
ethtool<\/code> (basic optics data for Ethernet interfaces)<\/strong><\/p>\n\n\n\nsudo ethtool -m<\/code><\/p>\n\n\n\nsudo ethtool -m ens5f0<\/code><\/p>\n\n\n\n\n
ethtool<\/code>, so mlxlink<\/code> gives fuller info.<\/p>\n\n\n\nmlxconfig<\/code> (for configuration and EEPROM access)<\/strong>sudo mlxconfig -d q<\/code><\/p>\n\n\n\nsudo mlxconfig -d -e<\/code><\/p>\n\n\n\nmlxconfig<\/code> is mostly for configuration (e.g., link speed, PCIe settings), not optics monitoring \u2014 use mlxlink<\/code> for that purpose.<\/p>\n\n\n\nModule: 400GBASE-DR4
Vendor: FINISAR CORP
Vendor PN: FTL410QE2C
Serial Number: FTL1234A0001
Temp: 36.23\u00b0C
Voltage: 3.31V
TX Power: 1.72 dBm
RX Power: 2.01 dBm<\/code><\/p>\n\n\n\n
<\/p>\n","protected":false},"excerpt":{"rendered":"