Command Line Reference
Basic Configuration
Device Upgrade
4 min
image update image update \[command] image update bin file \[purpose] upgrade system version \[parameter] parameter description bin file software image file name \[view] system view \[notes] by default, during an upgrade, the system will automatically copy the currently saved configuration file to the new version and load it after the restart if you need to clear the configuration or save the latest configuration, please execute the appropriate commands before the upgrade \[use cases] sonic# image update asternos v5 2r001 bin image list image list \[command] image list \[purpose] show the system version of the current partition \[view] system view \[comment] the system has software versions installed on two partitions this command shows the version installed on the current partition use the image set default command to specify the software version that takes effect for the system, which requires a reboot to apply \[use cases] sonic# image list current sonic os v5 2r015t04 20251210 220426 next sonic os v5 2r015t04 20251210 220426 available sonic os v5 2r015t04 20251210 220426 sonic os 201911 0 20251201 165801 image set default \<bin file> image set default \<bin file> \[command] image set default \<bin file> \[purpose] when multiple software versions exist in the partition, set the default version to take effect for the system \[parameter] bin file software image file name \[view] system view \[comment] use the image list command to view the software versions in the system partition use the image set default command to specify the software version currently in effect for the system, which requires a reboot to take effect \[use cases] sonic# image set default sonic os v5 2r015t04 20251210 220426
