Displaying hwping configuration, Hwping configuration examples, Icmp test – H3C Technologies H3C S3100 Series Switches User Manual

Page 888: Network requirements, Network diagram, Configuration procedure

Advertising
background image

1-20

Displaying HWPing Configuration

To do…

Use the command…

Remarks

Display the results of the test

display hwping { results | history | jitter }
[ administrator-name operation-tag ]

Display test statistics

display hwping statistics [ administrator-name
operation-tag
]

Available in any
view

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

z

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:

Advertising