beautypg.com

H3C Technologies H3C S3100 Series Switches User Manual

Page 885

background image

1-17

To do…

Use the command…

Remarks

Enable history record

history-record enable

Optional

By default, history record is not enabled.

Configure the retaining
time of history record

history keep-time
keep-time

Optional

By default, the retaining time of history record is 120
minutes.

Configure statistics
interval and the
maximum number of
retained statistics
information

statistics { interval
interval | max-group
number }

Optional

By default, statistics interval is 120 minutes and up to
two pieces of statistics information can be retained.

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 service
type

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.

9) Configuring DNS test on HWPing client

Follow these steps to configure DNS 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 dns

Required

By default, the test type is ICMP.