Not sure if it's been mentioned or not but another good use of commit check is to confirm a commit confirmed. Typically people will issue a commit confirmed X to automatically rollback a change that didn't work. If the change did work many folks issue a commit to save the change and move forward. The problem with this is both your commit confirmed and subsequent commit burn rollbacks. A commit check will satisfy a commit confirmed without burning an additional rollback.
Sent using CloudMagic Email<https://cloudmagic.com/k/d/mailapp?ct=pa&cv=7.3.5&pv=5.1.1&source=email_footer_2> On Tue, Sep 29, 2015 at 11:38 AM, Ryan Harden <harde...@uchicago.edu<mailto:harde...@uchicago.edu>> wrote: We regularly make large config changes, 'commit check' to confirm there aren't any syntax errors, then save the change as a patch to be applied during a maintenance window. This saves a ton of time during maint windows as we can do configs the day before and at least be sure there are no syntax errors in the patch. Maint windows simply become: load the patch, commit confirmed comment blah, verify, done. /Ryan Ryan Harden Research and Advanced Networking Architect University of Chicago - ASN160 P: 773.834.5441 > On Sep 28, 2015, at 4:24 PM, Martin T <m4rtn...@gmail.com> wrote: > > Hi, > > when I commit the candidate configuration in Junos, I tend to execute > "commit check" and if configuration check succeeds, then I execute > "commit comment <COMMENT>". However, when I think about it, "commit > (comment)" itself should perform those very same checks that "commit > check" does. If yes, then what is the point of "commit check"? Only > purpose I could see is to check the validity of the candidate > configuration in the middle of the configuration process, i.e. to > check if the changes made in candidate configuration so far are fine > but the candidate configuration is not ready to be committed. > > > thanks, > Martin > _______________________________________________ > juniper-nsp mailing list juniper-nsp@puck.nether.net > https://puck.nether.net/mailman/listinfo/juniper-nsp _______________________________________________ juniper-nsp mailing list juniper-nsp@puck.nether.net https://puck.nether.net/mailman/listinfo/juniper-nsp _______________________________________________ juniper-nsp mailing list juniper-nsp@puck.nether.net https://puck.nether.net/mailman/listinfo/juniper-nsp