Client Application
<rpc>
<commit-configuration>
<synchronize/>
<force-synchronize/>
<commit-configuration>
</rpc>
Synchronizing Configurations Simultaneously with Other Operations
Copyright © 2010, Juniper Networks, Inc.
NOTE: In a multichassis environment, synchronization occurs between Routing Engines
on the same chassis. Once the synchronization occurs, the configuration changes are
propagated across each control plane using the distribution function. If one or more
Routing Engines are locked during the distribution of the configuration, the distribution
and thus the synchronization will fail. You will need to clear the error in the remote
chassis and run the
synchronize
Example: Forcing a Synchronization
The following example shows how to force a synchronization across both Routing Engine
planes:
Junos XML Protocol Server
<rpc-reply xmlns:junos=
"http://xml.juniper.net/junos/9.010/junos">
<commit-results>
<routing-engine junos:style="show-name">
<name>re0</name>
<commit-check-success/>
</routing-engine>
<routing-engine junos:style="show-name">
<name>re1</name>
<commit-success/>
</routing-engine>
<routing-engine junos:style="show-name">
<name>re0</name>
<commit-success/>
</routing-engine>
</commit-resuls>
</rpc-reply>
The
<synchronize/>
tag can be combined with the other tag elements that can occur
within the
<commit-configuration>
copies, and commits the configuration, and emits the same response tag elements as
when the
<synchronize/>
in the following sections.
Verifying the Configuration on Both Routing Engines
To check the syntactic correctness of a local configuration on both Routing Engines
without committing it, the application encloses the
elements in
<commit-configuration>
<rpc>
<commit-configuration>
command again.
tag element. The Junos XML protocol server checks,
tag is used by itself. The possible combinations are described
<synchronize/>
and
<rpc>
tag elements:
Chapter 6: Committing a Configuration
and
<check/>
tag
143
Need help?
Do you have a question about the JUNOS OS 10.3 - XML MANAGEMENT PROTOCOL GUIDE 6-30-2010 and is the answer not in the manual?
Questions and answers