104 CHAPTER 6: LINE COMMANDS
Command Mode
User EXEC mode
User Guidelines
There are no user guidelines for this command.
Example
The following example disables the command history function for the
current terminal session.
terminal history size
The terminal history size User EXEC mode command configures the
command history buffer size for the current terminal session. To reset the
command history buffer size to the default setting, use the no form of
this command.
Syntax
terminal history size number-of-commands
no terminal history size
Parameters
number-of-commands — Specifies the number of commands the
system may record in its command history buffer. (Range: 10-200)
Default Configuration
The default command history buffer size is 10.
Command Mode
User EXEC mode
User Guidelines
The terminal history size user EXEC command configures the size of
the command history buffer for the current terminal session. To change
the default size of the command history buffer, use the history line
configuration command.
The maximum number of commands in all buffers is 256.
Console>
terminal no history