7
Configuring CLI hotkeys
Follow these steps to configure CLI hotkeys:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure CLI hotkeys
hotkey
{
CTRL_G
|
CTRL_L
|
CTRL_O
|
CTRL_T
|
CTRL_U
}
command
Optional
The
Ctrl+G
,
Ctrl+L
and
Ctrl+O
hotkeys are specified at the CLI by
default.
Display hotkeys
display hotkey
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
for hotkeys reserved by the system.
NOTE:
By default, the
Ctrl+G
,
Ctrl+L
and
Ctrl+O
hotkeys are associated with pre-defined commands as defined
below, but the
Ctrl+T
and
Ctrl+U
hotkeys are not.
•
Ctrl+G
corresponds to the
display current-configuration
command.
•
Ctrl+L
corresponds to the
display ip routing-table
command.
•
Ctrl+O
corresponds to the
undo debugging all
command.
Table 3
Hotkeys reserved by the system
Hotkey Function
Ctrl+A
Moves the cursor to the beginning of the current line.
Ctrl+B
Moves the cursor one character to the left.
Ctrl+C
Stops performing a command.
Ctrl+D
Deletes the character at the current cursor position.
Ctrl+E
Moves the cursor to the end of the current line.
Ctrl+F
Moves the cursor one character to the right.
Ctrl+H
Deletes the character to the left of the cursor.
Ctrl+K
Terminates an outgoing connection.
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 the current line information.
Ctrl+V
Pastes the content in the clipboard.
Ctrl+W
Deletes all the characters in a continuous string to the left of the cursor.
Ctrl+X
Deletes all characters to the left of the cursor.
Ctrl+Y
Deletes all characters to the right of the cursor.
Ctrl+Z
Exits to user view.
Ctrl+]
Terminates an incoming connection or a redirect connection.