[Contents] [Prev] [Next] [Index] [Report an Error]


show cli history

Syntax

show cli history <count>

Description

List recent commands that you issued in the CLI and the time they were issued.

If you issue the run show cli history command 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

view

Sample Output

user@host> show cli history
  12:33:39 -- configure
  12:42:52 -- show cli history
  12:43:02 -- show interfaces terse
  12:43:14 -- show interfaces lo0
  12:43:20 -- show bgp
  12:43:28 -- show bgp next-hop-database
  12:43:32 -- show cli history
user@host> configure
...
[edit]
user@host# run show cli history
  12:40:08 -- show
  12:40:17 -- edit protocols
  12:40:27 -- set isis
  12:40:29 -- edit isis
  12:40:40 -- run show cli history
[edit protocols isis]
user@host#


[Contents] [Prev] [Next] [Index] [Report an Error]