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> 
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)是否一样。如果一样,说明光模块是仿冒的、非华为定制的。

用两条命令看出你买的H3C光模块是否是正品的更多相关文章

  1. Django orm 中 python manage.py makemigrations 和 python manage.py migrate 这两条命令用途

    生成一个临时文件 python manage.py makemigrations 这时其实是在该app下建立 migrations目录,并记录下你所有的关于modes.py的改动,比如0001_ini ...

  2. supervisor的command执行两条命令

    如下supervisor的进程的comand配置参数只能写一个命令 1.要执行多条命令,可以写个sh文件包含多条命令,然后sh -x   xxxx.sh,但这样又多了一个文件, 2.把所有命令放在字符 ...

  3. mongodb安装的两条命令

    1. 安装 下载并安装,注意安装方式为custom,路径自定义(d:\chengxu\mongodb),安装成功后在mongodb文件夹下新建data文件夹(内新建db文件夹)和logs文件夹(内新建 ...

  4. 两条命令实现nodejs快速安装

    操作系统: debian, ubuntu, fedora 当前版本: v14.4.0 一键安装命令: curl -sL https://deb.nodesource.com/setup_14.x | ...

  5. 硬盘安装linux的两条命令

    kernel (hd0,0)/vmlinuz boot=casper iso-scan/filename=/ubuntu-10.04.1-desktop-i386.iso ro quiet splas ...

  6. mysql 备份和恢复的两条命令

    压缩备份: 1.mysqldump -h localhost -u root -p dbname | gzip > dbname.sql.gz 压缩恢复: 1.gunzip < dbnam ...

  7. 两条命令,实现ssh免密登陆

    ssh-keygenssh-copy-id -i 目标服务器ip

  8. 两条命令在Linux主机之间建立信任关系

    ssh-keygen -t rsa -P "" -f ~/.ssh/id_rsa //生成当前用户密钥 ssh-copy-id -i /root/.ssh/id_rsa.pub r ...

  9. H3C光模块相关命令和检测方法

    <Sysname>  dis transceiver interface GigabitEthernet 1/0/28  查看 GigabitEthernet1/0/28 transcei ...

随机推荐

  1. win10下用u盘装centos后如何修复win10引导

    相关参考: http://www.cnblogs.com/xiaoyao-lxy/p/5561728.html#wu

  2. 如何完全卸载 mysql 数据库

    有时候MySQL不能完全卸载,这时候必须通过一些途径删除掉注册表和一些残余的文件,然后才能重新安装才可以成功! 1.控制面板——>所有控制面板项——>程序和功能,卸载mysql serve ...

  3. the usage of String

    经典算法:(整理汇总) 1)如何快速倒叙: public static char[] reverseArray(char[] c){ char t; for(int i=0;i<c.length ...

  4. 一起来点React Native——常用组件之TextInput

    一.前言 文本输入框,相当于OC中的UITextField,在用法和属性方面,两者都有很大的借鉴之处:通过键盘将文本输入到应用程序的一个基本的组件: 二.TextInput的常见属性 因为TextIn ...

  5. 查看camera设备-linux

    前言 本文介绍如何在linux平台查看是否有camera外设. 操作过程 1.打开shell,输入以下命令: ls /dev/video* 即可查看是否有camera外设: 2.如果确实连接了came ...

  6. [LeetCode&Python] Problem 807. Max Increase to Keep City Skyline

    In a 2 dimensional array grid, each value grid[i][j] represents the height of a building located the ...

  7. C# Dictionary源码剖析

    参考:https://blog.csdn.net/exiaojiu/article/details/51252515 http://www.cnblogs.com/wangjun1234/p/3719 ...

  8. Appium笔记(一) 丶Appium的自我介绍

    一.我是谁,我的特点是什么 Appium是一款开源测试自动化框架,可用于原生.混合和移动Web应用程序.它使用WebDriver协议驱动iOS,Android和Windows应用程序.重要的是,App ...

  9. 二进制枚举 + 容斥定理(hdoj 4336 )

    hdoj 4336 http://acm.hdu.edu.cn/showproblem.php?pid=4336 这是一道关于概率与期望的问题,其中   期望 =  1 / 概率 容斥原理  P =  ...

  10. 常用css样式函数总结

    1:按钮样式 /*按钮*/ @mixin btn-style($btnwidth, $color, $bgcolor, $bdcolor) { width: $btnwidth; height: 30 ...