beautypg.com

H3C Technologies H3C S3100 Series Switches User Manual

Page 883

background image

1-15

To do…

Use the command…

Remarks

Configure the destination
port

destination-port

port-number

Required in a Tcpprivate test

A Tcppublic test is a TCP connection test on
port 7. Use the hwping-server tcpconnect
ip-address 7 command on the server to
configure the listening service port; otherwise
the test will fail. No port number needs to be
configured on the client; any destination port
number configured on the client will not take
effect.

By default, no destination port number is
configured.

Configure the source IP
address

source-ip ip-address

Optional

By default, the source IP address is not
specified.

Configure the source port

source-port port-number

Optional

By default, no source port is specified.

Configure the number of
probes per test

count times

Optional

By default, one probe is made per time.

Configure a test description

description string

Optional

By default, no description information is
configured.

Enable history record

history-record enable

Optional

By default, history record is not enabled.

Configure the maximum
number of history records
that can be saved

history-records number

Optional

By default, the maximum number is 50.

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 probe timeout
time

timeout time

Optional

By default, a probe times out in three
seconds.

Configure the automatic
test interval

frequency interval

Optional

By default, the automatic test interval is zero
seconds, indicating no automatic test will be
made.