H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 593

Advertising
background image

58-14

To do…

Use the command…

Remarks

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

hwping administrator-name
operation- tag

Required
By default, no test group is
configured.

Configure the source IP address

source-ip ip-address

Optional
By default, no source IP address is
specified.

Configure the test type

test-type dns

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
test.

Configure the maximum number of
history records that can be saved

history-records

number

Optional
By default, the maximum number is
50.

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.

Configure the domain name to be
resolved

dns resolve-targetdomai
domainname

Required
By default, the domain name to be
resolved by DNS is not specified.

Configure the IP address of the
DNS server

dns-server

ip-address

Required
By default, no DNS server address
is configured.

Start the test

test-enable

Required

Advertising