Chapter 5 Using the Command-Line Interface

Using Command History

Table 5-3

Common CLI Error Messages

 

 

 

 

 

Error Message

 

Meaning

How to Get Help

 

 

 

% Ambiguous command:

You did not enter enough characters

Re-enter the command followed by a question mark (?)

"show con"

 

for your router to recognize the

with a space between the command and the question

 

 

command.

mark.

 

 

 

The possible keywords that you can enter with the

 

 

 

command appear.

 

 

 

% Incomplete command.

You did not enter all the keywords or

Re-enter the command followed by a question mark (?)

 

 

values required by this command.

with a space between the command and the question

 

 

 

mark.

 

 

 

The possible keywords that you can enter with the

 

 

 

command appear.

 

 

 

% Invalid input detected

You entered the command

Enter a question mark (?) to display all the commands

at ‘^’ marker.

 

incorrectly. The caret (^) marks the

that are available in this command mode.

 

 

point of the error.

The possible keywords that you can enter with the

 

 

 

 

 

 

command appear.

 

 

 

 

Using Command History

The software provides a history or record of commands that you entered. The command history feature is particularly useful for recalling long or complex commands or entries, including access lists. You can customize this feature to suit your needs as described in these sections:

Changing the Command History Buffer Size, page 5-5(optional)

Recalling Commands, page 5-6(optional)

Disabling the Command History Feature, page 5-6(optional)

Changing the Command History Buffer Size

By default, the router records ten command lines in its history buffer. You can alter this number for a current terminal session or for all sessions on a particular line. These procedures are optional.

Beginning in privileged EXEC mode, enter this command to change the number of command lines that the router records during the current terminal session:

Router# terminal history [size number-of-lines]

The range is from 0 to 256.

Beginning in line configuration mode, enter this command to configure the number of command lines the router records for all sessions on a particular line:

Router(config-line)# history [size number-of-lines]

The range is from 0 to 256.

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

 

OL-23826-09

5-5

 

 

 

Page 105
Image 105
Cisco Systems A9014CFD manual Using Command History, Changing the Command History Buffer Size, Range is from 0 to