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

Reminder

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

upgrade

Command Reference

OceanStor 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5 storage systems. It describes hardware installation of those storage systems for helping you easily and quickly finish the installation.

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

import license

Function

The import license command is used to import a license file. If you want to use value-added features or update license files, run this command.

Format

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

Parameters

Parameter

Description

Value

ip=? IP address of the FTP or SFTP server. License files can be imported only when the FTP server or SFTP server is accessible to the storage system.

-

user=? Username for logging in to the FTP server or SFTP server.

The value consists of 1 to 63 ASCII characters.

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

The value consists of 1 to 63 ASCII characters.

license_path=? Name and path of the license file to be imported.

The file name extension of license files must be .dat. The file name must be supported by the FTP and SFTP server.

port=? Port number of the FTP or 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 SFTP.

Level

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 import a license file only from an FTP server or SFTP server connecting to the storage system.
    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.
  • This operation will overwrite the previous license file. Before performing this operation, check whether the license file is correct. If a feature is deleted from the newly imported license, the feature configuration will not be lost, but you cannot perform any management operations, such as adding, deleting, or modifying the feature.
  • 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.

Example

Import a license file which name is "license.dat", where the IP address of the FTP server for storing the license file is "10.10.10.1", the user name for accessing the FTP server is "admin", and the user's password is "123456".

admin:/>import license ip=10.10.10.1 user=admin password=****** license_path=license.dat protocol=FTP  
WARNING: You are about to import a license file. This operation will overwrite the previous license file. Before performing this operation, check whether the license file is correct. If a feature is deleted from the newly imported license, the feature configuration will not be lost, but you cannot perform any management operations, such as adding, deleting, or modifying the feature.
Suggestion: Before you perform this operation, ensure that the license file to be imported is correct.
Have you read warning message carefully?(y/n)y
 
Are you sure you really want to perform the operation?(y/n)y
Command executed successfully.

System Response

None

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181601

Views: 380530

Downloads: 56

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next