
2-7
needed. By default, the CLI can save up to ten commands for each user. You can use the
history-command max-size
command to set the capacity of the history commands buffer for the
current user interface (For the detailed description of the
history-command max-size
command, refer
to
Login Commands
in the
System Volume).
In addition:
z
The CLI saves the commands in the format that you have input, that is, if you input a command in
its incomplete form, the saved history command is also incomplete.
z
If you execute a command for multiple times successively, the CLI saves the earliest one. However,
if you execute the different forms of a command, the CLI saves each form of this command. For
example, if you execute the
display cu
command for multiple times successively, the CLI saves
only one history command; if you execute the
display cu
command and then the
display
current-configuration
command, the CLI saves two history commands.
Follow these steps to access history commands:
To do…
Use the key/command…
Result
View the history commands
display history-command
Displays the commands that
you have entered
Access the previous history
command
Up-arrow key or
Ctrl+P
Displays the earlier history
command, if there is any.
Access the next history
command
Down-arrow key or
Ctrl+N
Displays the next history
command, if there is any.
You may use arrow keys to access history commands in Windows 200X and XP Terminal or Telnet.
However, the up-arrow and down-arrow keys are invalid in Windows 9X HyperTerminal, because they
are defined in a different way. You can press
Ctrl+P
or
Ctrl+N
instead.
Command Line Error Information
The commands are executed only if they have no syntax error. Otherwise, error information is reported.
lists some common errors.
Table 2-4
Common command line errors
Error information
Cause
The command was not found.
The keyword was not found.
Parameter type error
% 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 parameter
Содержание S5120-EI Series
Страница 139: ...ii...
Страница 268: ...3 3 SwitchB system view SwitchB interface vlan interface 1 SwitchB Vlan interface1 ip address dhcp alloc...
Страница 328: ...i Table of Contents 1 Dual Stack Configuration 1 1 Dual Stack Overview 1 1 Configuring Dual Stack 1 1...
Страница 578: ...1 21 C...
Страница 739: ...1 12 Enable ARP detection based on 802 1X security entries SwitchB arp detection mode dot1x...
Страница 926: ...2 8...
Страница 942: ...ii Single Device Upgrade 3 4 IRF System Upgrade 3 5...
Страница 985: ...1 1...
Страница 1018: ...1 6...