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

Configuration Change Requests

Configuration change requests are requests to change the information in the candidate or a private copy, or to commit those changes to put them into active use on the routing platform. The JUNOScript API defines the <load-configuration> tag element for changing configuration information. 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>
    <load-configuration>
        <configuration>
            <system>
                <login>
                    <user>
                        <name>admin</name>
                        <full-name>Administrator</full-name>
                        <class>superuser</class>
                    </user>
                </login>
            </system>
        </configuration>
    </load-configuration>
</rpc>

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


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