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

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Advanced O&M Command Reference

OceanStor 5000, 5000F, 6000, and 6000F V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5500 V5, 5600 V5, 5800 V5, 6800 V5, 5300F V5, 5500F V5, 5600F V5, 5800F V5, and 6800F V5. Based on the CLI, this document describes how to use various commands classified by functionsand 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).
cli_server_switch_cfg.sh

cli_server_switch_cfg.sh

Function

The cli_server_switch_cfg.sh command is used to configure whether to use CLI_Server for preloading during CLI startup.

Format

cli_server_switch_cfg.sh [on|off|show] [-h]

Parameters

Parameter

Description

Value

on

Preloading command function using CLI_Server.

-

show

Queries whether the preloading command function using CLI_Server is enabled.

-

off

Stops the preloading command function using CLI_Server.

-

-h

Shows help information.

-

Modes

Minisystem mode

Usage Guidelines

The "cli_server_switch_cfg.sh" command is used to configure how the CLI starts:

  • Use CLI_Server to preload commands, improving login efficiency.
  • By default, do not use CLI_Server to preload commands and load commands independently in each login.

Example

  • Start the preloading command function using CLI_Server.
    Storage: minisystem> cli_server_switch_cfg.sh on 
    Start CLI_Server success. 
    Storage: minisystem>
  • Stop the preloading command function using CLI_Server.
    Storage: minisystem> cli_server_switch_cfg.sh off 
    Stop CLI_Server success. 
    Storage: minisystem>
  • Query whether the preloading command function using CLI_Server is enabled.
    Storage: minisystem> cli_server_switch_cfg.sh show 
    CLI Server Switch : on 
    CLI Server Start Status : on 
    CLI Server Running Status : start 
    CLI Server PID : 61871 
    Storage: minisystem>

System Response

None

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 615915

Downloads: 244

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