Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Install, Upgrade, and Recover SONiC

 

This section describes how to install, upgrade, and recover Open Network Install Environment (ONIE) and SONiC on the Juniper Networks’ PTX10008 router. Open Network Installation Environment (ONIE) is an open source installation environment for installing and booting all the software components.

Note

The Juniper Networks’ PTX10008 router is shipped with SONiC images pre-installed.

The SONiC installation and recovery process on PTX10008 router are the same and the installation results in clean installation, which means all the prior configurations are removed, including that of the network management port. Access to the console port is required before beginning the installation and recovery process.

For SKUs supporting SONiC, see the PTX10008 Packet Transport Router datasheet at https://www.juniper.net/us/en/products-services/routing/ptx-series/ptx10000/.

Install SONiC on PTX10008 Router

This section describes how to install SONiC on the Juniper Networks’ PTX10008 router.

Note

The install, upgrade, and recovery of SONiC happens in the Primary SSD, as defined by the BIOS.

To install SONiC on the Juniper Networks’ PTX10008 router, you need to:

  1. Download the install image juniper-sonic-ptx10k-media-usb-<version>.img (for example juniper-sonic-ptx10k-media-usb-201911-R1.7.img), from https://support.juniper.net/support/downloads/?p=ptx10008 by selecting the operating system as SONiC.Note

    The juniper-sonic-ptx10k-media-usb-<version>.img image installs both ONIE and SONiC on the PTX10008 router.

    Note

    This installation procedure uses the 201911-R1.7 version as an example. If you are installing any subsequent releases, only the Sonic version string is different, for example, 202106-R1 in the image path and the outputs.

  2. Copy the juniper-sonic-ptx10k-media-usb-<version>.img install image to a USB memory drive and then insert the USB memory drive to the router’s USB port.
  3. Power on the router and access the console.
  4. Go to the boot options in the BIOS configuration by pressing the Esc key, as displayed in the console screen.
  5. Select Setup Utility option from menu.
  6. Select Boot from the Setup Utility menu.
  7. Select UEFI Boot Order option from the InsydeH20 Setup Utility menu.
  8. Press F10 to exit and save the changes.
  9. Select Boot Manager option from the menu and then select USB media for boot.
  10. Select ONIE: Embed ONIE option to proceed with ONIE boot.
  11. After ONIE boots up, select ONIE: Install OS to install ONIE. After ONIE is installed, the ONIE installer proceeds to install SONiC operating system.
  12. After the SONiC OS is installed successfully, the system reboots, and loads the SONiC OS automatically.
  13. When the SONiC login prompt appears, use the standard SONiC login user ID admin and the password YourPaSsWoRd.

Upgrade SONiC on PTX10008 Router

This section describes how to upgrade SONiC on the Juniper Networks’ PTX10008 router. Software upgrade is the procedure of updating the SONiC to a latest release without losing any of the existing configuration. While console access is always preferred, it is not mandatory for this procedure.

Note

The install, upgrade, and recovery of SONiC happens in the Primary SSD, as defined by the BIOS.

To upgrade the SONiC OS on the Juniper Networks’ PTX10008 router to a later release, you need to:

  1. Download the SONiC image juniper-sonic-ptx10k-<version>.bin (for example, juniper-sonic-ptx10k-201911-R1.6.bin) from https://support.juniper.net/support/downloads/?p=ptx10008 by selecting the operating system as SONiC.
  2. Copy the SONiC installer image to the /usr/bin/ directory in the existing SONiC system.
  3. You must be logged in as a root user to proceed with the upgrade. If you are logged in to SONiC as a non-root user, you will need to switch to the root user by entering the following command:
  4. Navigate to the directory /usr/bin/ where the juniper-sonic-ptx10k-<version>.bin file is located.
  5. Install the juniper-sonic-ptx10k-<version>.bin file.
  6. When prompted to install the new image, enter Y to continue the upgrade installation.
  7. Reboot the system to activate the new software.