240 Line Commands
history
The history Line Configuration mode command enables the command history function. Use the no
form of this command to disable the command history function.
Syntax
• history
•no history
Default Configuration
The command history function is enabled.
Command Mode
Line Configuration mode.
User Guidelines
• This command enables the command history function for a specified line. To enable or disable the
command history function for the current terminal session, use the
terminal history
user EXEC mode
command.
Example
The following example enables the command history function for telnet.
history size
The history size Line Configuration mode command configures the command history buffer size for a
particular line. Use the no form of this command to reset the command history buffer size to the default
configuration.
Syntax
•
history size
number-of-commands
• no history size
•
number-of-commands —
Number of commands that the system records in its history buffer.
(Range: 10 - 256)
Default Configuration
The default history buffer size is 10.
Console(config)# line telnet
Console(config-line)# history
book.book Page 240 Thursday, December 18, 2008 7:40 PM