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 walk you through how to install and configure Junos® containerized routing protocol process (cRPD) on a Linux host and access it using Junos CLI. Next, we show you how to connect and configure two Junos cRPD instances and establish an OSPF adjacency.

Meet Junos cRPD

Junos cRPD is a cloud-native, containerized routing engine that supports simple deployment throughout the cloud infrastructure. Junos cRPD decouples the RPD from Junos OS and packages the RPD as a Docker container that runs on any Linux-based system, including servers and whitebox routers. Docker is an open source software platform that makes it simple to create and manage a virtual container.

Junos cRPD supports multiple protocols such as OSPF, IS-IS, BGP, MP-BGP, and so on. Junos cRPD shares the same management functionality as Junos OS and Junos OS Evolved to deliver a consistent configuration and management experience in routers, servers, or any Linux-based device.

Get Ready

Before you begin deployment:

Install and Configure Docker on a Linux Host

  1. Verify that your host meets these system requirements.
    • Linux OS support - Ubuntu 18.04
    • Linux Kernel - 4.15
    • Docker Engine- 18.09.1 or later versions
    • CPUs- 2 CPU core
    • Memory - 4 GB
    • Disk space - 10 GB
    • Host processor type - x86_64 multicore CPU
    • Network Interface - Ethernet
  2. Download the Docker software.
    1. Update your existing list of packages and download the necessary tools.
    2. Add the Docker repository to Advanced Packaging Tool (APT) sources.
    3. Update the database with the Docker packages.
    4. Update the apt package index, and install the latest version of Docker Engine.
    5. Check to see if the installation is successful.
Tip:

Use these commands to install the components you need for the Python environment and packages:

  • apt-add-repository universe
  • apt-get update
  • apt-get install python-pip
  • python -m pip install grpcio
  • python -m pip install grpcio-tools

Download and Install Junos cRPD Software

Now that you've installed Docker on the Linux host and confirmed that the Docker Engine is running, let's download the Junos cRPD software from the Juniper Networks software download page.

Note:

To download, install, and start using Junos cRPD without a license key, see Start your free trial today.

Note:

You can open an Admin Case with Customer Care for privileges to download the software.

  1. Navigate to the Juniper Networks Support page for Junos cRPD: https://support.juniper.net/support/downloads/?p=crpd and click the latest version.
  2. Enter your user ID and password and accept the Juniper end-user license agreement. You’ll be guided to the software image download page.
  3. Download the image directly on your host. Copy and paste the generated string as instructed on the screen.
  4. Load the Junos cRPD software image to Docker.
  5. Create a data volume for configuration and var logs.
  6. Create a Junos cRPD instance. In this example, you'll name it crpd01.

    Alternatively, you can allocate the amount of memory to the Junos cRPD instance while creating the instance.

    Check cRPD Resource Requirements for the details.

  7. Verify the newly created container details.