8-3
z
If the source address is specified with the
ftp client source
or
ftp
command, this source address is
used to communicate with an FTP server.
z
If the source address is specified with the
ftp client source
command and then with the
ftp
command, the address specified with the latter one is used to communicate with an FTP server.
The source address specified with the
ftp client source
command is valid for all FTP connections and
the source address specified with the
ftp
command is valid only for the current FTP connection.
Follow these steps to establish an IPv4 FTP connection:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure the source address of
the FTP client
ftp client source
{
interface
interface-type interface-number
|
ip
source-ip-address
}
Optional
An AP uses the IP address of the
interface determined by the
matched route as the source IP
address to communicate with the
FTP server by default.
Exit to system view
quit
—
Log in to the remote FTP server
directly in user view
ftp
[
server-address
[
service-port
]
[
source
{
interface
interface-type
interface-number
|
ip
source-ip-address
} ] ]
ftp
Log in to the remote FTP server
indirectly in FTP client view
open
server-address
[
service-port
]
Use either command.
The
ftp
command is available in
user view; and the
open
command
is available in FTP client view.
z
If no primary IP address is configured on the specified source interface, no FTP connection can be
established.
z
If you use the
ftp client source
command to first configure the source interface and then the
source IP address of the transmitted packets, the new source IP address will overwrite the current
one, and vice versa.
Follow these steps to establish an IPv6 FTP connection:
To do…
Use the command…
Remarks
Log in to the remote FTP server
directly in user view
ftp ipv6
[
server-address
[
service-port
] [
source ipv6
source-ipv6-address
] [
-i
interface-type interface-number
] ]
ftp ipv6
Log in to the remote FTP server
indirectly in FTP client view
open ipv6 server-address
[
service-port
] [
-i
interface-type
interface-number
]
Use either command.
The
ftp ipv6
command is available
in user view; and the
open ipv6
command is available in FTP client
view.
Summary of Contents for WA Series
Page 10: ...v 15 Index 15 1...