EasyManua.ls Logo

Siemens RX1400 - <copy-config>

Siemens RX1400
148 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RUGGEDCOM NETCONF
Reference Guide
Chapter 8
NETCONF XML Elements
<copy-config> 127
<rpc>
<commit>
<confirmed/>
<confirm-timeout>30</confirm-timeout>
</commit>
</rpc>
]]>]]>
Section8.4
<copy-config>
Description: Creates or replaces a specified <target> configuration with a specified <source> configuration. If the <target>
configuration exists, it is overwritten. If the <target> configuration does not exist, a new configuration is created.
Parameters: <target> : specifies the target configuration to create or to overwrite. Valid values: running|candidate.
<source> : a container for the configuration source file to copy.
<url> : specifies the URL of the configuration source file to copy.
Response: If the NETCONF device can complete the request, it sends an <rpc-reply> document containing the <ok> element.
If the NETCONF device cannot complete the request, it sends an <rpc-reply> document containing the <rpc-error>
element.
Example: To copy a configuration and make it the candidate configuration:
<rpc>
<copy-config>
<target>
<candidate/>
</target>
<source>
<url>
<https://user@example.com:passphrase/path/filename.txt>
</url>
</source>
<copy-config>
</rpc>
]]>]]>
Section8.5
<data>
Description: Encloses configuration data returned from the device.
Example: Response from a device when queried for the system name:
<rpc-reply message-id="2" with-defaults="true"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<data>
<admin xmlns="http://ruggedcom.com/ns/rmf_admin">
<system-name>System Name</system-name>
</admin>
</data>
</rpc-reply>

Table of Contents

Related product manuals