端口光电口转换和光功率查看命令 (思科 锐捷 华为 华三)

汇总一下常用厂家设备的端口光电口转换和光功率查看命令 ,备忘!
各厂商光电口转换命令:
华为:

sy
int g1/x/x
combo-port fiber  //强制成光口
combo-port copper //强制成电口
#

华三:

combo enable fiber  //强制成光口
combo enable copper  //强制成电口

锐捷:

en
conf t
int g0/x
med copper   //强制成电口
med fiber     //强制成光口

思科:

en
conf t
int g1/x/x
medium-type auto     //自动
medium-type copper   //电口
medium-type fiber    //光口

各厂商光功率查看命令:

华三:

  dis transceiver interface GigabitEthernet */*/*  查看

GigabitEthernet1/0/28 transceiver information:
Transceiver Type : 1000_BASE_LX_SFP
Connector Type : LC
Wavelength(nm) : 1310
Transfer Distance(km) : 1(9um)
Digital Diagnostic Monitoring : YES
Vendor Name : H3C
Ordering Name : SFP-GE-LX-SM1310-A


  dis transceiver interface GigabitEthernet */*/*  (无模块)
Error: The port has no transceiver information.

 display transceiver diagnosis interface GigabitEthernet 1/0/28
GigabitEthernet1/0/28 transceiver diagnostic information:
Current diagnostic parameters:
Temp.(°C) Voltage(V) Bias(mA) RX power(dBm) TX power(dBm)
45 3.31 8.59 -11.24 -5.68


display transceiver diagnosis interface GigabitEthernet 1/0/29 (无模块)
Error: The port has no transceiver information.

思科(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   
 

华为:

使用命令display interface interface-type interface-number查看某光口插入的光模块的信息;

使用命令display transceiver diagnosis interface查看所有光口的收发光功率信息;

使用命令display transceiver diagnosis interface interface-type interface-number查看某光口的收发光功率信息

锐捷:

Ruijie#show interfaces [interface-id] transceiver //显示指定接口的光模块基本信息

Ruijie# show interfaces [interface-id] transceiver alarm  //显示指定接口的光模块当前故障告警信息,当没有故障时显示“None”。

Ruijie# show interfaces [interface-id] transceiver diagnosis  //显示指定接口的光模块诊断参数的当前测量值


 运维

 

你可能感兴趣的:(网络,光电复用切换)