Command Manual – FTP and TFTP
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 FTP and TFTP
Huawei Technologies Proprietary
1-16
Parameter
ip-address
: Host name or the IP address of an FTP server. Note that the host name can
be a string comprising 1 to 20 characters.
port-numb
e
r
: Port number of the FTP server, ranging from 0 to 65535. The default is 21.
Description
Use the
ftp
command to establish a control connection with an FTP server and enter
FTP client view.
Example
# Connect to the FTP server whose IP address is 2.2.2.2.
<Quidway> ftp 2.2.2.2
Trying ...
Press CTRL+K to abort
Connected.
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User(none):switch
331 Give me your password, please
Password:
230 Logged in successfully
[ftp]
1.2.13 ftp { cluster | remote-server } source-interface
Syntax
ftp
{
cluster
|
remote-server
}
source-interface interface-type interface-number
View
User view
Parameter
cluster
: Specifies to connect to a cluster FTP server.
remote-server
: IP address or host name of the FTP server.
interface-type
: Type of the source interface.
interface-number
: Number of the source interface.
Description
Use the
ftp
{
cluster
|
remote-server
}
source-interface
command to connect to an
FTP server through the specified source interface. This command will fail to be
executed if the specified interface does not exist.