玩转华为ENSP模拟器系列 | 配置TWAMP Light统计业务示例

素材来源:华为路由器配置指南

一边学习一边整理试验笔记,并与大家分享,侵权即删,谢谢支持!

附上汇总贴:玩转华为ENSP模拟器系列 | 合集_COCOgsta的博客-CSDN博客_华为模拟器实验


目标

以典型组网为背景,介绍如何配置TWAMP Light统计业务。

组网需求

如图1所示,在IP网络中,DeviceA作为Controller端,DeviceB作为Responder端。

DeviceA:主要完成测量会话报文的发送接收、性能数据采集和计算并将最后结果上送给网管平台。

DeviceB:只负责相应测量会话报文的反射。

配置思路

  • 配置网络中设备的IP地址和路由协议,实现设备之间网络层互通。
  • DeviceB:配置TWAMP Light Responder端
  • DeviceA:配置TWAMP Light Controller端

操作步骤

  1. 配置网络中设备的IP地址和路由协议,实现设备之间网络层互通(略)
  2. 配置TWAMP Light Responder端
DeviceB:
nqa twamp-light
 responder
  test-session 1 local-ip 10.1.1.11 remote-ip 1.1.1.33 local-port 2010 remote-port 2001
  1. 配置TWAMP Light Controller端:配置TWAMP Light Client端
DeviceA:
nqa twamp-light
 client
  test-session 1 sender-ip 1.1.1.33 reflector-ip 10.1.1.11 sender-port 2001 reflector-port 2010
  1. 配置TWAMP Light Controller端:配置TWAMP Light Sender端
DeviceA:
nqa twamp-light
 sender
  test start test-session 1 packet-count 30000      
  1. 检查配置结果

在DeviceA上查看TWAMP Light统计会话实时信息。

Minimum TxJitter :          0    Minimum RxJitter :          0
[~A1-2-twamp-light-sender]display twamp-light test-session 1
Session ID                       : 1
State                            : active
Type                             : on-demand
Sender IP                        : 1.1.1.33
Sender Port                      : 2001
Reflector IP                     : 10.1.1.11
Reflector Port                   : 2010
Mode                             : unauthenticated
DSCP                             : 0
Padding Length                   : 128
Padding Type                     : 00
VPN Instance                     : -
Last Start Time                  : 2020-02-07 07:09:20
Last Stop Time                   : never
Regular Time(in minute)          : -
Period Time(in millisecond)      : 100
Time Out(in second)              : 5
Duration Time(in second)         : 0
Packet Count                     : 30000
[~A1-2-twamp-light-sender]

在DeviceA上查看TWAMP Light统计会话双向时延的统计信息。

[~A1-2-twamp-light-sender]display twamp-light statistic-type twoway-delay test-session 1
Latest two-way delay statistics(usec):
--------------------------------------------------------------------------------
     Index      Delay(Avg)  Jitter(Avg)    Tx-Jitter(Avg)   Rx-Jitter(Avg) 
--------------------------------------------------------------------------------
        93              48            3                 4                4
        94              50            5                 5                4
        95              50            2                 4                4
        96              50            2                 4                3
        97              49            4                 4                3
        98              50            3                 4                3
        99              49            3                 3                4
       100              49            4                 4                4
       101              49            3                 4                4
       102              48            3                 4                4
       103              49            6                 5                4
       104              49            3                 4                4
       105              48            3                 4                4
       106              47            3                 4                4
       107              50            4                 4                5
       108              50            4                 5                3
       109              50            3                 4                4
       110              49            4                 5                4
       111              49            4                 4                4
       112              47            4                 3                4
       113              49            6                 5                5
       114              48            3                 5                4
       115              49            4                 5                5
       116              50            5                 5                4
       117              50            4                 5                4
       118              49            3                 4                3
       119              49            5                 4                5
       120              49            3                 5                4
       121              48            4                 4                4
       122              50            6                 5                4
--------------------------------------------------------------------------------
Average Delay    :         49    Average Jitter   :          4
Maximum Delay    :         65    Maximum Jitter   :         18
Minimum Delay    :         40    Minimum Jitter   :          0
Average TxJitter :          4    Average RxJitter :          4
Maximum TxJitter :         19    Maximum RxJitter :         17
Minimum TxJitter :          0    Minimum RxJitter :          0
[~A1-2-twamp-light-sender]

在DeviceA上查看TWAMP Light统计会话双向丢包的统计信息。

[~A1-2-twamp-light-sender]display twamp-light statistic-type twoway-loss test-session 1
Latest two-way loss statistics:
--------------------------------------------------------------------------------
     Index      Loss count      Loss ratio      Error count      Error ratio
--------------------------------------------------------------------------------
       130               0         0.0000%                0          0.0000%
       131               0         0.0000%                0          0.0000%
       132               0         0.0000%                0          0.0000%
       133               0         0.0000%                0          0.0000%
       134               0         0.0000%                0          0.0000%
       135               0         0.0000%                0          0.0000%
       136               0         0.0000%                0          0.0000%
       137               0         0.0000%                0          0.0000%
       138               0         0.0000%                0          0.0000%
       139               0         0.0000%                0          0.0000%
       140               0         0.0000%                0          0.0000%
       141               0         0.0000%                0          0.0000%
       142               0         0.0000%                0          0.0000%
       143               0         0.0000%                0          0.0000%
       144               0         0.0000%                0          0.0000%
       145               0         0.0000%                0          0.0000%
       146               0         0.0000%                0          0.0000%
       147               0         0.0000%                0          0.0000%
       148               0         0.0000%                0          0.0000%
       149               0         0.0000%                0          0.0000%
       150               0         0.0000%                0          0.0000%
       151               0         0.0000%                0          0.0000%
       152               0         0.0000%                0          0.0000%
       153               0         0.0000%                0          0.0000%
       154               0         0.0000%                0          0.0000%
       155               0         0.0000%                0          0.0000%
       156               0         0.0000%                0          0.0000%
       157               0         0.0000%                0          0.0000%
       158               0         0.0000%                0          0.0000%
       159               0         0.0000%                0          0.0000%
--------------------------------------------------------------------------------
Average Loss Count   :          0    Average Loss Ratio   :   0.0000%
Maximum Loss Count   :          0    Maximum Loss Ratio   :   0.0000%
Minimum Loss Count   :          0    Minimum Loss Ratio   :   0.0000%
Average RxError Count:          0    Average RxError Ratio:   0.0000%
Maximum RxError Count:          0    Maximum RxError Ratio:   0.0000%
Minimum RxError Count:          0    Minimum RxError Ratio:   0.0000%
[~A1-2-twamp-light-sender]

 

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值