1-25
Description
Use the
test-failtimes
command to configure the number of consecutive times a HWPing test fails
before the switch sends out a trap message.
Use the
undo test-failtimes
command to restore the default.
By default, the switch sends a trap about test failure each time when a test fails.
Examples
# Configure the switch to send out a trap message after an ICMP test fails for three consecutive times.
<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] test-failtimes 3
timeout
Syntax
timeout time
undo timeout
View
HWPing test group view
Parameters
time
: Timeout time for one probe, in the range of 1 to 60, in seconds.
Description
Use the
timeout
command to set the timeout time for a probe.
Use the
undo timeout
command to restore the default value.
The HWPing client starts the probe timer after sending a test packet. If the HWPing client receives no
response before the timer expires, it considers that the current probe has timed out.
By default, the probe timeout time is 3 seconds.
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