Sample Session: Editing Data - Siemens RX1400 Reference Manual

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

Advertisement

RUGGEDCOM NETCONF
Reference Guide
<ok/>
</rpc-reply>]]>]]
Section 1.5.3

Sample Session: Editing Data

To edit data on the device, do the following:
Say <hello>
<discard-changes/>
<lock> datastores
<edit-config>
Figure 4: Session Schematic: Editing Data
Basic Steps
1.
Connect to the device and exchange <hello> messages.
2.
Issue an <rpc> command to discard changes. Discarding changes removes changes that are incomplete and
not yet committed to the datastores. It is strongly recommended that you discard any such stray changes
before making changes to the device configuration. Discarding changes helps to ensure that you are making
changes to a known state of the configuration.
3.
Issue an <rpc> command to lock the candidate and running datastores. Locking the datastores prevents
other users in other sessions from editing the database while the NETCONF session is working with it. It is
strongly recommended that you lock the datastores before making changes to the device configuration.
Sample Session: Editing Data
<hello>
<xml>
<xml>data</xml>
<xml>data</xml>
<xml>data</xml>
<xml>data</xml>
<xml>data</xml>
<xml>data</xml>
<xml>data</xml>
<xml>data</xml>
<xml>data</xml>
<xml>data</xml>
</xml>
<validate>
<commit>
<unlock> datastores
<close-session>
Chapter 1
Introduction
<xml>
<xml>data</xml>
<xml>data</xml>
<xml>data</xml>
<xml>data</xml>
<xml>data</xml>
<xml>data</xml>
<xml>data</xml>
<xml>data</xml>
<xml>data</xml>
<xml>data</xml>
</xml>
*
9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rx1500Rx1511Rx1512Rx5000Mx5000Mx5000re ... Show all

Table of Contents