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.


Configuration Guide - Basic Configuration

S7700 and S9700 V200R011C10

This document describes methods to use command line interface and to log in to the device, file operations, and system startup configurations.

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-2 lists the frequently used system-defined shortcut keys.

The terminal in use may affect the functions of the shortcut keys because the shortcut keys entered by the user are captured by the terminal program. For example, if the shortcut keys defined by the terminal conflict with those defined in the system, 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 and configuration-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: display ip routing-table

  • 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-2  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 current 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.


Redisplays information about the current line.


Stops outgoing connections.


Pastes the text of the clipboard.


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.


Moves the cursor downward a line.


Moves the cursor upward a line.


Locates the cursor at the start of text in the clipboard.


Locates the cursor at the end of text in the clipboard.

Updated: 2020-02-04

Document ID: EDOC1000178308

Views: 101541

Downloads: 152

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next