Quantcast
Channel: All SRX Services Gateway posts
Viewing all articles
Browse latest Browse all 17645

Re: How to show cli command history for 3 dyas ago in SRX650

$
0
0

Hello Mahmoud,

 

There is NO CLI command to see the history of show commands ran on the device.

 

You can use the interactive-commands to see which user has typed what command:

 

A common set of operations you can check is when users log in to the router and the CLI commands they issue.

 

labroot@re0> file list /var/log/ detail |match inter
-rw-rw---- 1 root wheel 197805 Jun 9 13:01 interactive-commands

 

The JUNOS factory configuration file includes the interactive-commands any statement at the [edit system syslog file interactive-commands] hierarchy level. It creates the file /var/log/interactive-commands and records in it all messages from the interactive-commands facility.

 

For reference:

https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/users-commands-entered-checking.html

I hope this helps. Please mark this post "Accept as solution" if this answers your query.

 

Kudos are always appreciated! Smiley Happy

 

Best Regards,

Lingabasappa H

 


Viewing all articles
Browse latest Browse all 17645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>