Configuring the ftp operation – H3C Technologies H3C MSR 5600 User Manual
Page 27
14
Step Command
Remarks
5.
Specify the domain name
that needs to be translated.
resolve-target domain-name
By default, no domain name is
specified.
Configuring the FTP operation
The FTP operation measures the time for the NQA client to transfer a file to or download a file from an
FTP server.
Follow these guidelines when you configure the FTP operation:
•
When you perform the put operation with the filename command configured, make sure the file
exists on the NQA client.
•
If you get a file from the FTP server, make sure the file specified in the URL exists on the FTP server.
•
The NQA client does not save the file obtained from the FTP server.
•
Use a small file for the FTP operation. A big file might result in transfer failure because of timeout,
or might affect other services for occupying much network bandwidth.
To configure the FTP operation:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create an NQA
operation and enter NQA
operation view.
nqa entry admin-name
operation-tag
By default, no NQA operation is created.
3.
Specify the FTP type and
enter its view.
type ftp
N/A
4.
Specify the URL of the
destination FTP server.
url url
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 in the URL is a must.
5.
(Optional.) Specify the
source IP address of FTP
request packets.
source ip ip-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 FTP requests can be sent out.
6.
Specify the FTP operation
type.
operation { get | put }
By default, the FTP operation type is get, which
means obtaining files from the FTP server.
7.
Specify an FTP login
username.
username username
By default, no FTP login username is configured.
8.
Specify an FTP login
password.
password { cipher |
simple } password
By default, no FTP login password is configured.
9.
(Optional.) Specify the
name of a file to be
transferred.
filename file-name
By default, no file is specified.
This step is required if you perform the put
operation.
10.
Set the data transmission
mode.
mode { active | passive } The default mode is active.