Execute the following command to view detailed interface and optical module status: show interface <interface-type> <interface-number>Execute the following command to view detailed interface and optical module status: show interface <interface-type> <interface-number>When optical modules operate on a switch, it is usually necessary to read the module's internal information to understand its working status—such as connection status and real-time metrics like optical power and temperature. Additionally, identifying module information helps detect coding. This article provides instructions on how to view the Optical Module Status on your switch through the Command Line Interface (CLI). This document describes the configurations of Device Management, including device status query, hardware management, Stack, SVF, cloud-based management, PoE, monitoring interface, OPS, energy-saving management, information center, fault management, NTP, synchronous ethernet, PTP. This guide gives a practical, CLI-focused workflow for checking SFP health and diagnostics on Cisco switches, shows the exact commands you'll use. Taking the Huawei 5700 series switches as an example, the commands to view optical module information are as follows: Transceiver Type :1000_BASE_SX_SFP Connector Type :LC Wavelength(nm) :850 Transfer Distance(m) :300(50um),150(62. By checking module health, compatibility, and digital diagnostics, you can quickly confirm correct installation, detect optical problems, and maintain accurate hardware.