This chapter explains how to use the NETCONF application programming interfaces (APIs) along with JUNOS Extensible Markup Language (XML) or command-line interface (CLI) configuration statements to change the routing platform configuration. The NETCONF <copy-config>, <edit-config>, and <discard-changes> tag elements offer functionality that is analogous to configuration mode commands in the JUNOS CLI. These CLI configuration mode commands, as well as the CLI configuration statements, are described in the JUNOS CLI User Guide. The JUNOS XML tag elements described here correspond to configuration statements, which are described in the JUNOS software configuration guides.
This chapter discusses how to use the NETCONF APIs to make changes to a router’s configuration. To see how this activity fits in within the overall NETCONF session, see Client Application’s Role in a NETCONF Session.
This chapter discusses the following topics: