[Contents] [Prev] [Next] [Index] [Report an Error]

Specifying the replace Data Mode

In the replace edit configuration mode, the new configuration data completely replaces the candidate configuration. To specify that the data be replaced,, set the <default-operation> tag element value to replace.

<rpc>
    <edit-config>
        <default-operation>replace</default-operation>
    </edit-config>
</rpc>
]]>]]>

We recommend using the global replace mode only when you plan to completely overwrite the candidate configuration with new configuration data. Furthermore, when the edit configuration mode is set to replace, we do not recommend using the operation attribute on individual configuration elements.

You can also replace individual configuration elements while merging or creating others. See Replacing Configuration Elements.


[Contents] [Prev] [Next] [Index] [Report an Error]