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.
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.
■
When you enter the same command multiple times consecutively, only one
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.
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.
Table 6
View history commands
Purpose
Operation
Remarks
Display the latest executed
history commands
Execute the
display
history-command
command
This command displays the
command history.
Recall the previous history
command
Press the up arrow key or
<Ctrl+P>
This operation recalls the
previous history command (if
available).
Recall the next history
command
Pressing the down arrow key
or <Ctrl+N>
This operation recalls the next
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.
Backspace key
Delete the character on the left of the cursor and move
the cursor one character to the left.
Left arrow key or <Ctrl+B>
Move the cursor one character to the left.
Summary of Contents for Switch 4210 9-Port
Page 22: ...20 CHAPTER 1 CLI CONFIGURATION ...
Page 74: ...72 CHAPTER 3 CONFIGURATION FILE MANAGEMENT ...
Page 84: ...82 CHAPTER 5 VLAN CONFIGURATION ...
Page 96: ...94 CHAPTER 8 IP PERFORMANCE CONFIGURATION ...
Page 108: ...106 CHAPTER 9 PORT BASIC CONFIGURATION ...
Page 122: ...120 CHAPTER 11 PORT ISOLATION CONFIGURATION ...
Page 140: ...138 CHAPTER 13 MAC ADDRESS TABLE MANAGEMENT ...
Page 234: ...232 CHAPTER 17 802 1X CONFIGURATION ...
Page 246: ...244 CHAPTER 20 AAA OVERVIEW ...
Page 270: ...268 CHAPTER 21 AAA CONFIGURATION ...
Page 292: ...290 CHAPTER 26 DHCP BOOTP CLIENT CONFIGURATION ...
Page 318: ...316 CHAPTER 29 MIRRORING CONFIGURATION ...
Page 340: ...338 CHAPTER 30 CLUSTER ...
Page 362: ...360 CHAPTER 33 SNMP CONFIGURATION ...
Page 368: ...366 CHAPTER 34 RMON CONFIGURATION ...
Page 450: ...448 CHAPTER 39 TFTP CONFIGURATION ...
Page 451: ......
Page 452: ...450 CHAPTER 39 TFTP CONFIGURATION ...
Page 470: ...468 CHAPTER 40 INFORMATION CENTER ...
Page 496: ...494 CHAPTER 44 DEVICE MANAGEMENT ...