Hwping configuration example, Icmp test – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 595

Advertising
background image

58-16

HWPing Configuration Example

ICMP Test

Network requirements

As shown in

Figure 58-2

, Switch A serves as the HWPing client. A HWPing ICMP test between Switch A

and Switch B uses ICMP to test the round trip time (RTT) for packets generated by the HWPing client to
travel to and back from the destination.

Figure 58-2

Network diagram for the ICMP test

Switch A

Switch B

HWPing Client

IP network

10.1.1.1/8

10.2.2.2/8

Configuration procedure

z

Configure HWPing Client (Switch A):

# Enable HWPing client.

<device> system-view

[device] hwping-agent enable

# Create a HWPing test group, setting the administrator name to "administrator" and test tag to "ICMP".

[device] hwping administrator icmp

# Configure the test type as icmp.

[device-hwping-administrator-icmp] test-type icmp

# Configure the destination IP address as 10.2.2.2.

[device-hwping-administrator-icmp] destination-ip 10.2.2.2

# Configure to make 10 probes per test.

[device-hwping-administrator-icmp] count 10

# Set the probe timeout time to 5 seconds.

[device-hwping-administrator-icmp] timeout 5

# Start the test.

[device-hwping-administrator-icmp] test-enable

# Set the maximum number of history records that can be saved to 5.

[device-hwping-administrator-icmp] history-records 5

# Display test results.

[device-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

Advertising