commad to check Job commited in last 2 days

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

commad to check Job commited in last 2 days

L4 Transporter

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.

SD-WAN | Cloud Networking | PCNSE | ICSI CNSS | MCNA | | CCNP | CCSA | SPSP | SPSX | F5-101 |
3 REPLIES 3

L4 Transporter

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.

L3 Networker

You can also check in the GUI under Monitor->Logs->System and just filter for the term commit in the description field.

L4 Transporter

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!

  • 2655 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!