
1-19
Related commands:
username
,
ftp-operation
.
z
To perform an FTP test successfully, the configured password must be consistent with the FTP
user password configured on the server.
z
This command applies to FTP tests only.
Examples
# Set the password for logging into the FTP server as
hwping
in an FTP test.
<Sysname> system-view
System View: return to User View with Ctrl+Z
[Sysname] hwping administrator ftp
[Sysname-hwping-administrator-ftp] test-type ftp
[Sysname-hwping-administrator-ftp] password hwping
probe-failtimes
Syntax
probe-failtimes
times
undo probe-failtimes
View
HWPing test group view
Parameters
times
: Number of consecutive failed probes, in the range of 1 to 15.
Description
Use the
probe-failtimes
command to configure the number of consecutive times the probe fails before
the switch sends out a trap message.
Use the
undo probe-failtimes
command to restore the default.
By default, the switch sends a trap about probe failure each time when a probe fails.
Examples
# Configure the switch to send a trap after the probe in 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] probe-failtimes 3