Displaying HWPing Configuration
To do...
Display the results of the test
Display test statistics
HWPing Configuration Examples
ICMP Test
Network requirements
An H3C S3100 series Ethernet switch serves as the HWPing client. An HWPing ICMP test between the
switch and another switch uses ICMP to test the round trip time (RTT) for packets generated by the
HWPing client to travel to and back from the destination switch.
Network diagram
Figure 1-2 Network diagram for the ICMP test
Configuration procedure
Configure HWPing Client (Switch A):
# Enable the HWPing client.
<Sysname> system-view
[Sysname] hwping-agent enable
# Create an HWPing test group, setting the administrator name to administrator and test tag to ICMP.
[Sysname] hwping administrator icmp
# Configure the test type as icmp.
[Sysname-hwping-administrator-icmp] test-type icmp
# Configure the destination IP address as 10.2.2.2.
[Sysname-hwping-administrator-icmp] destination-ip 10.2.2.2
# Configure to make 10 probes per test.
[Sysname-hwping-administrator-icmp] count 10
# Set the probe timeout time to 5 seconds.
[Sysname-hwping-administrator-icmp] timeout 5
# Enable the saving of history records and set the maximum number of history records that can be
saved to 5.
[Sysname-hwping-administrator-icmp] history-record enable
[Sysname-hwping-administrator-icmp] history-records 5
# Start the test.
[Sysname-hwping-administrator-icmp] test-enable
# Display test results.
[Sysname-hwping-administrator-icmp] display hwping results administrator icmp
HWPing entry(admin administrator, tag icmp) test result:
Use the command...
display hwping { results | history | jitter }
[ administrator-name operation-tag ]
display hwping statistics [ administrator-name
operation-tag ]
1-20
Remarks
Available in any
view