ON THIS PAGE
<copy-config>
Usage
<rpc> <copy-config> <target> <candidate/> </target> <source> <url format="(xml | text)"> <!-- location specifier for file containing the new configuration --> </url> </source> </copy-config> </rpc> ]]>]]>
Description
Replace the entire existing candidate configuration or open configuration database with the configuration data contained in a file.
If a client application issues the Junos XML protocol <open-configuration>
operation to open a specific
configuration database before executing a <copy-config>
operation on the target <candidate/>
, Junos OS performs the operation on the open configuration database.
Otherwise, the operation is performed on the candidate configuration.
Contents
<source> |
Enclose the |
<url> |
Specify the file that contains the new configuration data to substitute for the data in the existing candidate configuration or open configuration database. When the configuration data is formatted as Junos XML tag elements,
set the |
The <target>
tag element and its
contents are explained separately.