Command Manual (For Soliton) – HWPing
H3C S3100 Series Ethernet Switches
Chapter 1 HWPing Commands
1-28
Examples
# Perform a HWPing test on an ICMP test group with the administrator name and
operation tag being administrator and icmp respectively.
<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] destination-ip 169.254.10.3
[Sysname-hwping-administrator-icmp] test-enable
1.1.26 test-failtimes
Syntax
test-failtimes times
undo test-failtimes
View
HWPing test group view
Parameters
times
: Number of times of consecutive test failure, in the range of 1 to 15.
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