Deleting An Ip Address - Siemens RX1400 Reference Manual

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

Advertisement

Chapter 7
Examples
<target>
<running/>
</target>
</unlock>
</rpc>]]>]]>
Section 7.15

Deleting an IP Address

In this example, multiple <rpc> requests delete an IP address in the candidate configuration and then commit the
changes.
This example shows the recommended procedure for making configuration changes on a device.
The following procedure shows how container elements need to be deleted for some elements. In this procedure,
the actual IP address is in the <ipaddress> element, which is within an<address> container element. To
properly delete an IP address, you must delete both the element holding the address and its container element.
1.
Lock the running configuration:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="230">
<lock>
<target>
<running/>
</target>
</lock>
</rpc>]]>]]>
2.
Lock the candidate configuration:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="231">
<lock>
<target>
<candidate/>
</target>
</lock>
</rpc>]]>]]>
3.
Discard uncommitted changes:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="232">
<discard-changes/>
</rpc>]]>]]>
4.
Delete the IP address and its container element:
<rpc message-id="233" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<candidate/>
</target>
<config>
<ip xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns="http://ruggedcom.com/ns/rmf_ip">
<ifname>fe-cm-1</ifname>
<ipv4>
<address nc:operation="delete">
<ipaddress nc:operation="delete">192.168.1.2/24</ipaddress>
</address>
</ipv4>
</ip>
</config>
</edit-config>
90
RUGGEDCOM NETCONF
Reference Guide
Deleting an IP Address

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rx1500Rx1511Rx1512Rx5000Mx5000Mx5000re ... Show all

Table of Contents