H3C Technologies H3C S3100 Series Switches User Manual

Page 882

Advertising
background image

1-14

To do…

Use the command…

Remarks

Configure the retaining time of
statistics information

statistics keep-time keep-time

Optional

By default, the retaining time of
statistics information is 120
minutes.

Configure test start time and
lifetime

test-time begin { hh:mm :ss
[ yyyy/mm/dd ] | now } lifetime
lifetime

Optional

By default, no test start time and
lifetime is configured.

Enable routing table bypass

sendpacket passroute

Optional

By default, routing table bypass is
disabled.

Configure the TTL

ttl number

Optional

By default, TTL is 20.

The sendpacket passroute
command voids the ttl command.

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 an HWPing test
group and enter its view

hwping administrator-name
operation- tag

Required

By default, no test group is configured.

Configure the test type

test-type { tcpprivate |
tcppublic }

Required

By default, the test type is ICMP.

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.

Advertising