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.


CLI-based Configuration Guide - Basic Configuration

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the Basic configuration supported by the device.
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).
Using Command Line Shortcut Keys

Using Command Line Shortcut Keys

You can use shortcut keys provided by the device to quickly enter commands.

There are two types of shortcut keys:
  • User-defined shortcut keys: include Ctrl+G, Ctrl+L, Ctrl+O, and Ctrl+U. You can associate these shortcut keys with any commands. When a shortcut key is pressed, the system runs the corresponding command.

  • System-defined shortcut keys: shortcut keys defined in the system that have fixed functions. Users cannot define these shortcut keys. Table 1-5 lists the frequently used system-defined shortcut keys.


The terminal in use may affect the functions of the shortcut keys. For example, if the shortcut keys defined by the terminal conflict with those defined in the system, the shortcut keys entered by the user are captured by the terminal program and the commands corresponding to the shortcut keys are not executed.

User-defined Shortcut Keys

When a user frequently uses a command or some commands, the user can use shortcut keys to define these commands. Only management-level users have the rights to define shortcut keys. The configurations are as follows:
  1. Run the system-view command to enter the system view.
  2. Run the hotkey { CTRL_G | CTRL_L | CTRL_O | CTRL_U } command-text command to configure a shortcut key corresponding to a command.
The system supports four user-defined shortcut keys and the default values are as follows:
  • Ctrl+G: display current-configuration

  • Ctrl+L: undo idle-timeout

  • Ctrl+O: undo debugging all

  • Ctrl+U: Null

  • When defining shortcut keys, use double quotation marks to define the command if this command contains several keywords separated by spaces. For example, hotkey ctrl_l "display tcp status". Do not use double quotation marks to define a command if the command contains only one keyword.

  • Run the display hotkey command to view the status of the defined, undefined, and system-defined shortcut keys.

  • Run the undo hotkey command to restore default values of the configured shortcut keys.

  • Shortcut keys are executed in the same way as commands. The system can record commands in their original formats in the command buffer and logs to help query and locate the fault.

  • The user-defined shortcut keys are available to all users. If a user does not have the rights to use the command defined by a shortcut key, the system displays an error message when this shortcut key is executed.

System-defined Shortcut Keys

Table 1-5  System-defined shortcut keys




Moves the cursor to the beginning of the current line.


Moves the cursor back one character.


Stops performing current functions.


Deletes the character where the cursor is located at.


Moves the cursor to the end of the last line.


Moves the cursor forward one character.


Deletes the character on the left side of the cursor.


Stops outgoing connections in the call establishment stage.


Displays the next command in the history command buffer.


Displays the previous command in the history command buffer.


Function as a question mark.


Deletes a character string on the left side of the cursor.


Deletes all the characters on the left side of the cursor.


Deletes all the characters on the right side of the cursor and the character where the cursor is located at.


Returns to the user view.


Stops incoming connections or redirects the connections.


Moves the cursor back one word.


Deletes one word on the right side of the cursor.


Moves the cursor forward one word.

Updated: 2019-08-08

Document ID: EDOC1100034066

Views: 84216

Downloads: 472

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