ON THIS PAGE
replace
Usage
<rpc>
<load-configuration action="replace">
<configuration>
<!-- opening tag for each parent of the element -->
<container-tag replace="replace">
<name>identifier</name>
<!-- tag elements for other children, if any -->
</container-tag>
<!-- closing tag for each parent of the element -->
</configuration>
</load-configuration>
</rpc>Description
Specify that the configuration element completely
replace the element that has the same identifier (in the Usage section,
the identifier tag element is called <name>) in the candidate configuration or open configuration database.
If the attribute is omitted, the Junos XML protocol server merges
the element with the existing element as described in Merging Elements in Configuration Data Using the
Junos XML Protocol. The only acceptable value for the
attribute is "replace".
The client application must also include the action="replace" attribute in the opening <load-configuration> tag.
Starting in Junos OS
Release 18.1R1, the ephemeral configuration database supports loading
configuration data using the <load-configuration> action attribute values of override and replace in
addition to the previously supported values of merge and set.
The replace attribute can be combined
with either the active or inactive attribute, as described in Changing a Configuration Element’s Activation
State Simultaneously with Other Changes Using the Junos XML Protocol.
Change History Table
Feature support is determined by the platform and release you are using. Use Feature Explorer to determine if a feature is supported on your platform.
<load-configuration> action attribute values of override and replace in
addition to the previously supported values of merge and set.