用两条命令看出你买的H3C光模块是否是正品

display transceiver manuinfo interface
display transceiver interface
从下文可以看出

1/0/26
1/0/27
2/0/26
三个端口的光模块是假货!!! 
<1>display transceiver manuinfo interface
GigabitEthernet1/0/25 transceiver manufacture information:
  Manu. Serial Number : 210231A563X09A003831
  Manufacturing Date  : 2009-10-14
  Vendor Name         : H3C
GigabitEthernet1/0/26 transceiver manufacture information:
Error: The transceiver does not support this function.
 
GigabitEthernet1/0/27 transceiver manufacture information:
Error: The transceiver does not support this function.
 
GigabitEthernet1/0/28 transceiver manufacture information:
  Manu. Serial Number : 210231a562x089003814
  Manufacturing Date  : 2008-09-13
  Vendor Name         : H3C
GigabitEthernet2/0/25 transceiver manufacture information:
  Manu. Serial Number : 210231a562x089003894
  Manufacturing Date  : 2008-09-13
  Vendor Name         : H3C
GigabitEthernet2/0/26 transceiver manufacture information:
Error: The transceiver does not support this function.
 
GigabitEthernet2/0/27 transceiver manufacture information:
  Manu. Serial Number : 210231A563X09A003831
  Manufacturing Date  : 2009-10-14
  Vendor Name         : H3C
GigabitEthernet2/0/28 transceiver manufacture information:
  Manu. Serial Number : 210231a562x089004152
  Manufacturing Date  : 2008-09-13
  Vendor Name         : H3C
<1>display transceiver interface
GigabitEthernet1/0/25 transceiver information:
  Transceiver Type              : 1000_BASE_LX_SFP
  Connector Type                : LC
  Wavelength(nm)                : 1310
  Transfer Distance(km)         : 20(9um)
  Digital Diagnostic Monitoring : YES
  Vendor Name                   : H3C
  Ordering Name                 : SFP-GE-LX-SM1310-A
GigabitEthernet1/0/26 transceiver information:
  Transceiver Type              : 1000_BASE_SX_SFP
  Connector Type                : LC
  Wavelength(nm)                : 850
  Transfer Distance(m)          : 550(50um),270(62.5um)
  Digital Diagnostic Monitoring : YES
  Vendor Name                   : H 3 C
GigabitEthernet1/0/27 transceiver information:
  Transceiver Type              : 1000_BASE_SX_SFP
  Connector Type                : LC
  Wavelength(nm)                : 850
  Transfer Distance(m)          : 550(50um),270(62.5um)
  Digital Diagnostic Monitoring : YES
  Vendor Name                   : H 3 C
GigabitEthernet1/0/28 transceiver information:
  Transceiver Type              : 1000_BASE_SX_SFP
  Connector Type                : LC
  Wavelength(nm)                : 850
  Transfer Distance(m)          : 550(50um),270(62.5um)
  Digital Diagnostic Monitoring : YES
  Vendor Name                   : H3C
GigabitEthernet2/0/25 transceiver information:
  Transceiver Type              : 1000_BASE_SX_SFP
  Connector Type                : LC
  Wavelength(nm)                : 850
  Transfer Distance(m)          : 550(50um),270(62.5um)
  Digital Diagnostic Monitoring : YES
  Vendor Name                   : H3C
GigabitEthernet2/0/26 transceiver information:
  Transceiver Type              : 1000_BASE_SX_SFP
  Connector Type                : LC
  Wavelength(nm)                : 850
  Transfer Distance(m)          : 550(50um)
  Digital Diagnostic Monitoring : YES
  Vendor Name                   : H3C.
GigabitEthernet2/0/27 transceiver information:
  Transceiver Type              : 1000_BASE_LX_SFP
  Connector Type                : LC
  Wavelength(nm)                : 1310
  Transfer Distance(km)         : 20(9um)
  Digital Diagnostic Monitoring : YES
  Vendor Name                   : H3C
  Ordering Name                 : SFP-GE-LX-SM1310-A
GigabitEthernet2/0/28 transceiver information:
  Transceiver Type              : 1000_BASE_SX_SFP
  Connector Type                : LC
  Wavelength(nm)                : 850
  Transfer Distance(m)          : 550(50um),270(62.5um)
  Digital Diagnostic Monitoring : YES
  Vendor Name                   : H3C

查看光衰,看光纤是否正常工作
 查看光功率
dis transceiver diagnosis int t1/0/49
 s5560 光功率范围值
-14.4  到   0.5
s5500 光功率范围值
-8.2   到   0.5 
图片 
 
如何判断光模块是否是华为认证的光模块?
我们可以通过以下步骤来判断光模块是否是华为定制的:
1、华为定制光模块的标签上都有“HUAWEI”字样的标签,无该标签的为非华为定制光模块。

<ignore_js_op>华为1.png 
2、使用display transceiver命令查看光模块信息,如果显示厂商Vendor Name不是“HUAWEI”,那么该光模块不是华为定制光模块。
3、查看是否存在非定制光模块告警
          用户视图下,执行命令terminal monitor命令开启终端信息显示功能;系统视图下,执行命令undo transceiver phony-alarm-disable打开非定制光模块告警开关。
          如果光模块是非定制光模块,则从插入开始,按照阶梯时间发送Trap告警。间隔分别为:10分钟,1个小时,5个小时,最终达到24个小时告警一次。最差的情况,24小时内会告警一次。Trap信息如下(可通过display trapbuffer命令查看):  
           BASETRAP/1/ENTITYINVALID: OID[ 1.3.6.1.4.1.2011.5.25.129.2.1.9 ] Physical  entity failed. (EntityPhysicalIndex=70107918, BaseTrapSeverity=6, BaseTrapProbableCause=136192, BaseTrapEventType=5, EntPhysicalContainedIn=69992457, EntPhysicalName="GigabitEthernet11/0/12", RelativeResource="", ReasonDescription="It has been observed that a transceiver has been installed that is not certified by Huawei Ethernet Switch. Huawei cannot ensure that it is completely adaptive and will not cause any adverse effects. If it is continued to be used, Huawei is not obligated to provide support to remedy defects or faults arising out of or resulting from installing and using of the non-certified transceiver.“)
     或者
ENTITYTRAP/3/OPTICALINVALID:OID [1.3.6.1.4.1.2011.5.25.219.2.4.5] Optical Module is invalid.(Index=[INTEGER], EntityPhysicalIndex=[INTEGER], PhysicalName="[OCTET]", EntityTrapFaultID=[136192])
4、对于某些造假、仿冒的光模块,它们的信息往往是批量复制的,这些光模块的序列号往往都一样。因此,可以使用display transceiver命令观察批量光模块信息,看它们的序列号(Manu. Serial Number)是否一样。如果一样,说明光模块是仿冒的、非华为定制的。
原文地址:https://www.cnblogs.com/itfat/p/7267586.html