40
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create an FTP template
and enter its view.
nqa template ftp name
By default, no FTP templates exist.
3.
Specify the URL of the
destination FTP server.
url url
By default, no URL is specified for the
destination FTP server.
Enter the URL in one of the following
formats:
•
ftp://
host
/
filename.
•
ftp://
host
:
port
/
filename.
When you perform the
get
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
}
sting
By default, no FTP login password is
specified.
7.
(Optional.) Specify the
name of a file to be
transferred.
filename
filename
This step is required if you perform the
put
operation.
This configuration does not take effect
for the
get
operation.
By default, no file is specified.
8.
Set the data transmission
mode.
mode
{
active
|
passive
}
The default mode is
active
.
9.
(Optional.) Specify the
source IP address for the
probe packets.
•
IPv4 address:
source ip
ip-address
•
IPv6 address:
source ipv6
ipv6-address
By default, the packets take the primary
IP address of the output interface as
their source IP address.
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 the RADIUS template
A feature that uses the RADIUS template performs the RADIUS operation to check the availability of
the authentication service on the RADIUS server.
The RADIUS operation authentication workflow is as follows:
1.
The NQA client sends an authentication request (Access-Request) to the RADIUS server. The
request includes the username and the user's password. The password has been encrypted by
the MD5 algorithm and the shared key.
2.
The RADIUS server authenticates the username and password.
If the authentication succeeds, the server sends an Access-Accept packet to the NQA
client.
If the authentication fails, the server sends an Access-Reject packet to the NQA client.