Command Manual – FTP and TFTP
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 FTP and TFTP
Huawei Technologies Proprietary
1-18
Description
Use the
ftp source-interface
command to specify the source interface of an FTP client,
so that the FTP client always uses it to connect with an FTP server. This command will
fail to be executed if the specified interface does not exist.
Use the
undo ftp source-interface
command to cancel the source interface setting.
After you execute this command, the FTP client system decides which interface will be
used for accessing FTP servers.
Example
# Specify Vlan-interface1 as the source interface, so that the FTP client always uses it
to connect with an FTP server.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] ftp source-interface Vlan-interface 1
1.2.16 ftp source-ip
Syntax
ftp source-ip ip-address
undo ftp source-ip
View
System view
Parameter
ip-address
: IP address that is to be specified as the source IP address.
Description
Use the
ftp source-ip
command to specify the source IP address of an FTP client, so
that the FTP client always uses it to connect with an FTP server. The value of argument
ip-address
must be an IP address on the device where the configuration is performed,
and otherwise a prompt appears to show the configuration fails.
Use the
undo ftp source-ip
command to cancel the source IP address setting. After
you execute this command, the FTP client system decides which IP address on it will
be used for accessing FTP servers.
Example
# Specify 192.168.0.1 as the source IP address, so that the FTP client always uses it to
connect with an FTP server.
<Quidway> system-view
System View: return to User View with Ctrl+Z.