H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 591

Advertising
background image

58-12

To do…

Use the command…

Remarks

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.

Configure the source port

source-port port-number

Optional
By default, no source port is
specified.

Configure the test type

test-type

{ tcpprivate |

tcppublic

}

Required
By default, the test type is ICMP.

Configure the number of probes
per test

count times

Optional
By default, one probe is made per
time.

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 maximum number of
history records that can be saved

history-records

number

Optional
By default, the maximum number is
50.

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
The display command can be
executed in any view.

8) Configuring UDP test on HWPing client

Follow these steps to configure UDP test on HWPing client:

Advertising