135
Step Command Remarks
operation, the file name is required.
When you perform the
put
operation, the filename argument
does not take effect, even if it is
specified. The file name for the
put
operation is determined by the
filename
command.
4. (Optional.) Specify the
FTP operation type.
operation
{
get
|
put
}
By default, the FTP operation type is
get
, which means obtaining files
from the FTP server.
5. Specify an FTP login
username.
username
username
By default, no FTP login username
is specified.
6. Specify an FTP login
password.
password
{
cipher
|
simple
}
password
By default, no FTP login password is
specified.
7. (Optional.) Specify the
name of a file to be
transferred.
filename
filename
By default, no file is specified.
This step is required if you perform
the
put
operation.
This configuration does not take
effect for the
get
operation.
8. Set the data transmission
mode.
mode
{
active
|
passive
} The default mode is
active
.
9. (Optional.) Specify the
source IPv4 or IPv6
address for the probe
packets.
• IPv4 address:
source ip ip-address
• IPv6 address:
source ipv6 ipv6-address
By default, no source IP address is
specified.
The source IP address must be the
IP address of a local interface, and
the interface must be up. Otherwise,
no probe packets can be sent out.
Configuring optional parameters for the NQA template
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Create an NQA template
and enter its view.
nqa template
{
dns
|
ftp
|
http
|
icmp
|
tcp
|
udp
} name
N/A
3. Configure a description.
description
text By default, no description is configured.
4. Specify the interval at
which the NQA operation
repeats.
frequency
interval
The default setting is 5000 milliseconds.
If the operation is not completed when the
interval expires, the next operation does
not start.
5. Specify the probe
timeout time.
probe timeout
timeout The default setting is 3000 milliseconds.
6. Specify the TTL for probe
packets.
ttl
value The default setting is 20.
7. Specify the ToS value in
the IP header for probe
packets.
tos
value The default setting is 0.
8. Configure the number of
consecutive successful
probes that lead to a
reaction trigger probe-pass
count
The default setting is 3.
If the number of consecutive successful
probes for an NQA operation is reached,