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).
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.
  • To quit the context-sensitive help, type q.
  • To move backward or forward within help information screens, press PageUp or PageDown respectively. To move upward or downward within the same help information screen, press or respectively.

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 to the right on the insertion point.
    [CTRL+K]    - Delete all the characters to the right of the insertion point.
    [Backspace] - Delete the character to the left of the insertion point.
    [Enter]     - Move to the next line.
    [Space]     - Move to the next page.
    [SHIFT+G]   - Move to the last page.
  • 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
    clone                Add a LUN to the clone
    consistency_group    Add a remote replication to the consistency group
    disk_domain          Add disks to disk domain
    host                 Add an initiator to the host
    host_group           Add host(s) to host group
    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
    notification         Add a trap notification record
    port                 Add a route to the port
    port_group           Add port(s) to port group
    remote_device        Add a link to the remote device
    security_rule        Add a security rule
    smartqos_policy      Add LUN(s) to the SmartQoS policy
    snmp                 Add a SNMP USM record
    storage_pool         Add tier to storage pool

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    
---------  -------------  --------------  ------------  ----------  
ENG0.4     Normal         Online          SSD             92.596GB  
ENG0.9     Normal         Online          SSD             92.596GB  
DAE000.3   Normal         Online          SAS            136.169GB  
DAE000.4   Normal         Online          SAS            837.799GB  
DAE000.5   Normal         Online          SAS            278.833GB  
DAE000.6   Normal         Online          SAS            136.169GB  
DAE000.7   Normal         Online          SAS            837.799GB  
DAE000.8   Normal         Online          SAS            558.348GB  
DAE000.10  Normal         Online          SAS            278.833GB  
DAE000.12  Normal         Online          SAS            278.833GB  
DAE000.13  Normal         Online          SAS            558.348GB  
DAE000.17  Normal         Online          SAS            837.799GB  
DAE000.19  Normal         Online          SAS            837.799GB  
DAE000.20  Normal         Online          SAS            837.799GB  

Role         Disk Domain ID  Speed(RPM)  Health Mark
-----------  --------------  ----------  -----------
Free Disk    --              --          --
Free Disk    --              --          --
Free Disk    --              10000       87
Free Disk    --              10000       100
Free Disk    --              10000       86
Free Disk    --              10000       --
Free Disk    --              10000       100
Free Disk    --              10000       84
Free Disk    --              10000       98
Free Disk    --              10000       87
Free Disk    --              10000       84
Free Disk    --              10000       100
Free Disk    --              10000       100
Free Disk    --              10000       100
Updated: 2019-07-22

Document ID: EDOC1000106139

Views: 319738

Downloads: 210

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