H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 585

Advertising
background image

58-6

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) 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
Available in any view.

For ICMP tests, if no IP address is configured for the specified source interface, the ICMP test will fail; if
a source IP address has been configured with the source-ip command, the source-interface
command cannot change the configured IP address.

2) Configuring DHCP test on HWPing client

Follow these steps to configure DHCP 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 interface

source-interface

interface-type

interface-number

Required
You can only configure a VLAN interface
as the source interface.
By default, no source interface is
configured.

Configure the test type

test-type dhcp

Required
By default, the test type is ICMP.

Configure the number of probes
per test

count

times

Optional
By default, each test makes one probe.

Configure the maximum number
of history records that can be
saved

history-records

number

Optional
By default, the maximum number is 50.

Advertising