18
By default, the system specifies corresponding commands for
Ctrl+G
,
Ctrl+L
and
Ctrl+O
,
while the others are null.
Ctrl+G
corresponds to
display current-configuration
Ctrl+L
corresponds to
display ip routing-table
Ctrl+O
corresponds to
undo debugging all
You can customize this scheme as needed however.
Examples
Example 1:
Assign the hot key
Ctrl+T
to the
display tcp status
command.
<Sysname> system-view
[Sysname] hotkey ctrl_t display tcp status
Example 2:
Display the configuration of hotkeys.
[Sysname] display hotkey
----------------- HOTKEY -----------------
=Defined hotkeys=
Hotkeys Command
CTRL_G display current-configuration
CTRL_L display ip routing-table
CTRL_O undo debug all
CTRL_T display tcp status
=Undefined hotkeys=
Hotkeys Command
CTRL_U NULL
=System hotkeys=
Hotkeys Function
CTRL_A Move the cursor to the beginning of the current line.
CTRL_B Move the cursor one character left.
CTRL_C Stop current command function.
CTRL_D Erase current character.
CTRL_E Move the cursor to the end of the current line.
CTRL_F Move the cursor one character right.
CTRL_H Erase the character left of the cursor.
CTRL_K Kill outgoing connection.
CTRL_N Display the next command from the history buffer.
CTRL_P Display the previous command from the history buffer.
CTRL_R Redisplay the current line.
CTRL_V Paste text from the clipboard.
CTRL_W Delete the word left of the cursor.