August 2005
Intermediate to advanced
798 pages
31h 12m
English
terminal history — command
terminal history [size number]
terminal no historyTerminal history for the current session
Enabled; 10 lines
This command enables history logging for the current session; it can also be used to change the size of the history buffer for that session. To enable history logging, use the terminal history command, which takes the last-used size as the buffer size. To change the size of the current history buffer, use the size keyword followed by the number of lines you want to save in the buffer. The buffer’s size can be from 1 to 256 lines.
Use Ctrl-P or the up arrow to go up in the history list; use Ctrl-N or the down arrow to return to more recent commands in the list. To see the entire list, use show history.
This example changes the history size to 100:
router# terminal history size 100