H3C Technologies H3C S3100 Series Switches User Manual
Page 873

1-5
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 icmp
Optional
By default, the test type is ICMP.
Configure the destination IP
address
destination-ip ip-address
Required
By default, no destination address
is configured.
Configure the source interface
source-interface interface-type
interface-number
Optional
For ICMP tests, use the
source-interface command to
specify a source interface for
sending ICMP requests.
By default, no source interface is
configured.
Configure the source IP address
source-ip ip-address
Optional
By default, no source IP address is
configured.
Configure the number of probes
per test
count times
Optional
By default, each test makes one
probe.
Configure the packet size
datasize size
Optional
By default, the packet size is 56
bytes.
Configure a stuffing character
string
datafill string
Optional
By default, the numbers between 0
and 255 are stuffed into datagrams
in a cyclically way.
Configure a test description
description string
Optional
By default, no description
information is configured.
Configure the maximum number of
history records that can be saved
history-records number
Optional
By default, the maximum number is
50.
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.