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.

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).
Context-sensitive Help

Context-sensitive Help

When typing command lines on the command line interface (CLI), you can obtain real-time assistance and guidance using the context-sensitive help.

To trigger the context-sensitive help, typing ? or pressing Ctrl+A on the CLI.

Context-sensitive Help — Using the ? Key

By typing ? on the CLI, you can obtain the usage guidance on CLI basic operations or can view details about an parameter. Here are some examples:

  • To query basic help information such as the information on command line misentries, context-sensitive help messages, command line completion, and available function keys, type ? directly on the CLI.
    admin:/>? //Type the question mark (?) directly. 
    The ^ (a caret) indicates a syntax error occurred in the preceding command 
    statement. The location of a caret in the command statement indicates the 
    location of the syntax error. 
    [?]         - Display context sensitive help. This is either a list of possible 
                  command completions with summaries, or the full syntax of the 
                  current command. A subsequent repeat of this key, when a command 
                  has been resolved, will display a detailed reference. 
    [CTRL+A] - Display available list of the object that can be used as valid 
                  parameter. It is supported in limited context and the tips will be 
                  promoted after the TAB or space key is pressed. 
    The following keys both perform auto-completion for the current command line. 
    If the command prefix is not unique then the bell will ring and a subsequent 
    repeat of the key will display possible completions. 
    [Tab]          - Auto-complete and display possible inputs. 
    [Space]        - Auto-complete. 
    [Up]           - Move to the previous command line held in history. 
    [Down]         - Move to the next command line held in history. 
    [Left]         - Move the insertion point left one character. 
    [Right]        - Move the insertion point right one character. 
    [CTRL+Left] - Move the insertion point left one word. 
    [CTRL+Right] - Move the insertion point right one word. 
    [CTRL+S]       - Move the insertion point to the start of the command line 
    [CTRL+E]       - Move the insertion point to the end of the command line. 
    [CTRL+C]       - Delete the whole line. 
    [CTRL+D]       - Delete the character selected by the cursor. 
    [CTRL+K]       - Delete all the characters to the right of the cursor, including the character selected by the cursor. 
    [Backspace] - Delete the character to the left of the cursor. 
    [Enter]        - Move to the next line. 
    [Space]        - Move to the next page. 
    [G]            - Move to the last page. 
    Some characters cannot be inputed literally. They should be represented with escape sequences, 
    which are character sequences beginning with a backslash ("\'). The following table lists all the 
    escape sequences: 
    \\     A literal backslash, `\'. 
    \s     A space. 
    \q     A question-mark, '?'. 
    \|     A vertical-line, '|'.     
  • To query the available adjacent segments and their details after typing a segment, type ? after the segment followed by a space.
    admin:/>add ?//Type the question mark (?) following a space 
    cache_partition                  Add file system(s) or LUN(s) into cache partition. 
    clone                            Add a LUN to the clone. 
    consistency_group                Add a member to consistency_group. 
    devicemanager                    Change the setting(s) of the devicemanager. 
    disk_domain                      Add disks to disk domain. 
    failover_group                   Add member to the failover group. 
    host                             Add an initiator to the host. 
    host_group                       Add host(s) to host group. 
    hyper_metro_consistency_group Add a HyperCluster pair to a HyperMetro consistency group. 
    hyper_metro_domain               Add a quorum server to HyperMetro domains. 
    hypervault                       Add remote resource to a HyperVault. 
    identity_mapping                 Add a member to identity_mapping. 
    kmc                              Add the configuration information for the key management center. 
    logical_port                     Add a route to the logical port. 
    lun_copy                         Add a target to the LUN copy. 
    lun_group                        Add the LUN(s) to the LUN group. 
    mapping_view                     Add port group to mapping view. 
    mirror_lun                       Add a member to a mirror LUN. 
    notification                     Add a TRAP to the notification. 
    ntp_server                       Add an NTP server for time synchronization. 
    port                             Add a route to the port. 
    port_group                       Add port(s) to port group. 
    quorum_server_link               Add a third-party server link. 
    remote_device                    Add a link to the remote device. 
    resource_group                   Add a AD user(group) to a local resource group. 
    security_rule                    The add security_rule command is used to add a security rule to control the maintenance terminals that attempt to access the storage system. 
    smart_cache_partition            Add the file system or LUN to smart cache partition. 
    smart_cache_pool                 Add the disk to smart cache pool. 
    smartqos_policy                  Add LUN(s) to the SmartQoS policy. 
    smtp_server                      Add an SMTP server used to send emails. 
    snmp                             Add a SNMP USM record. 
    storage_pool                     Add tier to storage pool. 
    virtual_machine                  Add the block(s)/ISO/port(s)/VMTools to the virtual machine.     

Context-sensitive Help — Using the Ctrl+A Combination Keys

By pressing Ctrl+A when specifying parameters for certain commands, you can see the optional values of the parameters. Those values depend on the storage system that is being used. Here is an example:

To view all the available optional values of an operating parameter, press Ctrl+A right after typing the parameter.

admin:/>create disk_domain name=domain disk_list=//Press Ctrl+A to view optional values. 

  ID         Health Status  Running Status  Type          Capacity Role         
  ---------  -------------  --------------  ------------  ---------  -----------  
  DAE999.6 Pre-Fail       Online          SSD           377.861GB  Free Disk 
  DAE999.7 Pre-Fail       Online          SSD           188.649GB  Free Disk 
  DAE999.9 Pre-Fail       Online          SSD           188.649GB  Free Disk 
  DAE999.10  Pre-Fail       Online          SSD           377.861GB  Free Disk 
  DAE999.11  Pre-Fail       Online          SSD           377.861GB  Free Disk 
  DAE999.12  Pre-Fail       Online          SSD           377.861GB  Free Disk 
  DAE999.13  Pre-Fail       Online          SSD           188.649GB  Free Disk 

 Disk Domain ID  Speed(RPM)  Health Mark  Bar Code              Item      AutoLock State 
 --------------  ----------  -----------  --------------------  --------  -------------- 
 --              --          --           210235G7JJ10DB000024  0235G7JJ  OFF 
 --              --          --           210235G7JK10DB000170  0235G7JK  OFF 
 --              --          --           210235G7JK10E1000002  0235G7JK  OFF 
 --              --          --           210235G6BB1000000007  0235G6BB  OFF 
 --              --          --           210235G6BB1000000007  0235G6BB  OFF 
 --              --          --           210235G6BB1000000007  0235G6BB  OFF 
 --              --          --           210235G6BB1000000007  0235G6BB  OFF
Updated: 2020-03-19

Document ID: EDOC1000181601

Views: 406281

Downloads: 56

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next