H3C Technologies H3C S3100 Series Switches User Manual
Page 874

1-6
To do…
Use the command…
Remarks
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 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.
z
For an HWPing ICMP test, if no IP address is configured for the source interface configured
through the source-interface command, the test cannot be performed; if a source IP address has
already been configured through the source-ip command, the source-interface command does
not take effect.
z
In an ICMP test, after you specify a source interface by the source-interface interface-type
interface-number command, the TTL value turns to 1 automatically to test the directly connected
devices.
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.