replace attribute (JUNOS XML with JUNOScript)<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>
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 JUNOScript 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.
See Replacing Configuration Elements.
active, inactive, <load-configuration>, <rpc>