No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
ftp server-source

ftp server-source


The ftp server-source command specifies the source IP address for the FTP server to send packets.

The undo ftp server-source command restores the default source IP address for the FTP server to send IP address.

The default source IP address for the FTP server to send packets is


ftp server-source { -a source-ip-address | -i interface-type interface-number }

undo ftp server-source


Parameter Description Value
-a source-ip-address

Specifies the source IP address. You are advised to use the loopback interface IP address.

-i interface-type interface-number

Specifies the source interface. You are advised to use the loopback interface.

The IP address configured for the source interface is the source IP address for sending packets. If no IP address is configured for the source interface, the FTP connection cannot be set up.



System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

If no source IP address ( by default) is specified, the FTP server uses the source IP address that the router specifies to send packets. The source IP address must be configured for an interface with stable performance. The loopback interface is recommended. Using the loopback interface as the source interface simplifies the ACL rule and security policy configuration. This shields the IP address differences and interface status impact, and incoming and filters outgoing packets, and implements security authentication.


  • After the source IP address is specified for the FTP server, you must use the specified IP address to log in to the FTP server.
  • If FTP services have been enabled, the FTP service restarts after the ftp server-source command is executed.


# Set the source IP address of the FTP server to LoopBack0.

<Huawei> system-view
[Huawei] ftp server-source -i loopback0
Warning: To make the server source configuration take effect, the FTP server will be restarted. Continue? (y/n)[n]: y
Info: Succeeded in setting the source interface of the FTP server to LoopBack0
Warning: FTP is not a secure protocol, and it is recommended to use SFTP.
Info: Succeeded in starting the FTP server
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 201314

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next