Displaying and clearing command log history
By default, the CLI commands executed on the device are stored in the memory. The
command history persistence is always enabled and cannot be disabled. The following
steps allows you to view the command log history and clear the allocated logging memory
to remove the command history.
- Enter the
show cli-command-historycommand to display the history list of CLI commands executed on the device.device# show cli-command-history Slno Session User-name Ip-address Executed-time Command 1 console Un-authenticated user Jun 2 10:15:54 show ip 2 console Un-authenticated user Jun 2 10:15:42 show files 3 console Un-authenticated user Jun 2 10:15:39 show web 4 console Un-authenticated user Jun 2 10:15:36 no web-management http 5 console Un-authenticated user Jun 2 10:15:20 show web 6 console Un-authenticated user Jun 2 10:14:53 write memory 36 telnet_5 RUCKUS 10.70.43.98 Jun 2 09:46:06 show ip
- Enter the
clear cli-command-historycommand to clear the allocated logging memory and remove the command log history.