Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. lock the configuration database
  2. merge the new information into the configuration
  3. commit the configuration
  4. 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> ]]>]]>