COMMAND HISTORY
A session maintains a non-persistent command history of previously entered command lines. The history
can be up to 32 lines long. Once full, a new line will push the oldest entry out.
Use 'show history' to list the history:
SWI2210-XXXX# show history
show running-config
copy running-config startup-config
dir
show history
SWI2210-XXXX#
The list begins with the oldest entry at top (‘show running-config’). To see additional lines, use the Up
and Down keys.
The number of lines to keep in the history for the current session is configurable. The current value is
displayed as part of the output from ‘show terminal’:
SWI2210-XXXX# show terminal
Line is con 0.
* You are at this line now.
Alive from Console.
Default privileged level is 2.
Command line editing is enabled
Display EXEC banner is enabled.
Display Day banner is enabled.
Terminal width is 80.
length is 24.
history size is 32.
exec-timeout is 10 min 0 second.
Current session privilege is 15.
Elapsed time is 0 day 0 hour 6 min 20 sec.
Idle time is 0 day 0 hour 0 min 0 sec.
Use 'terminal history' to change the number of lines stored. The size is a value between 0 and 32. 0
disables the history entirely.
SWI2210-XXXX# terminal history size 32