Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    <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 existing candidate configuration with configuration data contained in a file.

    <source>
    —

    Encloses the <url> tag element, which specifies the source of the configuration data.

    <url>
    —

    Names the file that contains the new configuration data to substitute for the existing candidate configuration. When the configuration data is formatted as Junos XML tag elements, set the <url> format attribute to xml or omit the attribute. When the configuration data is formatted as CLI configuration statements, set the <url> format attribute to text. For more information, see Uploading and Formatting Configuration Data in a NETCONF Session.

    The <target> tag element and its contents are explained separately.

    Published: 2013-07-26