hotkey
Use hotkey to assign a command to a configurable hotkey.
Use undo hotkey to restore the default.
Syntax
hotkey { CTRL_G | CTRL_L | CTRL_O | CTRL_T | CTRL_U } command
undo hotkey { CTRL_G | CTRL_L | CTRL_O | CTRL_T | CTRL_U }
Default
Ctrl_G: display current-configuration (display the running configuration).
Ctrl_L: display ip routing-table (display the IPv4 routing table information).
Ctrl_O: undo debugging all (disable all debugging functions).
Ctrl_T: No command is assigned to this hotkey.
Ctrl_U: No command is assigned to this hotkey.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
CTRL_G: Assigns a command to Ctrl+G.
CTRL_L: Assigns a command to Ctrl+L.
CTRL_O: Assigns a command to Ctrl+O.
CTRL_T: Assigns a command to Ctrl+T.
CTRL_U: Assigns a command to Ctrl+U.
command: Specifies the command to be assigned to the hotkey.
Usage guidelines
The system defines some hotkeys and provides five configurable command hotkeys. Pressing a hotkey executes the command assigned to the hotkey.
To display system-defined and configurable hotkeys, use the display hotkey command.
Examples
# Assign the display tcp status command to hotkey Ctrl+T.
<Sysname> system-view [Sysname] hotkey ctrl_t display tcp status
Related commands
display hotkey