S2000-EA系列交换机HWPing—ICMP测试功能的配置
一、 组网需求:
H3C S2000-EA系列以太网交换机作为HWPing客户端与另外一台交换机之间进行HWPing ICMP测试,使用ICMP协议来测试数据报文在HWPing客户端和指定的目的端之间的往返时间。
二、 组网图:
三、 配置步骤:
配置HWPing Client(Switch A):
# 开启hwping客户端。
<Sysname> system-view
[Sysname] hwping-agent enable
# 创建一个HWPing测试组。指定的管理员名字为administrator,测试操作标签为ICMP。
[Sysname] hwping administrator icmp
# 配置测试类型为ICMP。
[Sysname-hwping-administrator-icmp] test-type icmp
# 配置目的IP地址为10.2.2.2。
[Sysname-hwping-administrator-icmp] destination-ip 10.2.2.2
# 配置一次测试中进行探测的次数为10。
[Sysname-hwping-administrator-icmp] count 10
# 配置探测的超时时间为5秒。
[Sysname-hwping-administrator-icmp] timeout 5
# 启动测试操作。
[Sysname-hwping-administrator-icmp] test-enable
# 配置保存历史记录的最大数目为5。
[Sysname-hwping-administrator-icmp] history-records 5
# 查看测试结果。
[Sysname-hwping-administrator-icmp] display hwping results administrator icmp
HWPing entry(admin administrator, tag icmp) test result:
Destination ip address:10.2.2.2
Send operation times: 10 Receive response times: 10
Min/Max/Average Round Trip Time: 3/6/3
Square-Sum of Round Trip Time: 145
Last succeeded test time: 2000-4-2 20:55:12.3
Extend result:
SD Maximal delay: 0 DS Maximal delay: 0
Packet lost in test: 0%
Disconnect operation number: 0 Operation timeout number: 0
System busy operation number: 0 Connection fail number: 0
Operation sequence errors: 0 Drop operation number: 0
Other operation errors: 0
[Sysname-hwping-administrator-icmp] display hwping history administrator icmp
HWPing entry(admin administrator, tag icmp) history record:
Index Response Status LastRC Time
1 3 1 0 2000-04-02 20:55:12.3
2 4 1 0 2000-04-02 20:55:12.3
3 4 1 0 2000-04-02 20:55:12.2
4 3 1 0 2000-04-02 20:55:12.2
5 3 1 0 2000-04-02 20:55:12.2
四、 配置关键点:
无
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作