[Contents] [Prev] [Next] [Index] [Report an Error]

<commit-configuration>

Usage

commit-configuration tag (JUNOScript)check tag (JUNOScript)log tag (JUNOScript)at-time tag (JUNOScript)confirmed tag (JUNOScript)confirm-timeout tag (JUNOScript)synchronize tag (JUNOScript)force-synchronize tag (JUNOScript)
<rpc>
<commit-configuration/>

<commit-configuration>
<check/>
</commit-configuration>

<commit-configuration>
<log>log-message</log>
</commit-configuration>

<commit-configuration>
<at-time>time-specification</at-time>
<log>log-message</log>
</commit-configuration>

<commit-configuration>
<confirmed/>
<confirm-timeout>rollback-delay</confirm-timeout>
<log>log-message</log>
</commit-configuration>

<commit-configuration>
<synchronize/>
<log>log-message</log>
</commit-configuration>

<commit-configuration>
<synchronize/>
<at-time>time-specification</at-time>
<log>log-message</log>
</commit-configuration>

<commit-configuration>
<synchronize/>
<check/>
<log>log-message</log>
</commit-configuration>

<commit-configuration>
<synchronize/>
<confirmed/>
<confirm-timeout>rollback-delay</confirm-timeout>
<log>log-message</log>
</commit-configuration>
<commit-configuration>
<synchronize/>
<force-synchronize/>
</commit-configuration>
</rpc>

Description

Request that the JUNOScript server perform one of the variants of the commit operation on either the regular candidate configuration or a private copy of the candidate configuration (if the application emitted the <open-configuration><private/></open-configuration> tag sequence before making changes).

Some restrictions apply to the commit operation for a private copy. For example, the commit operation fails if the regular candidate configuration is locked by another user or application, or if it includes uncommitted changes made since the private copy was created. For more information, see the JUNOS CLI User Guide.

Enclose the appropriate tag in the <commit-configuration> tag element to specify the type of commit operation:

<at-time>—Schedules the commit operation for a specified future time.

<check>—Requests verification that the configuration is syntactically correct, but does not actually commit it.

<confirmed>—Requests a commit of the candidate configuration and a rollback to the previous configuration after a short time, 10 minutes by default. Use the <confirm-timeout> tag element to specify a different amount of time.

<confirm-timeout>—Specifies the number of minutes for which the configuration remains active when the <confirmed/> tag is enclosed in the <commit-configuration> tag element.

<log>—Records a message in the file /var/log/commits when the commit operation succeeds.

<synchronize>—On dual control plane systems, requests that the candidate configuration on one control plane be copied to the other control plane, checked for correct syntax, and committed on both Routing Engines.

<force-synchronize>—On dual control plane systems, forces the candidate configuration on one control plane to be copied to the other control plane.

Usage Guidelines

See Committing a Configuration.

Related Topics

<commit-results>, <open-configuration>, <rpc>


[Contents] [Prev] [Next] [Index] [Report an Error]