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 for Block

OceanStor Dorado V3 Series V300R002

This document is applicable to OceanStor Dorado3000 V3, Dorado5000 V3, Dorado6000 V3 and Dorado18000 V3. Based on the CLI provided by the DeviceManager, 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.
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, command execution confirmation switch, or performance statistics display mode.


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






CLI timeout period. You will be automatically logged out of the CLI if you have not used it for the set period.

The value ranges from 1 to 100, expressed in minutes. The default value of the system is 30 minutes. The parameter value range cannot exceed the session timeout period of the storage system, run the "show safe_strategy" command to query this period.


Capacity display mode. This parameter affects the output of any 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. This option can automatically adjust the capacity unit in the output when the output contains a relative great capacity. For example, this option can display "1024 KB" as "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".


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 deactivated and pressing any key scrolls to the next screen.
  • "no": The automatic output paging function will be disabled.

The default value is "yes".


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 for the command that you have just executed. This option is normally used to mask the output for a script that you have executed.
  • "no": The confirmation message and output are displayed for the command that you have just executed.

The default value is "no".


Performance statistics display mode. This parameter determines the display mode of all performance statistics commands such as "show performance lun".

The value can be "steady" or "scroll", where:

  • "steady": to display performance statistics by steady mode.
  • "scroll": to display performance statistics by scrolling mode.

The default value is "steady".



Usage Guidelines

  • To set a CLI timeout period, run change cli timeout=?.
  • To set a 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 message and output for a command that you have just executed, run change cli silent_enabled=?.
  • To set the performance statistics display mode, run "change cli monitor_style=?".
  • This command is valid only for the current command window. You need to reset in other command windows.


  • 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 message and output for a command that you have just executed.
    admin:/>change cli silent_enabled=yes 
    Command executed successfully.
  • Set the performance statistics display mode to steady.
    admin:/>change cli monitor_style=steady 
    Command executed successfully.
  • Verify the updated settings.
    admin:/>show cli configuration 
    More enabled(display page by page) : No 
    Silent enabled                     : Yes 
    Capacity Mode                      : Automatic 
    Timeout                            : 60 min 
    Monitor Style                      : Steady

System Response


Updated: 2019-07-16

Document ID: EDOC1100049140

Views: 123335

Downloads: 155

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