技术文档
当前位置:技术文档

交换机端口类问题排查方法

来源:未知 时间:2022-09-14 09:27
 

       现象描述端口不能正常Up。与其他产品对接出现一端Up,一端Down。没有接线,端口指示灯一直常亮。端口Up一段时间又会Down掉,不稳定。可能原因本端和对端端口配置不正确。Combo端口的光电模式设置不正确。端口故障。操作步骤检查本端和对端端口配置是否正确。正确的端口配置才能保证端口正常Up,判断对接两端端口的速率、双工、协商模式是否一致,两端工作模式必须一致,如果两端工作模式一端自协商一端强制,则强制端Up、自协商端Down;如果不一致请配置一致。如下命令为查询本端端口的配置。[sysname-GigabitEthernet0/0/1] display this interface

  GigabitEthernet0/0/1 current state : UP

  Line protocol current state : DOWN

  Description : Huawei, sysname, GigabitEthernet0/0/1 Interface, Route Port

  The Maximum Transmit Unit is 1500 bytes, Hold timer is 10(sec)

  Internet protocol processing : disabled

  IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 4862-7605-5209

  Media type is twisted pair, loopback not set, promiscuous mode not set

  1000Mb/s-speed mode, full-duplex mode, link type is auto negotiation

  QoS max-bandwidth : 1000000 Kbps

  如果设备为Combo口,请正确设置端口为电口或者光口。Combo口为光电互斥口,两个端口同时只能使用一个,设置为电口只能作为电口使用,设置为光口只能作为光口使用。通过如下方式判断端口是否故障。若端口故障则需要根据端口位置更换插卡或者整机。

  使用此端口出现故障,更换到其他端口观察现象描述是否仍然存在,如果故障消失,说明原端口异常。同一台设备的两个端口对接是否两个端口也不能正常UP,如果不能正常UP,说明原端口异常。针对有问题的端口,使用自环命令进行测试,测试是否PASS,若测试失败则该端口异常。测试通过显示内容为:[sysname-diagnose] test loopback interface 0 0 1 1500 1000 254

  sysname %%01PHY/2/STATUSUP(l): GigabitEthernet0/0/1 changed status toup.

  Test ......

  Interface testing succeeded.

  sysname %%01PHY/2/STATUSDOWN(l): GigabitEthernet0/0/1 changed status to down.

  测试失败显示内容为:[sysname-diagnose] test loopback interface 0 0 1 1500 1000 254

  Test .....

  Interface testing failed.

  如果端口存在FCS计数错误,若网线接触良好或者更换新网线后依旧存在FCS计数错误,说明原端口异常。[sysname] display interface GigabitEthernet0/0/1

  GigabitEthernet0/0/1 current state : DOWN

  Line protocol current state : DOWN

  Description : Huawei, sysname, GigabitEthernet0/0/1 Interface, Route Port

  The Maximum Transmit Unit is 1500 bytes, Hold timer is 10(sec)

  Internet protocol processing : disabled

  IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 8038-bc12-484d

  Media type is twisted pair, loopback not set, promiscuous mode not set

  Unknown-speed mode, unknown-duplex mode, link type is auto negotiation

  QoS max-bandwidth : 1000000 Kbps

  Output queue : (Urgent queue : Size/Length/Discards) 0/50/0

  Output queue : (Frag queue : Size/Length/Discards) 0/1000/0

  Output queue : (Protocol queue : Size/Length/Discards) 0/1000/0

  Output queue : (FIFO queue : Size/Length/Discards) 0/256/0

  Last 300 seconds input rate 0 bytes/sec, 0 packets/sec

  Last 300 seconds output rate 0 bytes/sec, 0 packets/sec

  Input: 0 packets, 0 bytes

  0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses

  0 overruns, 0 runts, * jumbos, 0 FCS errors

  * length errors, 0 code errors, * align errors

  0 fragment errors, 0 giants, 0 jabber errors

  * dribble condition detected, * other errors

  Output: 0 packets, 0 bytes

  0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses

  0 underruns, * runts, * jumbos, * FCS errors

  * fragment errors, 0 giants, * jabber errors

  0 collisions, 0 late collisions

  0 ex. collisions, 0 deferred, 0 other errors


上一篇:华为双机热备状态常见状态注解
下一篇:华为防火墙特征库升级失败的解决方法
蜀ICP备2020034250号-1   川公网安备 51010802000119号 keywords:成都H3C 成都H3C

售前客服

售前客服

电话:028-83252151

传真:028-85259033

咨询热线:15378180513
在线客服