Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
Display a list of previous CLI commands.
none | — | Display all previous CLI commands. |
count | — | (Optional) Maximum number of commands to display. |
view
Table 1 lists the output fields for the show cli history command. Output fields are listed in the approximate order in which they appear.
Table 1: show cli history Output Fields
Field Name | Field Description |
|---|---|
timestamp | Time at which the command was entered. |
command-syntax | Command that was entered. |
show cli history
user@host> show cli history 11:14:14 -- show arp 11:22:10 -- show cli authorization 11:27:12 -- show cli history