Example: configuration change

Note:

The exit all command is not required at the beginning of the CLI block; it is automatically assumed by the SR OS NETCONF server.

Example

The following example shows a configuration change request and response.

<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="104" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> 
     <edit-config>
     <target><running/></target>
         <config>
              <config-format-cli-block>
                   configure system
                       time zone EST
                       location over-here
                   exit all 
              </config-format-cli-block>
          </config>
    </edit-config>
</rpc>
]]>]]>
Example

The following example shows the reply.

<?xml version="1.0" encoding="UTF-8"?>
<rpc-reply message-id="104"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
]]>]]>