2 configuring hwping, 2 configuring hwping -2 – H3C Technologies H3C S3100 Series Switches User Manual
Page 618

Operation Manual – HWPing
H3C S3100-52P Ethernet Switch
Chapter 1 HWPing Configuration
1-2
3) Number of test packets to be sent in a test
If this parameter is set to a number greater than 1, the system sends the second test
packet once it receives a response to the first one, or when the test timer times out if it
receives no response after sending the first one, and so forth until the last test packet is
sent out. This parameter is equivalent to the –n keyword in the ping command.
4) Automatic test interval
This parameter is used to enable the system to automatically perform the same test at
regular intervals.
5) Test timeout time
Test timeout time is the duration while the system waits for an ECHO-RESPONSE
packet after it sends out an ECHO-REQUEST packet. If no ECHO-RESPONSE packet
is received within this duration, this test is considered a failure. This parameter is similar
to the -t keyword in the ping command, but has a different unit (the -t keyword in the
ping
command is in milliseconds, while the timeout time in the HWPing command is in
seconds).
1.2.2 Configuring HWPing
Table 1-1
Configure HWPing
Operation
Command
Description
Enter system view
system-view
—
Enable HWPing Client
hwping-agent enable
Required
By default, HWPing Client
is disabled.
Create an HWPing test
group
hwping
administrator-name
operation- tag
Required
By default, no HWPing
test group is configured.
Configure the destination
IP address of the test
destination-ip
ip-address
Required
By default, no destination
IP address is configured.
Configure the test type
test-type type
Optional
By default, the test type is
ICMP.
Configure the number of
packets to be sent in each
test.
count
times
Optional
By default, the number of
packets to be sent in each
test is 1.