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).



The open command connects the FTP client and server.


# Connect the FTP client to the FTP server based on the IPv4 address.

open [ -a source-ip-address | -i interface-type interface-number ] host-ip [ port-number ]


Parameter Description Value
-a source-ip-address

Specifies the source IP address for connecting to the FTP client. You are advised to use the loopback interface IP address.

-i interface-type interface-number

Specifies the source interface type and ID. You are advised to use the loopback interface.

The IP address configured for this 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.

host-ip Specifies the IP address or host name of the remote IPv4 FTP server. The value is a string of 1 to 255 case-insensitive characters without spaces.
port-number Specifies the port number of the FTP server. The value is an integer that ranges from 1025 to 55535, or 21. The default value is the standard port number 21.


FTP client view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

You can run the open command in the FTP client view to connect the FTP client to the server to transmit files and manage files and directories of the FTP server.


  • You can run the ftp command in the user view to connect the FTP client and server and enter the FTP client view.

  • You can set the source IP address to the source or destination IP address in the ACL rule when the -a or -i parameter is specified on the IPv4 network. This shields the IP address differences and interface status impact, and incoming and filters outgoing packets, and implements security authentication.
  • If the port number that the FTP server uses is non-standard, you must specify a standard port number; otherwise, the FTP server and client cannot be connected.

  • When you run the open command, the system prompts you to enter the user name and password for logging in to the FTP server. You can log in to the FTP client and enter the FTP client view if the user name and password are correct.


# Connect the FTP client with the FTP server whose IP address is

<Huawei> ftp
[Huawei-ftp] open 
Trying ...
Press CTRL+K to abort
Connected to
220 FTP service ready.
331 Password required for huawei.
Enter password:
230 User logged in.

Related Topics
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 201190

Downloads: 122

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