204
Parameters
value
: Specifies the maximum number in the range of 0 to 255. When this argument is set to 0 or 255,
the UDP tracert operation does not stop when consecutive probe failures occur.
Usage guidelines
When a UDP tracert operation detects the maximum number of consecutive probe failures, the
operation fails and stops probing the path.
Examples
# Set the maximum number of consecutive probe failures to 20 in a UDP tracert operation.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type udp-tracert
[Sysname-nqa-admin-test-udp-tracert] max-failure 20
mode
Use
mode
to set the data transmission mode for the FTP operation.
Use
undo mode
to restore the default.
Syntax
mode
{
active
|
passive
}
undo
mode
Default
The FTP operation uses the data transmission mode
active
.
Views
FTP operation view, FTP template view
Predefined user roles
network-admin
Parameters
active
: Sets the data transmission mode to active. The FTP server initiates a connection request.
passive
: Sets the data transmission mode to passive. The FTP client initiates a connection request.
Examples
# Set the data transmission mode to
passive
for the FTP operation.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type ftp
[Sysname-nqa-admin-test-ftp] mode passive
# In FTP template view, set the data transmission mode to
passive
for the FTP operation.
<Sysname> system-view
[Sysname] nqa template ftp ftptplt
[Sysname-nqatplt-ftp-ftptplt] mode passive
next-hop
Use
next-hop
to specify the next hop for the ICMP echo operation.