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

OceanStor 9000 V5 7.0 Command Reference 03

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 camera

import camera

Function

The import camera command is used to import camera configurations in a batch.

Format

import camera <file_type> <file_name> <file_ip> <file_port> <file_path> <file_user>

Parameters

Parameter

Description

Value

file_type File type.

1. xls: xls format.

2. xlsx: xlsx format.

file_name Name of a file on the SFTP server.

1.The file name can contain uppercase letters, lowercase letters, digits, hyphens (-), underscores (_), and periods (.).

2.Period (.) cannot be used as the first character and two consecutive periods are not allowed.

3.The file name extension must be .xls or .xlsx.

4.The length ranges from 5 to 64 characters.

file_ip IP address of the SFTP server.

The format is IPv4 or IPv6..

file_port Port number of the SFTP server.

1~65535. Normally it will be 22.

file_path Path of a file on the SFTP server.

The file path is similar to '/test/'.The length ranges from 1 to 256 characters. Ensure that the path exists.

file_user User name for logging in to an SFTP server.

1. The file path can contain uppercase letters, lowercase letters, digits, underscores (_), hyphens (-), and periods (.)

2. The first character must be a letter, and the last character cannot be an underscore (_), a hyphen (-), or a period (.).

3. The file path is a string of 1 to 64 characters.

password Password for logging in to the SFTP server.

The value is a string of 1 to 64 characters.

Level

Resource administrator

Usage Guidelines

You can run the import camera command to import camera configurations in a batch.

Example

Import camera configurations in a batch.

admin:/>import camera xls batch_template_lifecycle_1.xls 192.168.100.11 22 /home/omuser/ omuser
Please input your password:**************
CAUTION: You are about to add cameras in a batch. Check whether the lifecycle parameter is set to a large value. If the data storage period is too long, the system capacity may be used up.
Suggestion: Ensure that the lifecycle parameter is set to a proper value.
Do you wish to continue?(y/n)y
  result : all rows has been imported successfully,successful rows:1. 

System Response

The following table describes the parameter meanings.

Parameter

Meaning

result

the result of importing camera configurations in a batch.

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 24596

Downloads: 7

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