By default, the size of the history command buffer is 10. This means that last 10 commands entered by the user can be stored on the memory and repeated using the CLI “↑” key. The range of the command buffer can be tuned and its range is 0 to 256.
[R1]user-interface vty 1
[R1-ui-vty1] history-command max-size 150
Now, using the CLI “↑” key, we can repeat last 50 commands entered by the user.


