51
NOTE:
Currently this command displays the configured source IP address or source interface of the FTP
client.
Related commands:
ftp client source
.
Examples
Display the current configuration information of the FTP client.
<Sysname> display ftp client configuration
The source IP address is 192.168.0.123
ftp
Syntax
ftp
[
server-address
[
service-port
] [
source
{
interface
interface-type interface-number
|
ip
source-ip-address
} ] ]
View
User view
Default Level
3: Manage level
Parameters
server-address
: IP address or host name (a string of 1 to 20 characters) of a remote FTP
server.
service-port
: TCP port number of the remote FTP server, in the range 0 to 65535. The
default value is 21.
interface
interface-type interface-number
: Specifies the source interface by its type
and number. The primary IP address configured on this interface is the source address
of the transmitted packets. If no primary IP address is configured on the source
interface, the connection fails.
ip
source-ip-address:
The source IP address of the current FTP client. This source address
must be the one that has been configured on the AC.
Description
Use the
ftp
command to log in to the remote FTP server and enter FTP client view.
This command applies to IPv4 networks.
If you use this command without specifying any parameters, you will simply enter
the FTP client view without logging in to the FTP server.