以华为5700系列交换机为例,查看光模块信息命令如下:
查看指定端口光模块的常规、制造、告警以及诊断信息。
displaytransceiverinterfacegigabitethernet0/0/1verbose
gigabitethernet0/0/1transceiverinformation:
-------------------------------------------------------------
Commoninformation:
TransceiverType :1000_BASE_SX_SFP
ConnectorType :LC
Wavelength(nm) :850
TransferDistance(m) :300(50um),150(62.5um)
DigitalDiagnosticMonitoring :YES
VendorName :SumitomoElectric
VendorPartNumber :HFBR-5710L
OrderingName :
-------------------------------------------------------------
Manufactureinformation:
Manu.SerialNumber :88K056C10353
ManufacturingDate :2008-08-08
VendorName :SumitomoElectric
-------------------------------------------------------------
Diagnosticinformation:
Temperature(°C) :26.00
TempHighThreshold(°C) :85.00
TempLow Threshold(°C) :-40.00
Voltage(V) :3.29
VoltHighThreshold(V) :3.64
VoltLow Threshold(V) :2.95
BiasCurrent(mA) :4.57
BiasHighThreshold(mA) :9.00
BiasLow Threshold(mA) :2.00
RXPower(dBM) :-40.00
RXPowerHighThreshold(dBM) :0.00
RXPowerLow Threshold(dBM) :-16.99
TXPower(dBM) :-5.03
TXPowerHighThreshold(dBM) :-2.22
TXPowerLow Threshold(dBM) :-6.99
-------------------------------------------------------------
其中:RXPower(dBM)
光模块接收功率。当接收功率为0瓦时,显示为-Inf。
RXPowerHighThreshold(dBM)
光模块接收功率上限。
RXPowerlowThreshold(dBM)
光模块接收功率下限。
TXPower(dBM)
光模块发送功率。当发送功率为0瓦时,显示为-Inf。
TXPowerHighThreshold(dBM)
光模块发送功率上限。
TXPowerLowThreshold(dBM)
光模块发送功率下限。
A: 交换机支持使用命令查看光模块型号及收发光功率。
- 使用命令displayinterface interface-typeinterface-number查看某光口插入的光模块的信息。
- 使用命令displaytransceiverdiagnosisinterface查看所有光口的收发光功率信息。
- 使用命令displaytransceiverdiagnosisinterface interface-typeinterface-number查看某光口的收发光功率信息。
例如:使用命令displaytransceiverdiagnosisinterfaceGigabitEthernet0/0/1查看到的信息如下:
PortGigabitEthernet0/0/1transceiverdiagnosticinformation: Parameter Current LowAlarm HighAlarm Type Value Threshold Threshold Status
------------- --------- --------- ---------- --------
TxPower(dBm) -4.83 -11.02 -2.00 normal
RxPower(dBm) NA -18.01 -1.00 NA
Current(mA) 6.38 2.00 14.00 normal
Temp.(C) 44.00 -20.00 90.00 normal
Voltage(V) 3.31 2.90 3.70 normal