To clear the command history, use the clear cli history command.
clear cli history
This command has no arguments or keywords.
None
EXEC mode
|
Release
|
Modification
|
|---|---|
|
4.0(0)N1(1a)
|
This command was introduced.
|
Use the show cli history command to display the history of the commands that you entered at the command-line interface (CLI).
This example shows how to clear the command history:
|
Command
|
Description
|
|---|---|
|
show cli history
|
Displays the command history.
|