
•To set the configuration file for next startup, type st s.
You can also press Tab to have an incomplete keyword automatically completed.
Configuring command aliasesThe command alias function allows you to replace the first keyword of a command with your preferred keyword. For example, if you configure show as the replacement for the display keyword, then to execute the display xx command, you can input the command alias show xx.
Note the following guidelines when configuring a command alias:
•You can define and use a command alias but the command is not restored in its alias format.
•When you define a command alias, the cmdkey and alias arguments must be in their complete form.
•When you input an incomplete keyword that partially matches both a defined alias and the keyword of a command, the alias takes precedence. To execute the command whose keyword partially matches your input, input the complete keyword. When you input a character string that partially matches multiple aliases, the system gives you prompts.
•If you press Tab after you input an alias keyword, the original format of the keyword is displayed.
•You can replace only the first keyword of a
Follow these steps to configure command aliases:
To do… | Use the command… | Remarks | |
Enter system view | — | ||
|
|
| |
|
| Required | |
Enable the command alias function | Disabled by default, which means | ||
you cannot configure command | |||
|
| ||
|
| aliases. | |
|
|
| |
Configure a command alias | Required | ||
alias | Not configured by default. | ||
| |||
|
|
|
Follow these steps to configure CLI hotkeys:
To do… | Use the command… | Remarks | |
Enter system view | — | ||
|
|
| |
| hotkey { CTRL_G CTRL_L | Optional | |
| The Ctrl+G, Ctrl+L and Ctrl+O | ||
Configure CLI hotkeys | CTRL_O CTRL_T CTRL_U } | ||
hotkeys are specified at the CLI by | |||
| command | ||
| default. | ||
|
| ||
|
|
| |
Display hotkeys | display hotkey | Available in any view. See Table 3 | |
for hotkeys reserved by the system. | |||
|
| ||
|
|
|
6