Pre-requisites
- Make sure the Switch/ASIC Model is running a supported released version of SONiC
- Contact the Aviz Networks Support Team to get the latest image for the specific Switch/ASIC model
- Make sure the switch management port is connected and configured to the network
- Upload/Copy the appropriate SONiC bin file to the source location, which is either:
- Local SSD on Switch or
- TFTP Server or
- HTTP Server
Upgrade Procedure
- Check the Installed SONiC version
admin@sonic:~$ sudo sonic_installer list
Warning: 'sonic_installer' command is deprecated and will be removed in the future
Please use 'sonic-installer' instead
Current: ACS-TD3-SONiC_202106_001
Next: ACS-TD3-SONiC_202106_001
Available:
ACS-TD3-SONiC_202106_001
- Upgrade the image from either
admin@sonic:~$ sudo sonic_installer install tftp://10.241.107.1/ACS-TD3-SONiC_202106_002.bin -y
admin@sonic:~$ sudo sonic_installer ./ACS-TD3-SONiC_202106_002.bin -y
- Check the Images after the installation is complete
admin@sonic:~$ sudo sonic_installer list
Warning: 'sonic_installer' command is deprecated and will be removed in the future
Please use 'sonic-installer' instead
Current: ACS-TD3-SONiC_202106_001
Next: ACS-TD3-SONiC_202106_001
Available:
ACS-TD3-SONiC_202106_001
ACS-TD3-SONiC_202106_002
- Specify the startup image to the correct version - i.e. change the next boot-up image
admin@sonic:~$ sudo sonic_installer set_default ACS-TD3-SONiC_202106_002
Command: grub-set-default --boot-directory=/host 1
- Check the status of the Images
admin@sonic:~$ sudo sonic_installer list
Current: ACS-TD3-SONiC_202106_001
Next: ACS-TD3-SONiC_202106_002
Available:
ACS-TD3-SONiC_202106_001
ACS-TD3-SONiC_202106_002
- Reboot Switch and verify if it has loaded with new version
admin@sonic:~$ sudo sonic_installer list
Current: ACS-TD3-SONiC_202106_002
Next: ACS-TD3-SONiC_202106_002
Available:
ACS-TD3-SONiC_202106_001
ACS-TD3-SONiC_202106_002
admin@sonic:~$ sudo sonic-installer remove ACS-TD3-SONiC_202106_001 -y
Updating GRUB...
Done
Removing image root filesystem...
Done
Command: grub-set-default --boot-directory=/host 0
Image removed
Comments
0 comments
Please sign in to leave a comment.