Celestica Documentation Portal

Find your product documents here

Fresh Installation of SONiC NOS

  1. Connect to switch via serial console.

  2. For ARM platforms, use run onie_bootcmd from UBOOT prompt to load ONIE.

  3. (Optional) Some switches may come with a NOS which will require you to uninstall the existing NOS first before you install SONiC. To do so, simply boot into ONIE and select Uninstall OS.
                         GNU GRUB  version 2.02~beta2+e4a1fe391
     +----------------------------------------------------------------------------+
     |*ONIE: Install OS                                                           | 
     | ONIE: Rescue                                                               |
     | ONIE: Uninstall OS  <----- Select this one                                 |
     | ONIE: Update ONIE                                                          |
     | ONIE: Embed ONIE                                                           |
     +----------------------------------------------------------------------------+
    
          Use the ^ and v keys to select which entry is highlighted.          
          Press enter to boot the selected OS, `e' to edit the commands       
          before booting or `c' for a command-line.                             
    
  4. Reboot the switch into ONIE and select Install OS.
                          GNU GRUB  version 2.02~beta2+e4a1fe391
     +----------------------------------------------------------------------------+
     |*ONIE: Install OS    <----- Select this one                                 | 
     | ONIE: Rescue                                                               |
     | ONIE: Uninstall OS                                                         |
     | ONIE: Update ONIE                                                          |
     | ONIE: Embed ONIE                                                           |
     +----------------------------------------------------------------------------+
    
          Use the ^ and v keys to select which entry is highlighted.          
          Press enter to boot the selected OS, `e' to edit the commands       
          before booting or `c' for a command-line.                           
    
  5. Assign IP address.
    • Ensure that eth0 is assigned a static IP or via DHCP.

    • For ES1000 x86, ensure eth2 is assigned a static IP or via DHCP.

    • For ES1010/ES1050/EG1050, ensure eth2 is assigned a static IP or via DHCP.

    • Stop ONIE discovery mode using onie-stop.

    Note: ES1000 x86 and ES1010/ES1050/EG1050 ONIE eth2 is considered as Management interface.
  6. Install SONiC. Transfer the image into the device using scp / sftp / ftp / http.
    ONIE:/ # ifconfig eth0 <ip_address> netmask <netmask_ip>
    ONIE:/ # ip route add default <gateway_ip>
    ONIE:/ # onie-nos-install <URL>
  7. After installation is successful, the device will reboot automatically and boot-up with SONiC.