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.
<url>tag element, which specifies the source of the configuration data.
<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,
format attribute to "xml" or omit the attribute. When the configuration
data is formatted as CLI configuration statements, set the
to "text". For more information, see Uploading and Formatting Configuration Data in a NETCONF Session.
<target> tag element and its
contents are explained separately.