4.8 Viewing the CLI Command History


When working in the CLI, it may be necessary to display the previously executed commands. This can be helpful in recalling the commands you have recently executed. The JUNOS CLI maintains a command-history buffer of previously executed commands. This buffer is viewable and searchable using the same options discussed in Section 4.5. The following example shows the output of the show CLI history command. The default size of the buffer is 24 commands.

 lab@Chicago> show CLI history    09:48:23  show route table mpls.0   09:48:33  show route table inet.0   09:48:42  show chassis hardware   09:48:50  show CLI history 


Juniper Networks Reference Guide. JUNOS Routing, Configuration, and Architecture
Juniper Networks Reference Guide: JUNOS Routing, Configuration, and Architecture: JUNOS Routing, Configuration, and Architecture
ISBN: 0201775921
EAN: 2147483647
Year: 2002
Pages: 176

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net