Examples
# Set the timeout time for one probe in an ICMP test to 10 seconds.
<Sysname> system-view
System View: return to User View with Ctrl+Z
[Sysname] hwping administrator icmp
[Sysname-hwping-administrator-icmp] test-type icmp
[Sysname-hwping-administrator-icmp] timeout 10
tos
Syntax
tos value
undo tos
View
HWPing test group view
Parameters
value: ToS value in an HWPing test packet header, in the range of 0 to 255.
Description
Use the tos command to configure the ToS value in an HWPing test packet header.
Use the undo tos command to remove the ToS value in an HWPing test packet header.
By default, no ToS value is configured.
This command does not apply to DHCP tests.
Examples
# Set the ToS value in the header of an ICMP test packet to 1.
<Sysname> system-view
System View: return to User View with Ctrl+Z
[Sysname] hwping administrator icmp
[Sysname-hwping-administrator-icmp] test-type icmp
[Sysname-hwping-administrator-icmp] tos 1
ttl
Syntax
ttl number
undo ttl
1-37