NOTE:
The hotkeys in Table 3 are defined by the switch. If the same hotkeys are defined by the terminal software that you use to interact with the switch, the hotkeys defined by the terminal software take effect.
Redisplaying input but not submitted commands
If your command input is interrupted by output system information, you can use this feature to redisplay the commands input previously but not submitted.
Follow these steps to enable redisplaying of commands previously input but not submitted:
To do… | Use the command… | Remarks | |
Enter system view | — | ||
|
|
| |
Enable redisplaying of input but | Required | ||
not submitted commands | Disabled by default | ||
| |||
|
|
| |
|
|
|
NOTE:
•If you have no input at the command line prompt and the system outputs system information such as logs, the system will not display the command line prompt after the output.
•If the system outputs system information when you are typing interactive information (not YES/NO for confirmation), the system does not redisplay the prompt information but a line break after the output and then display what you have typed.
•For more information about the
Checking command-line errors
If a command contains syntax errors, the CLI reports error information.
Table 4 Common command line errors
Error information | Cause |
% Unrecognized command found at '^' position. | The command was not found. |
|
|
% Incomplete command found at '^' position. | Incomplete command |
|
|
% Ambiguous command found at '^' position. | Ambiguous command |
|
|
Too many parameters | Too many parameters |
|
|
% Wrong parameter found at '^' position. | Wrong parameters |
|
|
Using command history
The CLI automatically saves the commands recently used in the history command buffer. You can access these commands and execute them again.
8