Understanding command-line error messages, Using the command history function – H3C Technologies H3C SecBlade LB Cards User Manual

Page 188

Advertising
background image

178

Enabling redisplaying entered-but-not-submitted commands

The redisplay entered-but-not-submitted commands feature enables the system to display what you have

typed (except Yes or No for confirmation) at the CLI when your configuration is interrupted by system

output such as logs. If you have entered nothing, the system does not display the command-line prompt
after the output.
To enable redisplaying entered-but-not-submitted commands:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable redisplaying
entered-but-not-submitted

commands.

info-center synchronous

By default, this feature is disabled.
For more information about this
command, see System Maintenance

Command Reference.

Understanding command-line error messages

When you press Enter to submit a command, the command line interpreter first examines the command

syntax. If the command passes syntax check, the CLI executes the command. If not, the CLI displays an

error message.

Table 26 Common command-line error messages

Error message Cause

% Unrecognized command found at '^' position. The keyword in the marked position is invalid.

% Incomplete command found at '^' position.

One or more required keywords or arguments are
missing.

% Ambiguous command found at '^' position.

The entered character sequence matches more than one
command.

Too many parameters

The entered character sequence contains excessive
keywords or arguments.

% Wrong parameter found at '^' position.

The argument in the marked position is invalid.

Using the command history function

The system can automatically save successfully executed commands to the command history buffer for
the current user interface. You can view them and execute them again, or set the maximum number of

commands that can be saved in the command history buffer.
A command is saved to the command history buffer in the exact format as it was entered. For example,

if you enter an incomplete command, the command saved in the command history buffer is also

incomplete; if you enter a command by using a command keyword alias, the command saved in the
command history buffer also uses the alias.
If you enter a command in the same format multiple times in succession, the system buffers the command

only once. If you enter a command multiple times in different formats, the system buffers each command

Advertising
This manual is related to the following products: