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).
change cli

change cli


The change cli command is used to modify command line interface (CLI) settings. Use this command when you need to modify the CLI timeout period, capacity display mode, output paging mode, or command execution confirmation.


change cli { timeout=? | capacity_mode=? | more_enabled=? | silent_enabled=? } *





timeout=? CLI timeout period. You will be automatically logged out of the CLI if you have not used it within the preset period.

The value ranges from 1 to 100, expressed in minutes. The default value of the system is 30 minutes.

capacity_mode=? Capacity display mode. This parameter determines the outputs of storage capacity-associated commands such as "show disk general".

The value can be "automatic" or "precise", where:

  • "automatic": The capacity unit will be automatically adjusted in the output. The capacity unit in the output is automatically adjusted when the output contains a great capacity value. For example, "1024 KB" is changed to "1 MB" in the output.
  • "precise": The capacity unit in the output remains the same as the exact unit generated by the storage system.
The default value is "automatic".
more_enabled=? Whether or not to automatically split the output that spans multiple screens.

The value can be "yes" or "no", where:

  • "yes": When the output spans more than one screen, screen scrolling is suspended. You can press shortcut keys to perform operations. For example, press q or Q to exit the command execution, press Enter to go to the next record, press Space to go to the next page, and press G after the command execution is complete.
  • "no": disables the automatic paging function.
The default value is "yes".
silent_enabled=? Whether or not to display the confirmation message and output for a command that you have just executed.

The value can be "yes" or "no", where:

  • "yes": No confirmation message and output are displayed after commands are executed. The parameter is usually set to "yes" when you use scripts to run commands.
  • "no": The confirmation message and output are displayed after commands are executed.
The default value is "no".


Super administrator

Usage Guidelines

  • To set the CLI timeout period, run "change cli timeout=?". The actual timeout period also depends on the session duration set by third-party tools.
  • To set the capacity display mode, run "change cli capacity_mode=?".
  • To enable or disable the automatic output paging function, run "change cli more_enabled=?".
  • To display or mask the confirmation messages and outputs of commands, run "change cli silent_enabled=?".


  • Set the CLI timeout period to "60" minutes.

    admin:/>change cli timeout=60
    Command executed successfully.
  • Enable the CLI to automatically adjust the capacity unit in the output.

    admin:/>change cli capacity_mode=automatic
    Command executed successfully.
  • Disable the automatic output paging function.

    admin:/>change cli more_enabled=no
    Command executed successfully.
  • Mask the confirmation messages and outputs of commands.

    admin:/>change cli silent_enabled=yes
    Command executed successfully.
  • Run the "show cli configuration" command to query the new settings.

    admin:/>show cli configuration
    More enabled(display page by page) : No
    Silent enabled                     : Yes
    Capacity Mode                      : Automatic
    Timeout                            : 60 min

System Response


Updated: 2019-07-22

Document ID: EDOC1000084195

Views: 361973

Downloads: 1588

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