[Contents] [Prev] [Next] [Index] [Report an Error]

Configuration Change Requests

Configuration change requests are requests to change the candidate configuration, or to commit those changes to put them into active use on the routing platform. The NETCONF API defines the <edit-config> and <copy-config> tag elements for changes to the configuration. The JUNOS XML API defines a tag element for every CLI configuration statement described in the JUNOS software configuration guides.

The following example shows how to create a new JUNOS user account called admin at the [edit system login] hierarchy level in the candidate configuration:

<rpc>
    <edit-config>
        <target>
            <candidate/>
        </target>
        <config>
            <configuration>
                <system>
                    <login>
                        <user>
                            <name>admin</name>
                            <full-name>Administrator</full-name>
                            <class>superuser</class>
                        </user>
                    </login>
                </system>
            </configuration>
        </config>
    </edit-config>
</rpc>
]]>]]>

For more information, see Changing Configuration Information. For a summary of JUNOS XML configuration tag elements, see the JUNOS XML API Configuration Reference.


[Contents] [Prev] [Next] [Index] [Report an Error]