![Huawei AR2200 Series Скачать руководство пользователя страница 31](http://html.mh-extra.com/html/huawei/ar2200-series/ar2200-series_configuration-manual_169296031.webp)
Action
Command
Define shortcut keys
hotkey
{
CTRL_G
|
CTRL_L
|
CTRL_O
|
CTRL_U
}
command-text
NOTE
When defining the shortcut keys, use double quotation marks to define the command if this command
contains several commands words, that is, if spaces exist in the command.
By default, CTRL_G, CTRL_L and CTRL_O correspond to the following commands
respectively:
l
CTRL_G:
display current-configuration
l
CTRL_L:
undo idle-timeout
l
CTRL_O:
undo debugging all
By default, CTRL_U is not correlated with any command.
NOTE
Using the
undo hotkey
command, you can restore the default.
2.4.3 Use of Shortcut Keys
You can use the shortcut key at any position that allows a command to be entered. The system
executes an entered shortcut key and displays the corresponding command on the screen in the
same way as you enter a complete command.
l
If you have typed part of a command and have not pressed
Enter
, you can press the shortcut
keys to clear the entered command and display the full corresponding command. This
operation has the same effect as that of deleting all commands and then re-entering the
complete command.
l
The shortcut keys are run as the commands, the syntax is recorded to the command buffer
and log for fault location and querying.
NOTE
The terminal in use may affect the functions of the shortcut keys. For example, if the customized shortcut
keys of the terminal conflict with those of the router, the input shortcut keys are captured by the terminal
program and hence the shortcut keys do not function.
Run the following command in any view to display the use of shortcut keys.
Action
Command
Check the usage of shortcut keys.
display hotkey
2.5 Configuration Examples
This section provides several examples for using command lines.
Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration
2 CLI Overview
Issue 02 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
20