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.


OceanStor 2200 V3 and 2600 V3 Storage System V300R005 Command Reference 06

"Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese commands."
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).
export license

export license


The export license command is used to export license files.


export license ip=? user=? password=? license_path=? [ port=? ] [ protocol=? ]





ip=? IP address of an File Transfer Protocol (FTP) server or a Secure File Transfer Protocol (SFTP) server. To export a license file, an FTP server or a SFTP server must be available and is accessible to the storage system.


user=? Name of a user for logging in to an FTP server or a SFTP server.

The value contains 1 to 63 characters.

password=? Password for logging in to an FTP server or a SFTP server.

The value contains 1 to 63 characters.

license_path=? File name of and path to a license file that you want to export.

The file name extension of a correct license file must be .dat.

port=? ID of the employed port on an FTP server or a SFTP server.

The value is an integer ranging from 1 to 65535.

  • If protocol=FTP, the default value is "21".
  • If protocol=SFTP, the default value is "22".
protocol=? Protocol type.

The value can be "FTP" or "SFTP". The default value is "SFTP".

To ensure the security of data transfer, you are advised to use Secure File Transfer Protocol (SFTP).


Super administrator

Usage Guidelines

  • A license file can activate a value-added function for the storage system. To enable a value-added function, you must purchase and import a license file for the function.
  • This command can export license only from the storage system to an connecting FTP server or SFTP server.
    Prerequisites for using this command:
    • The FTP server or SFTP server is accessible to the storage system.
    • The FTP service or SFTP service has been started on the server.
  • The license file to be exported must be valid for the desired value-added function.
  • If the storage system serves as a server in the file transfer with external systems, it supports the SFTP service only. If the storage system serves as a client, it supports both the FTP and SFTP services.


To export a license file which name is "license.dat", where the IP address of the FTP server for storing the license file is "", the user name for accessing the FTP server is "admin", and the user's password is "123456", run the following command:

admin:/>export license ip= user=admin password=****** license_path=license.dat protocol=FTP
Command executed successfully.

System Response


Updated: 2019-07-22

Document ID: EDOC1000106139

Views: 317512

Downloads: 210

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