R3721-F3210-F3171-HP High-End Firewalls Getting Started Guide-6PW101
102
• When the command keyword alias function is enabled, if a string you entered partially matches a
keyword and an alias, the command indicated by the alias is executed. To execute the command
indicated by the keyword, enter the complete keyword.
• If you enter a string that partially matches multiple aliases, the system gives you a prompt.
Configuration procedure
To configure a command keyword alias:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enable the command
keyword alias function.
command-alias enable
By default, the command keyword
alias function is disabled.
3. Configure a command
keyword alias.
command-alias mapping cmdkey
alias
By default, no command keyword
alias is configured.
You must enter the cmdkey and
alias arguments in their complete
form.
Configuring and using hotkeys
To facilitate CLI operation, the system defines some hotkeys and provides five configurable command
hotkeys. Pressing a command hotkey equals entering a command. For system-reserved hotkeys, see Table
20.
To
configure hotkeys:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure hotkeys.
hotkey { CTRL_G | CTRL_L
| CTRL_O | CTRL_T |
CTRL_U } command
By default:
• Ctrl+G is assigned the display
current-configuration command.
• Ctrl+L is assigned the display ip routing-table
command.
• Ctrl+O is assigned the undo debugging all
command.
No command is assigned to Ctrl+T or Ctrl+U.
3. Display hotkeys.
display hotkey
Optional.
Available in any view. See Table 20 for
hotkeys
reserved by the system.
The hotkeys in Table 20 are defined by the device. If a hotkey is also defined by the terminal software that
you are using to interact with the device, the definition of the terminal software takes effect.
Table 20 Hotkeys reserved by the system
Hotke
y
Function
Ctrl+A Moves the cursor to the beginning of the line.