2-5
Catalyst2950 and Catalyst2955 Switch Software Configuration Guide
78-11380-10
Chapter2 Using the Command-Lin e Interface Understanding CLI Messages
Understanding CLI Messages
Table 2 -3 lists some error messages that you migh t e nc ounte r w hil e using t he C LI to co nfigure your
switch.
Using Command History
The software provides a history or record of commands that you have entered. This feature is particul arly
useful for recalling long or complex commands or entries, including access lists. You can customize the
command history feature to suit your needs as described in the se se ctio ns:
Changing the Command History Buffer Size, page 2-5
Recalling Commands, page 2-6
Disabling the Command History Feature, page 2-6

Changing the Command History Buffer Size

By default, the switch records ten command lines in its history buffer. Beginning in privileged EXEC
mode, enter this command to change the number of command lines that the switch records during the
current terminal session:
Switch# terminal history [size number-of-lines]
The range is from 0 to 256.
Beginning in line configuration mode, enter this command to c onfigure the nu mb er of c om mand l ine s
the switch records for all sessions on a particular line:
Switch(config-line)# history [size number-of-lines]
The range is from 0 to 256.
Table2-3 Common CLI Error Messages
Error Message Meaning How to Get Help
% Ambiguous command:
"show con" You did not enter enough characters
for your switch to recognize the
command.
Re-enter the command followed by a question mark (?)
with a space between the command and the question
mark.
The possible keywords that you can enter with the
command appear.
% Incomplete command. You did not enter all the keywords or
values required by this command. Re-enter the command followed by a question mark (?)
with a space between the command and the question
mark.
The possible keywords that you can enter with the
command appear.
% Invalid input detected
at ‘^’ marker. You entered the command
incorrectly. The caret (^) marks the
point of the error.
Enter a question mark (?) to display all the commands
that are available in this command mode.
The possible keywords that you can enter with the
command appear.