Celestica Documentation Portal

Find your product documents here

Image install

Installs new SONiC image.

Syntaximage install <image-path> [skip-package-migration] [skip-migration]
Command mode EXEC
Parameters
  • image-path – Local file (local://) or Remote file (http:// or https://).

  • skip-package-migration – Option to skip package migration while installing image.

  • skip-migration – Option to skip migration while installing image.

Usage
  • Use this command to install new image. New image will be set as next boot image after successful installation.

  • Use show image status to retrieve image installation status.

Supported Releases 1.0.0 or later
Click command sonic-installer install <image-path> [--skip-package-migration] [--skip_migration]
Example
sonic# image install local:///tmp/sonic-broadcom.bin
%Info: Use 'show image status' for image install progress.
sonic#

sonic# image install http://10.208.29.3:8080/sonic-broadcom.bin
%Info: Use 'show image status' for image install progress.
sonic#

sonic# image install local:///tmp/sonic-broadcom.bin skip-package-migration skip-migration
%Info: Use 'show image status' for image install progress.
sonic#
sonic# image install local:///cls-sonic-broadcom-k179.bin skip-platform-check skip-secure-check
New image will be installed, continue? [y/N]: y
sonic# image install local:///tmp/sonic-broadcom.bin skip-setup-swap
New image will be installed, continue? [y/N]: y
%Info: Use 'show image status' for image install progress.
sonic# image install local:///cls-sonic-broadcom-k179.bin swap-mem-size 10 available-mem-threshold 20
New image will be installed, continue? [y/N]: y
%Info: Use 'show image status' for image install progress.
sonic# image install local:///cls-sonic-broadcom-k179.bin swap-mem-size 10 available-mem-threshold 20 total-mem-threshold 15
New image will be installed, continue? [y/N]: y
%Info: Use 'show image status' for image install progress.
sonic#