Configuring cli hotkeys – H3C Technologies H3C S7500E Series Switches User Manual
Page 19
1-8
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable the command alias
function
command-alias enable
Required
Disabled by default, which means
you cannot configure command
aliases.
Configure a command alias
command-alias mapping cmdkey
alias
Required
Not configured by default.
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
Available in any view. See
for hotkeys reserved by the
system.
By default, the Ctrl+G, Ctrl+L and Ctrl+O hotkeys are associated with corresponding commands and
the Ctrl+T and Ctrl+U hotkeys are not.
z
Ctrl+G corresponds to the display current-configuration command.
z
Ctrl+L corresponds to the display ip routing-table command.
z
Ctrl+O corresponds to the undo debugging all command.
Table 1-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.