Command line error information, Typing and editing commands, Completing a partial command name – H3C Technologies H3C S5120 Series Switches User Manual
Page 29: Editing command lines

1-15
clipboard
clock
cluster
Command Line Error Information
If a command you typed contains syntax errors, the CLI reports error information.
lists some
common command line errors.
Table 1-3 Common command line errors
Error information
Cause
The command was not found.
The keyword was not found.
The parameter type is wrong.
% Unrecognized command found at '^' position.
The parameter value is beyond the allowed range.
% 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
Typing and Editing Commands
Completing a partial command name
The H3C switch series supports completing a partial command name for efficient input of commands.
If in the current view, the character string you have typed can already uniquely identify a keyword, you
do not need to type the complete keyword.
For example, in user view, commands starting with an s include save, startup saved-configuration,
and system-view.
z
To save the current configuration, type sa.
z
To set the configuration file for next startup, type st s.
z
To enter system view, type sy.
You can also press Tab to have a partial keyword automatically completed, and check that the keyword
is the one you intended to use.
Editing command lines
lists some shortcut keys you can use to edit command lines.
Table 1-4 Editing functions
Key
Function
Common keys
If the edit buffer is not full, insert the character at the position of the cursor and
move the cursor to the right.
Backspace
Deletes the character to the left of the cursor and move the cursor back one
character.