Copy-Config; Data; Section 8.4, "<Copy-Config; Section 8.5, "<Data - Siemens RX1400 Reference Manual

Ruggedcom series
Hide thumbs Also See for RX1400:
Table of Contents

Advertisement

RUGGEDCOM NETCONF
Reference Guide
Section 8.4
<copy-config>
Description: Creates or replaces a specified <target> configuration with a specified <source> configuration. If the <target>
Parameters: <target> : specifies the target configuration to create or to overwrite. Valid values: running|candidate.
Response: If the NETCONF device can complete the request, it sends an <rpc-reply> document containing the <ok> element.
Example: To copy a configuration and make it the candidate configuration:
Section 8.5
<data>
Description: Encloses configuration data returned from the device.
Example: Response from a device when queried for the system name:
<copy-config>
<rpc>
<commit>
<confirmed/>
<confirm-timeout>30</confirm-timeout>
</commit>
</rpc>
]]>]]>
configuration exists, it is overwritten. If the <target> configuration does not exist, a new configuration is created.
<source> : a container for the configuration source file to copy.
<url> : specifies the URL of the configuration source file to copy.
If the NETCONF device cannot complete the request, it sends an <rpc-reply> document containing the <rpc-error>
element.
<rpc>
<copy-config>
<target>
<candidate/>
</target>
<source>
<url>
<https://user@example.com:passphrase/path/filename.txt>
</url>
</source>
<copy-config>
</rpc>
]]>]]>
<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>
Chapter 8
NETCONF XML Elements
127

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rx1500Rx1511Rx1512Rx5000Mx5000Mx5000re ... Show all

Table of Contents