Could anyone plz help with commadn to check jobs which was commited in last 2 days.
I checked using command show jobs all but it displays jobs for last 10 hours.
"show jobs all" shows the last 30 jobs, it is not limited to the last 10 hours.
If you want to see older jobs, you can search in the system/config logs.
For instance, if you want to see the committed configuration changes, you can run:
> show log config direction equal backward cmd equal commit
> show log config direction equal backward cmd equal
If you don't find what you are looking for in the config logs, you can search the system logs:
> show log system direction equal backward | match job
> show log system direction equal backward | match commit
If you let us know what specific information you are looking for, we will surely be able to help you.
If it is not in the last 30 jobs, we won't see it under 'show jobs all' command line command.
I had to figure this out the other day, and this is what I found to be easiest way.
Login to the WebGUI, click 'Monitor'. Navigate to system logs and use the following syntax.
'( description contains 'Commit' )'
Bonus Note: The following flags in the description will determine what type of commit happened at the time. Under advanced options in the commit window, you can choose your options.
'device_network=true' - Device and/or network changes were committed.
'shared_object=true' - Policy and/or Object changes were committed.
If 'device_network=false' was listed, then this means that device/network changes were not committed. This also applies to the 'shared_object=' flag.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!
The Live Community thanks you for your participation!