2378 CHAPTER 158: FTP CLIENT CONFIGURATION COMMANDS
View FTP client view
Parameter None
Description Use the
disconnect command to disconnect from the remote FTP server but
remain in FTP client view.
This command is equal to the close command.
Example # Disconnect from the remote FTP server but remain in FTP client view.
[ftp] disconnect
221 Server closing.
display ftp client configuration
Syntax display ftp client configuration
View Any view
Parameter None
Description Use the
display ftp client configuration command to display the
configuration information of the FTP client.
n
Currently this command displays the configuration information of the source
address. If the currently valid source address is the source IP address, this
command displays the configured source IP address; if it is the source interface,
this command displays the configured source interface.
Related command: ftp client source.
Example # 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
Parameter server-address: IP address or host name of a remote FTP server.
service-port: Port number of the remote FTP server, in the range of 0 to 65535.
The default value is 21.