1-11
To do… Use the command… Remarks
Configure the automatic test
interval
frequency interval
Optional
By default, the automatic test
interval is zero seconds,
indicating no automatic test will
be made.
Configure the probe timeout
time
timeout time
Optional
By default, a probe times out in
three seconds.
Configure the type of service
tos value
Optional
By default, the service type is
zero.
Start the test
test-enable
Required
Display test results
display hwping results
[ admin-name operation-tag ]
Required
You can execute the command
in any view.
7) Configuring TCP test on HWPing client
Follow these steps to configure TCP test on HWPing client:
To do… Use the command… Remarks
Enter system view
system-view
—
Enable the HWPing
client function
hwping-agent enable
Required
By default, the HWPing client function is
disabled.
Create a HWPing test
group and enter its
view
hwping
administrator-name
operation- tag
Required
By default, no test group is configured.
Configure the
destination address
destination-ip
ip-address
Required
This IP address and the one configured on the
HWPing server for listening services must be
the same.
By default, no destination address is
configured.
Configure the
destination port
destination-port
port-number
Required in a Tcpprivate test
A Tcppublic test is a TCP connection test on
port 7. Use the hwping-server tcpconnect
ip-address 7 command on the server to
configure the listening service port; otherwise
the test will fail. No port number needs to be
configured on the client; any destination port
number configured on the client will not take
effect.
By default, no destination port number is
configured.
Configure the source
IP address
source-ip ip-address
Optional
By default, the source IP address is not
specified.