
1-17
Displaying and Maintaining HWPing
To do…
Use the command…
Remarks
Display test history
display hwping history
[
administrator-name operation-tag
]
Display the results of the latest
test
display hwping results
[
administrator-name operation-tag
]
Available in any view
HWPing Configuration Example
ICMP Test
Network requirements
As shown in
Figure 1-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 1-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