Command History Feature
The command history feature is one of the most beloved commands since its really useful as it temporarily stores the list of already executed commands which can also be recalled.
If you would like to recall a command in the history buffer, press Ctrl+P or the Up Arrow key. The output will show the most recently entered command. Repeat the key sequence to recall previous commands. If on the other hand, you would like to return to more recent commands in the history buffer, press Ctrl+N or the Down Arrow key.
The command history feature is enabled by default and it stores the last 10 commands. If you wish to output. alist. of all the commands stored use the following command.
Show entire stored history
R1> show history
Some would also like to increase the number of commands that the history buffer can store. To do so, do the following
Increase history storage size
R1> terminal history size 254