show cli history
Syntax
Description
List recent commands that you issued in the CLI and the time they were issued.
If you issue the
run show cli historycommand from configuration mode, the command lists the most recent configuration mode commands that you issued and the time they were issued.Options
count—(Optional) Number of recent commands to display.
Range: 0 through 65,535
Default: 100 (20 if your screen length is set to 0)Usage Guidelines
See Display CLI Command History.
Required Privilege Level
Sample Output
user@host>show cli history12:33:39 -- configure12:42:52 -- show cli history12:43:02 -- show interfaces terse12:43:14 -- show interfaces lo012:43:20 -- show bgp12:43:28 -- show bgp next-hop-database12:43:32 -- show cli historyuser@host>configure...[edit]user@host#run show cli history12:40:08 -- show12:40:17 -- edit protocols12:40:27 -- set isis12:40:29 -- edit isis12:40:40 -- run show cli history[edit protocols isis]user@host#