H3C Technologies H3C S3100 Series Switches User Manual

Page 877

Advertising
background image

1-9

To do…

Use the command…

Remarks

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 type of FTP
operation

ftp-operation { get | put }

Optional

By default, the type of FTP operation is get,
that is, the FTP operation will get a file from
the FTP server.

Configure an FTP login
username

username name

Configure an FTP login
password

password password

Required

By default, neither username nor password
is configured.

Configure a file name for
the FTP operation

filename file-name

Required

By default, no file name is configured for the
FTP operation

Configure size of a file to
be uploaded in an FTP
test

filesize file-size

Required

By default, the file is 1 MB.

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.

4) Configuring HTTP test on HWPing client

Follow these steps to configure HTTP 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 http

Required

By default, the test type is ICMP.

Configure the destination IP
address

destination-ip ip-address

Required

When you use H3C S3100 Series
Switches as HWPing Client for http
test, the destination address can be
host name or IP address.

By default, no destination address is
configured.

Configure dns-server

dns-server ip-address

Required: When you use H3C S3100
Series Switches as HWPing Client for
http test and set the destination
address as host name.

By default, no IP address of the DNS
server is configured.

Advertising