...
- lock the configuration database
- merge the new information into the configuration
- commit the configuration
- unlock the configuration database
XML :
<rpc><lock><target><candidate/></target></lock></rpc>]]>]]>
<rpc> <get-configuration format= "json"> <c onfiguration> <configuration> <interfaces> <interface> <name>ge-0/0/0</name> </interface> </interfaces> </configuration> </get-configuration> </rpc> ]]>]]>
...
<rpc> <unlock> <target> <candidate/> </target> </unlock> </rpc> ]]>]]>
JSON:
<rpc> <load-configuration action="merge" format="json"> <configuration-json> { "configuration" : { "interfaces" : { "interface" : [ { "name" : "ge-0/0/1", "unit" : [ { "name" : 0, "family" : { "inet" : { "address" : [ { "name" : "172.17.1.100/24" } ] } } } ] } ] } } } </configuration-json> </load-configuration> </rpc> ]]>]]>