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

Command Overview

You can manage and maintain the storage system using command-line interface (CLI) commands provided by the storage system.

NOTE:
This document describes commands used by customers when they use devices to deploy and maintain a network. Commands used for production, installation, and deport repair are not described in this document. Some advanced commands are used to implement a project or locate faults. Improper use of those commands may cause device exceptions or service interruptions. This document does not provide the advanced commands. If you need such commands, contact technical support.

Categories of CLI Commands

Table 1-1 describes all categories of CLI commands supported by the storage system.

Table 1-1  Categories of CLI commands

Category

Sub-Category

Device Management

Cluster Management Commands

Device Management Commands

Service Management

Directory Management Commands

Protocol Management Commands

Authentication Management Commands

Object Storage Management Commands

Value-added Feature Management

Tiered Storage Management Commands

Node Pool Management Commands

Quota Management Commands

WORM Management Commands

Fault Tolerance Management Commands

Data Protection Management Commands

Antivirus Managerment Commands

Maintenance Management

Basic Operation Commands

User Management Commands

License Management Commands

Alarm Management Commands

SNMP Management Commands

Performance Management Commands

Task Management Commands

Command Conventions

You are required to follow the format conventions when using CLI commands.

Table 1-2 lists the format conventions.

Table 1-2  Command format conventions
Format Description
Boldface The command words of command lines are in boldface in documents while these command words are not in boldface on the CLI.
Normal Command argument values are in the normal pattern.
<Normal> Command argument values are in the <Normal> pattern. Items in angle brackets (<>) are mandatory.
[xy...] Items in brackets ([]) are optional.
{x|y|...} Items in braces ({}) are optional and only one item is selectable.
[x|y|...] Only one or none of the items grouped in brackets and separated by vertical bars can be selected.
{x|y|...}* Some or all of the items grouped in braces and separated by vertical bars can be selected.

Level

The levels of the CLI commands include:

  • Super administrator level

    Super administrators can execute this level of commands, such as creating, modifying, or deleting users, while administrators, resource administrators, device administrators and read-only users cannot execute these commands.

  • Administrator level

    Super administrators and administrators can execute this level of commands, such as enabling or disabling a business or service, while resource administrators, device administrators, and read-only users cannot execute these commands.

  • Resource administrator level

    Super administrators, administrators, and resource administrators can execute this level of commands and commands for managing systems and alarm information, while device administrators and read-only users cannot execute these commands.

  • Device administrator level

    Super administrators, administrators, and device administrators can execute this level of commands and commands for managing cluster systems and alarm information, while resource administrators and read-only users cannot execute these commands.

  • Read-only user level

    Super administrators, administrators, resource administrators, device administrators, and read-only users can execute this level of commands, such as querying a business or service.

Command Supplement

You can use the command supplement function by pressing Tab. When you enter a part of the command, the system identifies the command through the entered letters. As you press Tab, the command will be supplemented.
NOTE:
  • If the entered letters match multiple commands, a command list is displayed for users to choose a desired one.
  • If entered letters match only one command, the remaining part of the command is automatically replenished and the cursor is moved to the end of the command.
For example, enter show on the CLI.
admin:/>show      # Press Tab. All commands beginning with show are displayed.
alarm                             alarmlevel                        
cli                               cpu                               
...
admin:/>show cli c      # Further replenish the command to narrow the range.
admin:/>show cli configuration       # Press Tab. The system replenishes the command.
Command is executable now.
admin:/>show cli configuration       # Press Enter to run the command.

  More enabled(display page by page) : Yes
  Silent enabled                     : No
  Capacity Mode                      : Automatic
  Timeout                            : 600s
NOTE:
When entering CLI characters, escape the characters except the password. That is, use \s to replace spaces, \q to replace ?, \| to replace |, and \\ to replace \. Otherwise, the commands cannot be identified.

Argument Input

If press Ctrl+A to view available list is displayed after you enter an argument, press Ctrl+A to view available values.

For example, enter delete snmp usm on the CLI.
admin:/>delete snmp usm   # Press Tab. The system prompts mandatory parameters.
<usm_id>            USM id, string using alphanumeric, _(underscore), .(dot) ,
                    @, or -(hyphen)(length is from 1 to 127), press Ctrl+A to
                    view available list

admin:/>delete snmp usm   # Press Ctrl+A to view available values.
  ID  User Name
  --  ---------
  0   user1
  ... ...
  --More--                # Enter q to return to the command execution page.

admin:/>delete snmp usm 0 user1    # Run the command to delete SNMP USM user whose usm_id is 0 and user_name is user1.
Command executed successfully.

Usage Description

  • Users who have various permissions can query only the help information of commands under their permissions.
  • Run the help [commandname] command to display the help information of a command that you want to query.
  • Enter q to return to the command execution page.
  • The CLI supports only characters in the ASCII format, and the command output supports both characters in the ASCII and UTF-8 formats.

Use Restriction

During the online upgrade, use the management IP address of the storage system to log in to the node and run CLI commands to prevent CLI commands from being sent across versions.

Effective Scope of Commands

Unless otherwise specified, all commands can take effect only on clusters. In a multi-region scenario, you need to run the corresponding command on each cluster.

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 25383

Downloads: 7

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