Name
history — global
Synopsis
history [number-of-lines
]
no history
Configures
History buffer size
Default
10 lines
Description
This command enables the user interface’s history mechanism. A
history is a listing of commands that have been executed in the
current session. This command is stored in the router’s
configuration and applies to all user sessions.
number-of-lines
is the size of the history
buffer and must be in the range of 0-256. If omitted, the buffer size
is set to the default value.
Use the no
version of this command to disable the
history mechanism; use the show history
command to
view the current history buffer. If you want to activate a history
buffer only for your current session, use the command
terminal
history
.
Example
Router# history 255 Router# no history Router# show history
Get CISCO IOS in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.