Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Methods for Configuring Junos OS Evolved

Depending on specific device support, you can use the methods shown here to configure Junos OS Evolved. For more information, see the Juniper Networks Feature Explorer.

Table 1: Methods for Configuring Junos OS Evolved

Method

Description

Command-line interface (CLI)

Create the configuration for the device using the CLI. You can enter commands from a single command line, and scroll through recently executed commands.

ASCII file

Load an ASCII file containing a configuration that you created earlier, either on this system or on another system. You can then activate and run the configuration file, or you can edit it using the CLI and then activate it.

Junos XML management protocol (API)

Use Junos XML protocol Perl client modules to develop custom applications for configuring information on devices that run Junos OS Evolved. Client applications use the Junos XML management protocol to request and change configuration information on supported devices. The Junos XML management protocol is customized for Junos OS Evolved, and operations in the API are equivalent to those in the Junos OS Evolved CLI.

NETCONF application programming interface (API)

Use NETCONF Perl client modules to develop custom applications for configuring information on devices that run Junos OS Evolved. Client applications use the NETCONF XML management protocol to request and change configuration information on supported devices. The NETCONF XML management protocol includes features that accommodate the configuration data models of multiple vendors.

Configuration commit scripts

Create scripts that run at commit time to enforce custom configuration rules. Commit scripts are written in Extensible Stylesheet Language Transformations (XSLT) or Python.

The following sections describe the methods you can use to configure Junos OS Evolved:

Junos OS Evolved Command-Line Interface

The Junos OS Evolved CLI is a straightforward terminal-based command interface. You use Emacs-style keyboard sequences to move around on a command line and scroll through a buffer that contains recently executed commands. You type commands on a single line, and the commands are executed when you press the Enter key. The CLI also provides command help and command completion.

ASCII File

You can load an ASCII file containing a configuration that you created earlier, either on this system or another system. You can then activate and run the configuration file as is, or you can edit it using the CLI and then activate it.

Junos XML Management Protocol Software

The Junos XML management protocol is an Extensible Markup Language (XML) application that client applications use to request and change configuration information on supported devices. This API is customized for Junos OS Evolved, and operations in the API are equivalent to Junos OS Evolved CLI configuration mode commands. The Junos XML management protocol includes a set of Perl modules that enable client applications to communicate with a Junos XML protocol server on the router. The Perl modules are used to develop custom applications for configuring and monitoring Junos OS Evolved.

NETCONF XML Management Protocol Software

The NETCONF XML management protocol is an Extensible Markup Language (XML) application that client applications can use to request and change configuration information on supported devices. This API is customized for Junos OS Evolved, and includes features that accommodate the configuration data models of multiple vendors. The NETCONF XML management protocol includes a set of Perl modules that enable client applications to communicate with a NETCONF server on the router. The Perl modules are used to develop custom applications for configuring and monitoring Junos OS Evolved.

Configuration Commit Scripts

You can create and use scripts that run at commit time to enforce custom configuration rules. If a configuration breaks the custom rules, the script can generate actions that the Junos OS Evolved performs. These actions include:

  • Generating custom error messages

  • Generating custom warning messages

  • Generating custom system log messages

  • Making changes to the configuration

Configuration commit scripts also enable you to create macros, which expand simplified custom aliases for frequently used configuration statements into standard Junos OS Evolved configuration statements. Commit scripts are written in Extensible Stylesheet Language Transformations (XSLT) or Python.