博猪很懒,半年都没写几篇像样的技术文章,今天抽风,汇总一下不同厂家设备的端口收发光命令吧,工程上经常用到,也经常容易忘记,备忘。
本文记录的设备型号有:cisco CRS、7609、Nexus7K、华为NE5000E、9312、8512、H3C 12508、中兴8905、Juniper EX8208、上海贝尔(阿尔卡特)OS10K、SR7750。
型号:思科CRS-1 系统版本:IOS XR , Version 4.0.4
CRS-1#show controllers SONET 0/0/1/0
<…>
Optical Power Monitoring (accuracy: +/- 1dB)
Rx power = 0.0828 mW, -10.8 dBm
Tx power = 1.0288 mW, 0.1 dBm
Tx laser current bias = 68.3 mA
!<---------POS口
CRS-1#show hw-module subslot 0/10/0 status pluggable-optics 0
SPA 0/10/0 device pluggable-optics 0/0 info:
int Tengige/10/0/0:
State: Enabled
Environmental Information - raw values
Temperature: 8602
Tx voltage: 0 in units of 100uVolt
Tx bias: 63000 uA
Tx power: 0 dBm (10180 in units of 0.1 uW)
Rx power: -9 dBm (1126 in units of 0.1 uW)
(AUX1) +3.3V Supply Voltage: 32324
!<---------GE口
型号:思科7609
7609#show interfaces te1/1 transceiver
Optical Optical
Temperature Voltage Current Tx Power Rx Power
Port (Celsius) (Volts) (mA) (dBm) (dBm)
---------- ----------- ------- -------- -------- --------
Te1/1 40.3 N/A 83.6 -- 1.9 -14.3
型号:思科Nexus7010
N7K#show interface e3/1 transceiver details
SFP Detail Diagnostics Information (internal calibration)
----------------------------------------------------------------------------
Current Alarms Warnings
Measurement High Low High Low
----------------------------------------------------------------------------
Temperature 24.08 C 90.00 C -10.00 C 85.00 C -5.00 C
Voltage 3.27 V 3.59 V 3.00 V 3.50 V 3.09 V
Current 6.79 mA 15.00 mA 1.00 mA 12.00 mA 2.00 mA
Tx Power 15.03 dBm 20.00 dBm 6.50 dBm 17.00 dBm 10.49 dBm
Rx Power 12.35 dBm 23.00 dBm -1.02 dBm 20.00 dBm 3.01 dBm
型号:华为NE5000E
NE5000E#display interface pos 1/6/0/0
<…>
Rx Optical Power: -3.62dBm, Tx Optical Power: -2.25dBm
Physical layer is Packet Over SDH
Scramble enabled, clock master, CRC-32, loopback: none
Flag J0 "NetEngine "
Flag J1 "NetEngine "
Flag C2 22(0x16)
SDH alarm:
section layer: none
line layer: none
path layer: none
SDH error:
section layer: B1 0
line layer: B2 0 REI 0
path layer: B3 0 REI 0
<…>
!<---------POS口
NE5000E#display interface gi1/8/0/1
<..>
WaveLength: 1310nm, Transmission Distance: 10km
Rx Optical Power: -5.06dBm, Tx Optical Power: -2.01dBm
Loopback:none, LAN full-duplex mode, Pause Flowcontrol:Receive Enable and Send Enable
<..>
!<-------GE口
型号:华为9312
S9312#display transceiver interface XGigabitEthernet 1/1/0/0 verbose
<…>
-------------------------------------------------------------
Diagnostic information:
Temperature(¡ãC) :35
Voltage(V) :3.31
Bias Current(mA) :6.52
Bias High Threshold(mA) :10.00
Bias Low Threshold(mA) :2.60
Current Rx Power(dBM) :-3.12
Default Rx Power High Threshold(dBM) :1.50
Default Rx Power Low Threshold(dBM) :-14.00
Current Tx Power(dBM) :-2.10
Default Tx Power High Threshold(dBM) :-1.00
Default Tx Power Low Threshold(dBM) :-8.00
User Set Rx Power High Threshold(dBM) :1.50
User Set Rx Power Low Threshold(dBM) :-14.00
User Set Tx Power High Threshold(dBM) :-1.00
User Set Tx Power Low Threshold(dBM) :-8.00
-------------------------------------------------------------
型号:华为8512
S8512#display fiber-module GigabitEthernet 0/1/1
GigabitEthernet0/1/1 transceiver information:
Transceiver Type : 10G_LR_SM_LC
Connector Type : LC
Wavelength(nm) : 1310
Transfer Distance : 10km(SMF)
Digital Diagnostic Monitoring : YES
Vendor Name : FINISAR CORP.
TX Power : -2.0dBM
RX Power : -2.5dBM
型号:H3C 12508
H3C12508#display transceiver diagnosis interface te3/0/1
Ten-GigabitEthernet3/0/1 transceiver diagnostic information:
Current diagnostic parameters:
Temp.(°C) Voltage(V) Bias(mA) RX power(dBM) TX power(dBM)
30 3.36 30.10 -1.45 -2.01
型号:Juniper EX8208
EX8208>show interfaces diagnostics optics xe-0/0/1
Physical interface: xe-0/0/1
Laser bias current : 37.996 mA
Laser output power : 0.6900 mW / -1.61 dBm
Module temperature : 30 degrees C / 86 degrees F
Module voltage : 3.2990 V
Receiver signal average optical power : 0.5150 mW / -2.88 dBm
<…>
型号:中兴8905 系统版本:V3.00.02.B10
ZXR10(config)#interface xgei-0/1/0/2
ZXR10(config-if)#optical-inform monitor enable
ZXR10#show optical-inform brief interface xgei-0/1/0/2
If device is externally calibrated, only calibrated values are printed.
-Inf: not applicable, Tx: transmit, Rx: receive.
Optical Optical
Interface Temperature Voltage Voltage Current Tx Power Rx Power
Name (Celsius) (3.3 Volts)(5 Volts) (mA) (dBm) (dBm)
--------------------------------------------------------------------------------
xgei-0/1/0/2 33.20 3.27 N/A 54.01 1.87 -10.72
型号:上海贝尔Omniswitch 10K
OS10K>interfaces ddm enable
OS10K>show interfaces port 3/1 ddm
Slot/ Thres- Temp Voltage Tx Bias Output Input
Port hold (C) (V) (mA) (dBm) (dBm)
----------+--------+----------+------------+------------+------------+------------
3/1 Actual 21.0 3.258 4.136 -5.969 -6.719
A-High 100.0 3.600 40.000 1.000 3.486
W-High 90.0 3.500 30.000 0.000 2.486
W-Low 0.0 3.100 1.000 -9.500 -12.518
A-Low -5.0 3.000 0.500 -10.501 -13.516
型号:阿尔卡特(贝尔)SR 7750
SR7750#show port 1/1/1 detail | match DDM post-lines 10
Last Cleared Time : 10/25/2012 15:54:54 DDM Events : Enabled
Configured Mode : network Encap Type : null
Dot1Q Ethertype : 0x8100 QinQ Ethertype : 0x8100
PBB Ethertype : 0x88e7
Ing. Pool % Rate : 100 Egr. Pool % Rate : 100
Ing. Pool Policy : n/a
Egr. Pool Policy : n/a
Net. Egr. Queue Pol: default
Egr. Sched. Pol : n/a
Auto-negotiate : N/A MDI/MDX : N/A
Transceiver Digital Diagnostic Monitoring (DDM)
===============================================================================
Value High Alarm High Warn Low Warn Low Alarm
-------------------------------------------------------------------------------
Temperature (C) +28.8 +83.0 +80.0 -10.0 -13.0
Tx Bias Current (mA) 37.9 80.0 75.0 20.0 15.0
Tx Output Power (dBm) -1.97 1.50 1.00 -6.00 -7.00
Rx Optical Power (avg dBm) -3.11 2.50 2.00 -18.01 -20.00
Aux1: 3.3 Voltage (V) 3.29 3.63 3.50 3.10 3.00
===============================================================================