Support Support Downloads Knowledge Base Apex Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

Prerequisites for ONIE/SONiC installation on PTX10008 and boot sequence

0

0

Article ID: KB36980 KB Last Updated: 25 May 2021Version: 1.0
Summary:

SONiC (Software for Open Networking in the Cloud) is an open source SDN which is owned by the Open Compute Project (OCP), but still largely controlled by Microsoft. It is a mixture of open source software, Juniper software, and Juniper hardware.

This article explains the prerequisites for ONIE/SONiC installation on PTX10008 and boot sequence.

Solution:

Prerequisites based on ‘Doon’ RCB, with the following changes:

New SKU: JNP10K-RE1-S128
TLV formatted Id EEPROM info – required by ONiE
Secure Boot disabled in BIOS – to boot unsigned SONIC images

SONiC release includes:

Released version of cEVO
Released version of cRPD
SONiC software
Debian Linux kernel and packages
ONiE installer / loader

SONiC Image names:

201911 is the SONiC release
R1 is the Juniper release
juniper-sonic-ptx10k-201911-R1.7.bin                     <-- Upgrade image
juniper-sonic-ptx10k-media-usb-201911-R1.7.img  <-- ONiE bootable USB install image
Major Release would be like: juniper-sonic-ptx10k-201911-R2.bin
Service Release would be like: juniper-sonic-ptx10k-201911-R1-S1.bin

Use SONiC CLI command to display the ID EEPROM information:

root@wf-scapa-b:~# show platform syseeprom

TlvInfo Header:
   Id String:    TlvInfo
   Version:      1
   Total Length: 115
TLV Name             Code Len Value
-------------------- ---- --- -----
Product Name         0x21  23 JNP10K-RE1-S128      <- RCB SKU
Part Number          0x22  12 750-110016
Serial Number        0x23  12 S/N BCBJ6531
Base MAC Address     0x24   6 0C:59:9C:FA:11:50
Manufacture Date     0x25  19 05/07/2020 00:00:00
Label Revision       0x27  12 REV 03
MAC Addresses        0x2A   2 64
Vendor Name          0x2D   7 JUNIPER
CRC-32               0xFE   4 0xE36F8359

 

Use the following command to view current BIOS:

# sudo dmidecode -t 0
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
 Vendor: INSYDE Corp.
 Version: CBEP_P_SON1_00.17.01      BIOS version information .. ‘SON’ indicates SONiC
 Release Date: 04/22/2020
 Address: 0xE0000
 Runtime Size: 128 kB
 ROM Size: 8192 kB
 Characteristics:
 BIOS Revision: 196.17

Use the following command to determine if secure boot is enabled. In this release, it will not be:

# test -f /sys/firmware/efi/efivars/SecureBoot-* && echo "Secure Boot Enabled" || echo "Open Boot”

Open Boot

SONiC installer has three steps:

  1. Linux
  2. Evo
  3. SONiC

Installer allows different software combinations, as long as compatibility checks are satisfied.
Evo installation (step 2) handles HAL initialization
Evo installation handles FPC image downloads

System startup sequence:

  1. Linux boots on RE0
  2. Evo starts on RE0
  3.  Evo starts on other RE’s, FPC’s, and SPMB’s
  4. SONiC starts on RE0
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search