3Com WX3000 operation manual Error Prompts, Command Edit

Models: WX3000

1 715
Download 715 pages 21.26 Kb
Page 16
Image 16

By default, the CLI can store up to 10 latest executed commands for each user. You can view the command history by performing the operations listed in Table 1-3.

Table 1-3View history commands

 

Purpose

Operation

Remarks

 

 

Display the latest executed

Execute the display

This command displays the

 

 

history commands

history-command command

command history.

 

 

 

 

 

 

 

Recall the previous history

Press the up arrow key or

This operation recalls the

 

 

previous history command (if

 

 

command

Ctrl+P

 

 

available).

 

 

 

 

 

 

 

 

 

 

 

Recall the next history

Pressing the down arrow key or

This operation recalls the next

 

 

command

Ctrl+N

history command (if available).

 

 

 

 

 

 

z

z

Because the Windows 9x HyperTerminal explains the up and down arrow keys in a different way, the two keys are invalid when you access history commands in a Windows 9x HyperTerminal environment. However, you can use Ctrl+P and Ctrl+N instead to achieve the same purpose.

When you enter the same command multiple times consecutively, only one history command entry is created by the command line interface.

Error Prompts

If a command passes the syntax check, it will be successfully executed; otherwise, an error message will be displayed. Table 1-4 lists the common error messages.

Table 1-4Common error messages

 

Error message

 

Description

 

 

 

The command does not exist.

 

 

 

 

 

Unrecognized command

 

The keyword does not exist.

 

 

 

 

 

The parameter type is wrong.

 

 

 

 

 

 

 

 

 

 

The parameter value is out of range.

 

 

 

 

Incomplete command

The command entered is incomplete.

 

 

 

 

Too many parameters

The parameters entered are too many.

 

 

 

 

Ambiguous command

The parameters entered are ambiguous.

 

 

 

 

Wrong parameter

A parameter entered is wrong.

 

 

 

 

found at '^' position

An error is found at the '^' position.

 

 

 

 

Command Edit

The CLI provides basic command edit functions and supports multi-line editing. The maximum number of characters a command can contain is 254. Table 1-5 lists the CLI edit operations.

1-9

Page 16
Image 16
3Com WX3000 operation manual Error Prompts, Command Edit