H3C Technologies H3C S3600 Series Switches User Manual
Page 1058
1-7
To do…
Use the command…
Remarks
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.
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 dhcp
Required
By default, the test type is ICMP.