Setup and Maintenance AS9216 Installation and
Maintenance Manual
9-8 ECI Telecom Ltd. Proprietary 492006-2306-013-A00
NETCONF Configuration Example
Below is an example for changing the OSPF router-ID IP
address.
1. Display the OSPF configuration. In this example the router-ID is
1.2.3.66:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
message-id="100">
<get-config>
<source>
<running/>
</source>
<filter xmlns="http://eci.com/ns/ospf/1.0">
<ospf/>
</filter>
</get-config>
</rpc>
]]>]]>
<! -- here it is -->
<?xml version="1.0" encoding="UTF-8"?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
message-id="100"><data><ospf
xmlns="http://eci.com/ns/ospf/1.0"><routerId>1.2.3.66</rou
terId><areaData></areaData><ifData></ifData><virtIfData></
virtIfData><nbrConfigData></nbrConfigData><areaAggregateDa
ta></areaAggregateData><redistributeData></redistributeDat
a></ospf></data></rpc-reply>]]>]]>
Change the OSPF router-ID to 11.22.33.66:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
message-id="100">
<edit-config>
<target>
<running/>
</target>
<config xmlns="http://eci.com/ns/ospf/1.0">
<ospf>
<routerId>11.22.33.66</routerId>
</ospf>
</config>
</edit-config>
</rpc>
]]>]]>