- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
01-01-2015 10:34 PM
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.
01-02-2015 12:25 AM
Hello Mandar,
"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
Other options:
> show log config direction equal backward cmd equal
add add
clone clone
commit commit
create create
delete delete
edit edit
get get
load-from-disk load-from-disk
move move
rename rename
save-to-disk save-to-disk
set set
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.
Regards,
Guillermo.
01-06-2015 11:07 AM
Mandar,
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.
Thanks!
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 LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!