Command Manual – System Maintaining and Debugging
H3C S7500E Series Ethernet Switches Chapter 1 Basic Configuration Commands
1-17
CTRL_U: Assigns the hot key <Ctrl+U> to a command.
command: The command line associated with the hot key.
Description
Use the hotkey command to assign a hot key to a command line.
Use the undo hotkey command to restore the default.
By default, the system specifies corresponding commands for <Ctrl+G>, <Ctrl+L> and
<Ctrl+O>, while the others are null.
z <Ctrl+G> corresponds to display current-configuration
z <Ctrl+L> corresponds to display ip routing-table
z <Ctrl+O> corresponds to undo debugging all
You can customize this scheme as needed however.
Examples
# Assign the hot key <Ctrl+T> to the display tcp status command.
<Sysname> system-view
[Sysname] hotkey ctrl_t display tcp status
# 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.