Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
ON THIS PAGE
 

replace

Usage

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.

Note:

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.

Release
Description
18.1R1
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.