commit-options
Syntax
commit-options { check <synchronize>; force; log "comment-string"; synchronize; }
Hierarchy Level
[edit event-options policy policy-name then change-configuration]
Description
Customize the commit options for configuration
updates made through an event policy. The check
statement
and the other commit-options
statements are mutually exclusive.
Options
check <synchronize> | Verify that the candidate configuration is syntactically correct,
but do not commit the changes. On dual control plane systems, when
the |
force | Force the commit
on the other Routing Engine, ignoring any warnings. By default, the |
log "comment-string" | Include a comment describing changes to the committed
configuration. Enclose the comment in quotation marks and include
it on a single line. To view commit comments, issue the |
synchronize | Synchronize the commit on both Routing Engines. The Routing Engine on which you execute this command copies and loads its candidate configuration to the other Routing Engine. Both Routing Engines perform a syntax check on the candidate configuration file. If no errors are found, the configuration is activated and becomes the current operational configuration on both Routing Engines. |
Required Privilege Level
maintenance—To view or add this statement in the configuration.
Release Information
Statement introduced in Junos OS Release 12.1.