Configuring And Using Command Keyword Aliases; Configuring And Using Hotkeys - H3C WA4600 Series Fundamentals Configuration Manual

Hide thumbs Also See for WA4600 Series:
Table of Contents

Advertisement

Configuring and using command keyword aliases

The command keyword alias function allows you to replace the first keyword of a non-undo command or
the second keyword of an undo command with your preferred keyword when you execute the command.
For example, if you configure show as the alias for the display keyword, you can enter show in place of
display to execute a display command.
Usage guidelines
After you successfully execute a command by using a keyword alias, the system saves the keyword,
instead of its alias, to the running configuration.
If you press Tab after entering part of an alias, the keyword is displayed.
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:
Step
1.
Enter system view.
2.
Enable the command keyword
alias function.
3.
Configure a command
keyword alias.

Configuring and using hotkeys

To facilitate CLI operation, the system defines the hotkeys shown in
command hotkeys. Pressing a command hotkey is the same as entering a command.
To configure a command hotkey:
Step
1.
Enter system view.
2.
Configure hotkeys.
Command
system-view
command-alias enable
command-alias mapping
alias
Command
system-view
hotkey { CTRL_G | CTRL_L |
CTRL_O | CTRL_T | CTRL_U }
command
6
Remarks
N/A
By default, the command keyword
alias function is disabled.
By default, no command keyword
alias is configured.
cmdkey
You must enter the
alias
arguments in their complete
form.
Table 3
and provides five configurable
Remarks
N/A
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
cmdkey
and

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wa4300 seriesWa4300s series

Table of Contents