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

V7路由器PPP/HPLC接口自环测试方法

2020-02-07 发表
  • 0关注
  • 1收藏 2805浏览
罗燕 九段
粉丝:15人 关注:4人

组网及说明

日常网络环境中经常遇到POS接口对接起不来的情况,自环测试是常见的基础排查手段。

配置步骤

#                                                                              

interface Pos1/3/2/1                                                           

 loopback local                                                                 

 link-protocol hdlc                                                             

 timer-hold 0         // timer-hold 0用于不自动发协议报文                                                         

 ip address 2.2.2.2 255.255.255.0                                               

#      

<88x>reset counters interface p1/3/2/1      //ping之前清除接口计数                                   

<88x>                                                                           

<88x>dis int p1/3/2/1                                                           

Pos1/3/2/1                                                                     

Current state: UP                                                              

Line protocol state: UP                                                        

Description: Pos1/3/2/1 Interface                                              

Bandwidth: 155520kbps                                                          

Maximum Transmit Unit: 1500                                                    

Hold timer: 0 seconds                                                          

Internet Address is 2.2.2.2/24 Primary                                         

Link layer protocol: HDLC                                                       

Port priority: 0                                                               

Last clearing of counters: 17:27:04 Wed 06/01/2016                             

Port connector type is No connector                                             

Physical layer is packet over SDH                                              

Port speed type: STM-1                                                         

Loopback is local                                                               

FCS: 32-bit CRC                                                                

Clock source: Slave                                                            

Clock grade: LNC(G.812 SSU-B)                                                   

SPE scrambling: Enable                                                         

BER thresholds:                                                                

    SD: 10e-6    SF: 10e-4                                                     

Regenerator section layer:                                                     

    J0(TX): "SR8800"                                                           

            53 52 38 38 30 30 00 00 00 00 00 00 00 00 00 00                    

    J0(RX): "SR8800"                                                           

            53 52 38 38 30 30 00 00 00 00 00 00 00 00 00 00                    

    Alarm: None                                                                

    Error: 0 BIP(B1)                                                           

Multiplex section layer:                                                       

    Alarm: None                                                                

    Error: 0 BIP(B2), 0 REI(M1)                                                

Higher order path layer:                                                       

    C2(TX): 0x16    C2(RX): 0x16                                               

    J1(TX): "SR8800"                                                            

            53 52 38 38 30 30 00 00 00 00 00 00 00 00 00 00                    

    J1(RX): "SR8800"                                                           

            53 52 38 38 30 30 00 00 00 00 00 00 00 00 00 00                    

    Alarm: None                                                                

    Error: 0 BIP(B3), 0 REI(G1)                                                

           0 PJE, 0 NJE                                                         

Port statistic:start time: 2016-06-01 17:27:05                                 

UP time: 0 H 0 M 1 S                                                           

Section: ES        1   SES        1   SEFS        1                             

Line   : ES        0   SES        0   UAS         0   FE-ES        0           

Path1  : ES        1   SES        1   UAS         0   FE-ES        0           

Input speed in last 5 seconds: 0 packets/s, 0 bytes/s                          

Output speed in last 5 seconds: 0 packets/s, 0 bytes/s                         

Input: 0 packets,  0 bytes(good), 0 bytes(all)   //ping之前保证端口无其他计数                              

        0 FCS errors,  0 Aborts,  0 FIFO overflow                              

        0 Runts,  0 Giants                                                     

Output: 0 packets,  0 bytes(good), 0 bytes(all)                                

        0 FIFO underflow,  0 Aborts,  0 Runts                                  

Peak value of input: 0 bytes/sec, at 2016-06-01 17:27:04                       

Peak value of output: 0 bytes/sec, at 2016-06-01 17:27:04  

[88x]ping -a 2.2.2.2 -c 10 -t 0 2.2.2.3  //取同一网段地址ping,而不是ping接口ip                                      

Ping 2.2.2.3 (2.2.2.3) from 2.2.2.2: 56 data bytes, press CTRL_C to break      

Request time out                                                               

Request time out                                                               

Request time out                                                               

Request time out                                                               

Request time out                                                               

Request time out                                                                

Request time out                                                               

Request time out                                                               

Request time out                                                                

Request time out                                                               

                                                                               

--- Ping statistics for 2.2.2.3 ---                                             

10 packet(s) transmitted, 0 packet(s) received, 100.0% packet loss             

[88x]%Jun  1 17:34:52:389 2016 88x PING/6/PING_STATIS_INFO: -MDC=1; Ping statist

ics for 2.2.2.3: 10 packet(s) transmitted, 0 packet(s) received, 100.0% packet l

oss.                                                                           

                                                                               

[88x]                                                                           

[88x]dis int p1/3/2/1                                                          

Pos1/3/2/1                                                                     

Current state: UP                                                              

Line protocol state: UP                                                        

Description: Pos1/3/2/1 Interface                                              

Bandwidth: 155520kbps                                                          

Maximum Transmit Unit: 1500                                                    

Hold timer: 0 seconds                                                          

Internet Address is 2.2.2.2/24 Primary                                         

Link layer protocol: HDLC                                                      

Port priority: 0                                                               

Last clearing of counters: 17:34:15 Wed 06/01/2016                             

Port connector type is No connector                                            

Physical layer is packet over SDH                                              

Port speed type: STM-1                                                         

Loopback is local                                                               

FCS: 32-bit CRC                                                                

Clock source: Slave                                                            

Clock grade: LNC(G.812 SSU-B)                                                   

SPE scrambling: Enable                                                         

BER thresholds:                                                                

    SD: 10e-6    SF: 10e-4                                                      

Regenerator section layer:                                                     

    J0(TX): "SR8800"                                                           

            53 52 38 38 30 30 00 00 00 00 00 00 00 00 00 00                     

    J0(RX): "SR8800"                                                           

            53 52 38 38 30 30 00 00 00 00 00 00 00 00 00 00                    

    Alarm: None                                                                 

    Error: 0 BIP(B1)                                                           

Multiplex section layer:                                                       

    Alarm: None                                                                

    Error: 0 BIP(B2), 0 REI(M1)                                                

Higher order path layer:                                                       

    C2(TX): 0x16    C2(RX): 0x16                                               

    J1(TX): "SR8800"                                                            

            53 52 38 38 30 30 00 00 00 00 00 00 00 00 00 00                    

    J1(RX): "SR8800"                                                           

            53 52 38 38 30 30 00 00 00 00 00 00 00 00 00 00                    

    Alarm: None                                                                

    Error: 0 BIP(B3), 0 REI(G1)                                                

           0 PJE, 0 NJE                                                        

Port statistic:start time: 2016-06-01 17:34:16                                 

UP time: 0 H 0 M 39 S                                                          

Section: ES       39   SES       39   SEFS       39                            

Line   : ES        0   SES        0   UAS         0   FE-ES        0           

Path1  : ES       39   SES       39   UAS        39   FE-ES        0           

Input speed in last 5 seconds: 10 packets/s, 897 bytes/s                       

Output speed in last 5 seconds: 10 packets/s, 897 bytes/s                      

//ping 1个报文,接口计数应该是255个;10个就是2550个。

Input: 2550 packets,  224400 bytes(good), 234974 bytes(all)                    

        0 FCS errors,  0 Aborts,  0 FIFO overflow                              

        0 Runts,  0 Giants                                                     

Output: 2550 packets,  224400 bytes(good), 234974 bytes(all)                   

        0 FIFO underflow,  0 Aborts,  0 Runts                                  

Peak value of input: 897 bytes/sec, at 2016-06-01 17:34:50                     

Peak value of output: 897 bytes/sec, at 2016-06-01 17:34:50  

配置关键点

自环测试需要使用HDLC协议来测试,不能使用PPP,PPP协议单端协商不起来。

该案例对您是否有帮助:

您的评价:1

若您有关于案例的建议,请反馈:

1 个评论
粉丝:1人 关注:0人

为什么接口数是255个呢

ttl超时,255

我是一只没有感情的柚子 发表时间:2020-10-20

编辑评论

举报

×

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

侵犯我的权益

×

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

泄露了我的隐私

×

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

侵犯了我企业的权益

×

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

抄袭了我的内容

×

原文链接或出处

诽谤我

×

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

对根叔知了社区有害的内容

×

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

不规范转载

×

举报说明

提出建议

    +

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

确定

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

注册后可访问此模块

跳转hclhub

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