3com 4210 PWR 9-Port 3CR17341-91-ME 用户手册
产品代码
3CR17341-91-ME
18
C
HAPTER
1: CLI C
ONFIGURATION
commands and execute them again. By default, the CLI stores up to 10 most
recently executed commands for each user. You can view the command history by
performing the operations listed in Table 6.
recently executed commands for each user. You can view the command history by
performing the operations listed in Table 6.
n
■
The Windows 9x HyperTerminal defines the up and down arrow keys in a
different way, and therefore the two keys are invalid when you access history
commands in such an environment. However, you can use <Ctrl+ P> and
<Ctrl+ N> instead to achieve the same purpose.
different way, and therefore the two keys are invalid when you access history
commands in such an 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 stored in the CLI.
history command entry is stored in the CLI.
Error Prompts
If a command passes the syntax check, it is executed; otherwise, an error message
displays. Table 7 lists the most common error messages.
displays. Table 7 lists the most common error messages.
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 8 lists
the CLI edit operations.
The maximum number of characters a command can contain is 254. Table 8 lists
the CLI edit operations.
Table 6 View history commands
Purpose
Operation
Remarks
Display the latest executed
history commands
history commands
Execute the display
history-command command
history-command command
This command displays the
command history.
command history.
Recall the previous history
command
command
Press the up arrow key or
<Ctrl+P>
<Ctrl+P>
This operation recalls the
previous history command (if
available).
previous history command (if
available).
Recall the next history
command
command
Pressing the down arrow key
or <Ctrl+N>
or <Ctrl+N>
This operation recalls the next
history command (if
available).
history command (if
available).
Table 7 Common error messages
Error message
Description
Unrecognized command
The command does not exist.
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
You entered too many parameters.
Ambiguous command
The parameters entered are ambiguous.
Wrong parameter
A parameter entered is wrong.
found at’^’ position
An error is found at the ’^’ position.
Table 8 Edit operations
Press...
To...
A common key
Insert the corresponding character at the cursor position
and move the cursor one character to the right if the
command is shorter than 254 characters.
and move the cursor one character to the right if the
command is shorter than 254 characters.
Backspace key
Delete the character on the left of the cursor and move
the cursor one character to the left.
the cursor one character to the left.
Left arrow key or <Ctrl+B>
Move the cursor one character to the left.