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 in the candidate configuration that has the same identifier (in the Usage section, the identifier tag element is called <name>). If the attribute is omitted, the Junos XML protocol server merges the element with the existing element as described in Merging Configuration Elements. 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.
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.
Usage Guidelines
See Replacing Configuration Elements.
Hide Navigation Pane
Show Navigation Pane
Download
SHA1