Viewing optical port and optical module information in Linux

You can view optical module information on Linux using the ethtool command to check port status, transceiver type, and diagnostic data.Checking Network Port StatusTo see the link status and configurat...

Viewing optical port and optical module information in Linux

You can view optical module information on Linux using the ethtool command to check port status, transceiver type, and diagnostic data.

Checking Network Port Status

To see the link status and configuration of a network interface:

ethtool <devname>

  • <devname> is the network interface name (e.g., eth0, swp1, p4p1).
  • This command displays link speed, duplex mode, port type (FIBRE), auto-negotiation status, and whether the link is detected .
  • You can list all interfaces using ip link or ifconfig. Example output snippet:

Speed: 10000Mb/sDuplex: FullPort: FIBRELink detected: yesAuto-negotiation: on

Viewing Transceiver Identification and Diagnostics

To query the optical module (SFP/QSFP) for detailed information:

ethtool -m <devname>

  • This command retrieves module type, vendor, serial number, wavelength, and Digital Diagnostic Monitoring (DDM) data such as Tx/Rx optical power, temperature, and voltage .
  • Not all network cards support this command; if unsupported, the output may be empty or show an error. For more detailed module info, some systems support:

ethtool --module-info <devname>

  • This provides module-specific pages and I²C data if the driver supports it .

Checking Loaded Kernel Modules

To see which drivers or kernel modules are loaded for network interfaces:

lsmod

  • Lists all currently loaded kernel modules.
  • To get detailed information about a specific module:

modinfo <module_name>

  • Displays module version, dependencies, and supported devices .

Summary

  1. Port status: ethtool <devname>
  2. Transceiver details & DDM: ethtool -m <devname> or ethtool --module-info <devname>
  3. Kernel modules: lsmod and modinfo <module_name> These commands allow you to monitor and troubleshoot optical modules on Linux, ensuring proper link operation and verifying transceiver health and specifications .
Factory
Feb 25, 2026

Viewing the optical module on Linux

This guide introduces how to read optical module information when it is installed on a network card in a Linux system. It takes the

Factory
Feb 09, 2026

How to check SFP Module transceiver, Vendor name & power check

To check the details of an SFP module in Red Hat Enterprise Linux (RHEL), you can use the ethtool command. Use the following

Factory
May 23, 2026

Monitoring Interfaces and Transceivers with ethtool | Cumulus Linux 5.9

You can view this information when you run cl-netstat, ifconfig, or cat /proc/net/dev. You can also run sudo cl-netstat -c to save or

Factory
Jun 06, 2026

RHEL 6 ethtool does not show SFP laser optical diagnostics

Our Juniper switch shows SFP laser diagnostics like: > show interfaces diagnostics optics ge-7/3/0 Physical interface: ge-7/3/0 Laser

Factory
Feb 10, 2026

Monitoring Interfaces and Transceivers Using ethtool

Monitor Switch Port SFP/QSFP Hardware Information Using ethtool To see hardware capabilities and measurement information on

Factory
Nov 02, 2025

Viewing optical modules in Linux

Learn everything about monitoring & troubleshooting Optical Modules, what metrics are important to monitor and why, and how to

Factory
May 07, 2026

view optical media and optical drive information in CLI

I have an optical media in an optical drive in a remote headless server. Is it possible to view: 1) optical media capabilities (is it a CD

Factory
Jun 15, 2026

Obtainining info on the optical drive in a CentOS Linux system

I can see from the value of "1" for "DVD-R" that the device can write to DVD-R discs. If you have the cd-drive tool on

Factory
Aug 24, 2025

Viewing optical modules in Linux

For optical modules used on switches, we read their information via brand- specific terminal commands. This example uses the

Power Grid Optical Insights

Need Reliable Optical Solutions for Power Grids?

Contact us for OPGW, ADSS, hardware, and communication systems – we respond within 24 hours.