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

OceanStor BCManager 6.5.0 eBackup Command Reference 01

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).
Assistant Operations for Commands

Assistant Operations for Commands

Function

  • Shortcut key: F1
    • If you press F1 before entering a command, CLI help information is displayed, listing shortcut keys supported by the CLI.
    • If you press F1 when a command is partially or completely entered, the parameter information about the command is displayed.
  • Assistant Operations for Query Commands

    After entering a query command, you can use a pipe symbol (|) to filter query results. filterColumn and filterRow are supported.

    • filterColumn:

      Exclude or include columns. Exclude: The excluded columns will not be displayed in the query results. Include: Only the included columns will be displayed in the query results.

    • filterRow:

      Supported conditions include: not, equal_to, greater_than, greater_equal, less_than, less_equal, and match.

      If you enter condition not, you need to enter equal_to, greater_than, greater_equal, less_than, less_equal, or match as the second condition.

Example

1. Press F1 before entering a command.

ERROR REPORTING 
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. 

CONTEXT SENSITIVE HELP 
[F1]         - 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. 

AUTO-COMPLETION 
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. 

MOVEMENT KEYS 
[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+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. 

DELETION KEYS 
[CTRL+C]     - Delete the whole line. 
[CTRL+K]     - Delete all the characters to the right of the insertion point. 
[CTRL+D]     - Delete the character to the right on the insertion point. 
[Delete]     - Delete the character to the right on the insertion point. 
[Backspace]  - Delete the character to the left of the insertion point. 

PAGING KEYS 
[Enter]      - Move to the next line. 
[Space]      - Move to the next page. 
[SHIFT+g]    - Move to the last page.

2. Press F1 when a command is partially or completely entered.

management:/>show server      
show server 

usage:  
show server [page=?] [page_size=?]  

parameters: 
[page=?]            (1-10000) 
[page_size=?]       The number of records to be displayed per page.(15-100)

3. Perform filterColumn on the query results.

management:/>show server|filterColumn exclude ID 
Total records:2, page size:50, total pages:1. 

  Role           Backup Management Plane IP Address  Internal Communication Plane IP Address  Accessibility Status  Register Status  Version       
  -------------  ----------------------------------  ---------------------------------------  --------------------  ---------------  ----------- 
  Backup server  172.16.2.18                         192.168.2.18                             Accessible            Registered       V100R002C00 
  Backup proxy 172.16.2.18                         192.168.2.18                             Accessible            Registered       V100R002C00 


management:/>show server |filterColumn include Role 
Total records:2, page size:50, total pages:1. 

  Role            
  ------------- 
  Backup server 
  Backup proxy

4. Perform filterRow on the query results.

management:/>show server|filterRow ID greater_than 2 
Total records:3, page size:50, total pages:1. 

  ID  Role           Backup Management Plane IP Address  Internal Communication Plane IP Address  Accessibility Status  Register Status  Version       
  --  -------------  ----------------------------------  ---------------------------------------  --------------------  ---------------  ----------- 
  3 Backup proxy 172.16.2.18                         192.168.2.18                             Accessible            Registered       V100R002C00 


management:/>show server|filterRow ID less_than 2 
Total records:3, page size:50, total pages:1. 

  ID  Role           Backup Management Plane IP Address  Internal Communication Plane IP Address  Accessibility Status  Register Status  Version       
  --  -------------  ----------------------------------  ---------------------------------------  --------------------  ---------------  ----------- 
  1 Backup server  172.16.2.18                         192.168.2.18                             Accessible            Registered       V100R002C00      
Download
Updated: 2019-04-26

Document ID: EDOC1100079912

Views: 3291

Downloads: 1

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