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

Configuration Guide - Basic Configuration

S9300, S9300E, and S9300X 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.

NOTE:

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

NOTE:
  • 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

Key

Function

Ctrl+A

Moves the cursor to the beginning of the current line.

Ctrl+B

Moves the cursor back one character.

Ctrl+C

Stops performing current functions.

Ctrl+D

Deletes the character where the cursor is located at.

Ctrl+E

Moves the cursor to the end of the current line.

Ctrl+F

Moves the cursor forward one character.

Ctrl+H

Deletes the character on the left side of the cursor.

Ctrl+K

Stops outgoing connections in the call establishment stage.

Ctrl+N

Displays the next command in the history command buffer.

Ctrl+P

Displays the previous command in the history command buffer.

Ctrl+R

Redisplays information about the current line.

Ctrl+T

Stops outgoing connections.

Ctrl+V

Pastes the text of the clipboard.

Ctrl+W

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

Ctrl+X

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

Ctrl+Y

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

Ctrl+Z

Returns to the user view.

Ctrl+]

Stops incoming connections or redirects the connections.

Esc+B

Moves the cursor back one word.

Esc+D

Deletes one word on the right side of the cursor.

Esc+F

Moves the cursor forward one word.

Esc+N

Moves the cursor downward a line.

Esc+P

Moves the cursor upward a line.

Esc+<

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

Esc+>

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

Translation
Download
Updated: 2019-04-17

Document ID: EDOC1000178413

Views: 68251

Downloads: 109

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