Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Step 1: Begin

 

In this guide, we provide a simple, three-step path, to quickly get you up and running with Junos OS Evolved. We’ve simplified and shortened the configuration steps, and included how-to videos. You’ll learn how to configure and deploy Junos OS Evolved in your network.

Note

Are you interested in getting hands-on experience with the topics and operations covered in this guide? Visit Juniper Networks Virtual Labs and reserve your free sandbox today! You’ll find the Junos Day One Experience sandbox in the stand alone category.

Meet Junos OS Evolved

Junos OS Evolved is a unified, end-to-end network operating system that provides reliability, agility, and open programmability for successful cloud-scale deployments. With Junos OS Evolved, you can enable higher availability, accelerate your deployments, innovate more rapidly, and operate your network more efficiently. We’ve aligned Junos OS Evolved with Junos OS so that you can seamlessly continue to manage and automate your network.

Initial Configuration

Have the following information ready before you begin to configure Junos OS Evolved on your networking device:

  • A root password

  • The hostname you want to use to identify the device

  • The domain name you want to use

  • The IP address of a DNS server

  • The IP address of the default gateway

Here’s how to configure Junos OS Evolved for the first time:

  1. Connect a laptop or desktop PC to the console port on the front panel of the device.
  2. Power on the device and wait for it to boot.

    Junos OS Evolved boots automatically. When the boot process is complete, you'll see the re0 login: prompt on the console.

  3. Log in as the user root.

    Initially, you won't need a password for the root user account. The device prompt [vrf:none] root@re0:~# indicates that you are the root user.

  4. Type cli to start the Junos OS Evolved CLI.
  5. Type configure to access CLI configuration mode.
  6. Give a name to the device.

    We don’t recommend using spaces in the hostname.

  7. Configure the domain name of the device.
  8. Configure the IP address and prefix length for the management Ethernet interface on the device.

    The management Ethernet interface provides a separate out-of-band management network for the device.

    Note

    The management interface name is re0:mgmt-number for Routing Engine 0 and re1:mgmt-number for Routing Engine 1. If your device has a single Routing Engine, then the management interface name will be re0:mgmt-number. The number parameter is normally “0” when using the RJ-45 management port. The number “1” is used when desired on platforms that also support a SFP based management port.

  9. Configure a static (default) route for the management interface. In most cases your router will need to reach destinations that are not local to the management subnet. This route should point the a gateway that is directly reachable over the management network.
  10. Configure the IP address of a backup or default network device.

    The backup device is used only when the routing protocol process (rpd) isn't running. This route is used on the primary RE during initial boot, and on the backup Routing Engine (which does not run rpd).

    If your device has two Routing Engines, the backup Routing Engine can be accessed through the configured backup device after the device boots. This enables you to access both the primary and the backup Routing Engine. (RE0 is the default primary Routing Engine.) Choose a backup device that’s directly connected to your device through the management interface. The default gateway is commonly used as the default backup device.

  11. Configure the IP address of a Domain Name System (DNS) server.

    The DNS server translates hostnames into IP addresses.

  12. (Optional) Disable automatic software downloads.

    By default, Junos OS will automatically download software upgrades using Zero Touch Provisioning (ZTP) when a device is booted. To disable this feature, delete the auto-image-upgrade statement under the [edit chassis] hierarchy level.

  13. Set the root password.

    Enter a plain-text password that the system will encrypt, or a password that is already encrypted, or an SSH public key string.

    • To enter a plain-text password:

    • To enter a password that is already encrypted:

    • To enter an SSH public key string:

  14. Enable remote access using SSH.

    Refer to the documentation for information on enabling other access methods like Telnet or netconf. Note that by default the root user can only login on the console port, and that root login is not permitted over Telnet connections. In this example we enable remote access for the root user using ssh.

  15. (Optional) Display the configuration statements.

    You’ll see the management interface name that you configured in place of re0:mgmt-0 in the show command output.

  16. (Optional) Disable DHCP.

    DHCP services automate assigning network-parameters to network devices. The DHCP service process is enabled by default. To disable this feature, use the dhcp-service disable configuration statement at the [edit system processes] hierarchy level.

  17. Commit the changes to activate the configuration on the device:

    After committing the configuration, you’ll see the hostname you configured after the username in the CLI prompt, for example, root@hostname#.

    Congratulations! The initial configuration is now complete.

  18. Exit from CLI configuration mode.

Back Up the Configuration

After you commit the configuration and the new configuration is running successfully, run the request system snapshot command to back up the new software to the file system on your hard drive. If you don’t run the request system snapshot command, the configuration on the backup device will be out-of-sync with the configuration on the primary device. Depending on the device model you may need to insert a supported USB storage device for the snapshot to succeed.