• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

真的急求各位大哥帮忙,关于变电站e1 f板卡的问题

  • 0关注
  • 1收藏,2165浏览
Lhs 零段
粉丝:0人 关注:0人

问题描述:

我在变电站帮他们调e1的电路,用的华三 msr3610,板卡是e1 f的板卡,现在链路没有问题,就是端口物理层和协议层都起不来,用命令fel unfraged物理层会起开,真的快急死了我,这是在一个串口下配置的,求求大家帮忙。。 IMG_20190429_215817.jpg

最佳答案

yuren 九段
粉丝:16人 关注:3人

看您这个串口跑的是以太网协议,这种一般用的是ppp协议。您确定一下您这个是ppp协议还是以太网协议。如果确定是以太网的话,建议打环测试。

2种经典打环测试方法            

 

一.问题描述:

经常遇到用户说路由器接好线缆后,两边不能通信;或者通信正常过一段时间,现在突然不能用了;另外就是网络时断时通。在遇到这种情况时,我们一般会先让用户看一下两端的2层封装协议是否相同(如:PPP HDLC)IP是否在同一网段,电信打环是否证明两端线路良好。这些做完后,如果没有问题,哪么我们接下来要做的就是打环来测试。也就是我们接下来要介绍的方法。这里介绍的是用PPP协议。

 

 

二.网络拓朴:

三.网络说明:

1XY都是路由器。

2AB是一般的协议转换器。在上面有一些打环的按钮。

3XA一般通过是V24V35线缆,

4AB一般是光纤,租用电信的,这一部分就是电信打环时能确认电信哪端线路是否是好用的。   注意:电信只会给你确认A—B段线路是否好的。

 

 

四.第一种方法(通过看InputOutput报文数量是否相等)

 

打环测试

第一步

1.在X端口上打环。

       [X-Serial2/1]loopback

2 <X>reset count interface

  [X]reset count interface

   过几十秒后

 

       <X>dis int s 2/1  

Serial2/1 current state :UP  

Line protocol current state :DOWN

Description :  Serial2/1 Interface

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

Internet Address is 192.168.2.2/24

Link layer protocol is PPP, loopback is detected 

LCP closed

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

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

Output queue : (FIFO queuing : Size/Length/Discards)  0/75/0

Physical layer is synchronous, Loopback,Baudrate is 64000 bps

Interface is DCE, Cable type is V35

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

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

    Input: 22 packets, 336 bytes   Input Output 的都相等。

           0 broadcasts, 0 multicasts

           0 errors, 0 runts, 0 giants

           0 CRC, 0 align errors, 0 overruns

           0 dribbles, 0 aborts, 0 no buffers

           0 frame errors

    Output:22 packets, 336 bytes

           0 errors, 0 underruns, 0 collisions

           0 deferred                    

DCD=UP  DTR=UP  DSR=UP  RTS=UP  CTS=UP 

 

结论:端口是好的。模块没有问题。

 

第二步

1.在A光电转换器上打本地环。

   过几十秒后

2.在端口上去掉打环。

       [X-Serial2/1]undo loopback

 

<X>dis int s 2/1  

Serial2/1 current state :UP  

Line protocol current state :DOWN

Description :  Serial2/1 Interface

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

Internet Address is 192.168.2.2/24

Link layer protocol is PPP, loopback is detected 

LCP closed

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

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

Output queue : (FIFO queuing : Size/Length/Discards)  0/75/0

Physical layer is synchronous, Loopback,Baudrate is 64000 bps

Interface is DCE, Cable type is V35

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

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

    Input: 55 packets, 840 bytes   Input Output 的都相等。

           0 broadcasts, 0 multicasts

           0 errors, 0 runts, 0 giants

           0 CRC, 0 align errors, 0 overruns

           0 dribbles, 0 aborts, 0 no buffers

           0 frame errors

    Output:55 packets, 840 bytes

           0 errors, 0 underruns, 0 collisions

           0 deferred                    

DCD=UP  DTR=UP  DSR=UP  RTS=UP  CTS=UP 

 

结论:从端口到A的本地线缆是好的。

 

第三步

1.在B光电转换器上打远程环。

   过几十秒后

      

2.在A光电转换器去掉打环。

<X>dis int s 2/1  

Serial2/1 current state :UP  

Line protocol current state :DOWN

Description :  Serial2/1 Interface

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

Internet Address is 192.168.2.2/24

Link layer protocol is PPP, loopback is detected 

LCP closed

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

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

Output queue : (FIFO queuing : Size/Length/Discards)  0/75/0

Physical layer is synchronous, Loopback,Baudrate is 64000 bps

Interface is DCE, Cable type is V35

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

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

    Input: 77 packets, 1176 bytes   Input Output 的都相等。

           0 broadcasts, 0 multicasts

           0 errors, 0 runts, 0 giants

           0 CRC, 0 align errors, 0 overruns

           0 dribbles, 0 aborts, 0 no buffers

           0 frame errors

    Output:77 packets, 1176 bytes

           0 errors, 0 underruns, 0 collisions

           0 deferred                    

DCD=UP  DTR=UP  DSR=UP  RTS=UP  CTS=UP 

 

结论:从端口到B的线缆是好的。

 

 

第四步

1.在B光电转换器去掉打环。

      

2Y上的。

[Y-Sierial2]loopback

 

   过几十秒后看X路由器

<X>dis int s 2/1  

Serial2/1 current state :UP  

Line protocol current state :DOWN

Description :  Serial2/1 Interface

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

Internet Address is 192.168.2.2/24

Link layer protocol is PPP, loopback is detected 

LCP closed

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

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

Output queue : (FIFO queuing : Size/Length/Discards)  0/75/0

Physical layer is synchronous, Loopback,Baudrate is 64000 bps

Interface is DCE, Cable type is V35

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

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

    Input: 99 packets, 1512 bytes   Input Output 的不相等。

           0 broadcasts, 0 multicasts

           0 errors, 0 runts, 0 giants

           0 CRC, 0 align errors, 0 overruns

           0 dribbles, 0 aborts, 0 no buffers

           0 frame errors

    Output:87 packets, 1480 bytes

           10 errors, 0 underruns, 0 collisions

           0 deferred                    

DCD=UP  DTR=UP  DSR=UP  RTS=UP  CTS=UP 

 

结论:说明路由器YB的线路有问题。

 

 

 

五.第二种方法(通过Debug PPP的报文来看接口输出的报文是否给接口的输入报文相同。)

<X>

<X>

<X>t m

% Current terminal monitor is on

 

<X>t d

% Current terminal debugging is on

 

<X>debu ppp lcp pack int  s 2/0

<X>

*0.1110711 X PPP/8/debug2:

  PPP Packet:

      Serial2/0 Output LCP(c021) Pkt, Len 18  ---à这是报文发出的方向

      State reqsent, code ConfReq(01), id 7c, len 14

      MRU(1), len 4, val 05dc 

      MagicNumber(5), len 6, val 001156e1 

*0.1110990 X PPP/8/debug2:

  PPP Packet:

      Serial2/0 Input  LCP(c021) Pkt, Len 18

      State reqsent, code ConfReq(01), id 7c, len 14  <---这是报文接收的方向

      MRU(1), len 4, val 05dc 

      MagicNumber(5), len 6, val 001156e1   可以看出红色部分的和绿色部分的完全相同,

*0.1111271 X PPP/8/debug2:            说明从接口发出的报文,完全给接口接收到了。证

  PPP Packet:                                   明没有丢包,这段打环是没有问题的。

      Serial2/0 Output LCP(c021) Pkt, Len 14

      State reqsent, code ConfNak(03), id 7c, len 10

      MagicNumber(5), len 6, val 0010f802 

*0.1111510 X PPP/8/debug2:

  PPP Packet:

      Serial2/0 Input  LCP(c021) Pkt, Len 14

      State reqsent, code ConfNak(03), id 7c, len 10

      MagicNumber(5), len 6, val 0010f802 

*0.1111750 X PPP/8/debug2:

  PPP Packet:

      Serial2/0 Output LCP(c021) Pkt, Len 18

      State reqsent, code ConfReq(01), id 7d, len 14

      MRU(1), len 4, val 05dc 

      MagicNumber(5), len 6, val 00111233 

*0.1112030 X PPP/8/debug2:

  PPP Packet:

      Serial2/0 Input  LCP(c021) Pkt, Len 18

      State reqsent, code ConfReq(01), id 7d, len 14

      MRU(1), len 4, val 05dc 

      MagicNumber(5), len 6, val 00111233 

 

 

接下来和上面的步骤一样,通过分段排除法,一步一步打环测过去,看哪一步有问题。这样就可以找出问题来。

 

 

 

后记:

1.  以上作的测试是以路由器版本为VRP3.30VRP3.40为基础的。

2.  对于模块为E1/CE1封装成PPP协议的同样适用。

3.  两种方法中,第一种简单易用,但第二种可以分析报文(只是复杂一些)

4.  对于版本为VRP1.74基本差不多。以下是VRP1.74的情况:

[RTD]

[RTD]int s 0

[RTD-Serial0]loop

[RTD-Serial0]

[RTD-Serial0]qui

[RTD]info enable

[RTD]info con deb

[RTD]

[RTD]debu ppp packet int s 0

[RTD]

[RTD]

Serial0

  PPP O LCP(c021) Pkt, Len 18           ---à这是报文发出的方向

  State starting, code ConfReq(01), id 1, len 14

  MRU(1), len 4, val 05dc

  MagicNumber(5), len 6, val 081b09b2

Serial0

  PPP I LCP(c021) Pkt, Len 18             <---这是报文接收的方向

  State reqsent, code ConfReq(01), id 1, len 14

  MRU(1), len 4, val 05dc

  MagicNumber(5), len 6, val 081b09b2

Serial0                                 可以看出红色部分的和绿色部分的完全相同,

  PPP O LCP(c021) Pkt, Len 14           说明从接口发出的报文,完全给接口接收到了。

  State reqsent, code ConfNak(03), id 1, len 10      证明没有丢包,这段打环是没有问题的。

  MagicNumber(5), len 6, val 6e925916

Serial0

  PPP I LCP(c021) Pkt, Len 14

  State reqsent, code ConfNak(03), id 1, len 10

  MagicNumber(5), len 6, val 6e925916

 

 

                                                                 

2005-7-22

暂无评论

2 个回答
Lhs 知了小白
粉丝:0人 关注:0人

真的求求大家咯

暂无评论

粉丝:0人 关注:0人

有也碰到这个调试,这个专线是有外部IP 地址吗,还是电话线路,有相关的配置文档吗

暂无评论

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明