Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

commit prepare

Syntax

Hierarchy Level

Description

Prepare for an upcoming commit activation. Prepare the configurations that can be activated at a later stage. During the preparation stage, all the required files and databases are generated and the configuration is validated. A file is created that indicates if the commit is pending for activation. In the event of failure during the preparation stage, the log message commit preparation failed is generated.

Options

and-quit

(Optional) Commit the configuration and, if the configuration contains no errors and the commit succeeds, exit from configuration mode.

no-synchronize

(Optional) Do not synchronize the commit. Configure the commit prepare statement to run without synchronization.

peers-synchronize

(Optional) Synchronize the commit on remote peers.

synchronize

(Optional) Synchronize the commit on both Routing Engines.

Required Privilege Level

configure—To enter configuration mode.

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 17.3.