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 10

OceanStor 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 Storage System V300R003

"Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions."
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 Line Completion

Command Line Completion

On the command line interface (CLI), you can either press the Tab or space key to complete a command line in stages.

Though both keys can be used to complete the operating segment of a command line, they imply a difference. Pressing the Tab key completes the operating segment while displaying all the possible values for the segment, whereas pressing the space key simply completes the operating segment. The following example is based on using the Tab key.
  • Press Tab once to display the available starting segments of a command line.
    admin:/>//Press Tab.
    add                 change              clear
    create              delete              exit
    export              help                import
    pause               poweroff            poweron
    reboot              remove              restore
    resume              scan                show
    swap                test                upgrad
  • After the starting segment is determined and completed, press Enter once to display the available adjacent segments of the starting segment.
    admin:/>add//Press Enter.
    cache_partition                  clone
    consistency_group                devicemanager
    disk_domain                      failover_group
    host                             host_group
    hyper_metro_consistency_group    hyper_metro_domain
    hypervault                       identity_mapping
    kmc                              logical_port
    lun_copy                         lun_group
    mapping_view                     mirror_lun
    notification                     ntp_server
    port                             port_group
    quorum_server_link               remote_device
    resource_group                   security_rule
    smart_cache_partition            smart_cache_pool
    smartqos_policy                  smtp_server
    snmp                             storage_pool
  • When part of a segment has been typed and its intact form can be determined by the CLI, pressing Tab once completes the segment while displaying available adjacent segments.
    admin:/>add po//Press Tab.
    admin:/>add port
    port               port_group
  • When an intact command line has been typed, pressing Enter responds you with a message stating that the command line can be executed. In this condition, pressing Enter executes the command line.
    admin:/>add port ipv4_route eth_port_id=ENG0.A3.P0 type=net target_ip= mask= gateway= Enter.
    DANGER: You are about to change the route of port. If the route is unavailable, this operation
    will disconnect the storage system from hosts.
    Suggestion: Before performing this operation, ensure that the entered route is available.
    Have you read danger alert message carefully?(y/n)y
    Are you sure you really want to perform the operation?(y/n)
    Command executed successfully.
Updated: 2019-07-22

Document ID: EDOC1000084195

Views: 362679

Downloads: 1590

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