Displaying and Maintaining HWPing
To do...
Display test history
Display the results of the latest
test
HWPing Configuration Example
ICMP Test
Network requirements
As shown in
Figure
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
10.1.1.1/8
Switch A
HWPing Client
Configuration procedure
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 hwping history
[ administrator-name operation-tag ]
display hwping results
[ administrator-name operation-tag ]
1-2, Switch A serves as the HWPing client. A HWPing ICMP test between Switch A
IP network
10.2.2.2/8
Use the command...
Switch B
1-17
Remarks
Available in any view