Operation Manual – FTP and TFTP 
Quidway S5600 Series Ethernet Switches-Release 1510  Chapter 1  FTP and TFTP Configuration
 
Huawei Technologies Proprietary 
1-11 
Operation  Command  Description 
Display the source IP 
address so that the FTP 
client always uses it to 
connect with an FTP 
server 
display ftp source-ip 
This command can be 
executed in any view. 
 
  Note: 
z  The specified interface must be an existing one, and otherwise a prompt appears 
to show the configuration fails. 
z  The value of argument ip-address must be the IP address of the device where the 
configuration is performed, and otherwise a prompt appears to show the 
configuration fails. 
z  The latest connection setting is prior to the fixed setting. That is, if you specify the 
source IP address or source interface that the FTP client uses to connect with an 
FTP server, and the IP address or interface is different from that the FTP client 
always uses to connect to an FTP server, the former will be used for the next 
connection. 
z  Only one of the source interface or source IP address can be set for the FTP client 
at one time. That is, only one of the commands source-interface and ftp-server 
source-ip can be effective at one time. If you execute both of them, the new 
setting will overwrite the original one. 
 
1.1.5  Configuration Example: A Switch Operating as an FTP Client 
I. Network requirements 
A switch operates as an FTP client and a remote PC as an FTP server. 
z  Create a user account on the FTP server with the user name “switch” and 
password “hello”, and authorize the user “switch” with read and write 
permissions on the directory named “Switch” on the PC. 
z  Configure the IP address 1.1.1.1 for a VLAN interface on the switch, and 2.2.2.2 
for the PC. Ensure the route between the two is reachable. 
The switch application named switch.bin is stored on the PC. Download it to the 
switch through FTP to upgrade the switch application, and upload the switch 
configuration file named vrpcfg.cfg to the PC to backup the configuration file.