跳转到内容
Ask AI

AsterNOS Uninstallation and Upgrade

此内容尚不支持你的语言。

We support uninstalling software that are not currently in use in AsterNOS, and we also support uninstalling all AsterNOS systems via ONIE to erase the disk of the entire partition where AsterNOS is located.

  • Run show image command to view the current AsterNOS system. Example:
Terminal window
sonic# show image
Current: AsterNOS_V3.1_R0406P01
Next: AsterNOS_V3.1_R0406P01
Available:
AsterNOS_V3.1_R0406P01
SONiC-OS-CX-NB-2.5
  • Run sonic-installer remove <version_name> command to uninstall older version. Example:
Terminal window
sonic# system bash
admin@sonic:~$ sudo sonic-installer remove SONiC-OS-CX-NB-2.5
  • Log in to the switch through the serial port and then run reboot command. Wait for a while until the system selection window appears. Please select ONIE within 10 seconds or it will default to enter AsterNOS.
  • Later you will enter ONIE GRUB Menu and select ONIE: Uninstall OS. This will take a while to erase all AsterNOS systems and format the partitions.

  • Wait for some time until the removal is complete, the system will automatically reboot and enter ONIE: Install OS.

  • Copy the new version of AsterNOS software image to the switch via scp or other methods.

  • Log in to the switch through SSH.
Terminal window
ssh admin@10.250.0.232
  • Execute the following command to install.
Terminal window
image update AsterNOS_V3.1_R0406P01-BRCM.bin

  • View the information of AsterNOS system images present in the switch currently.
Terminal window
show image

  • The new version takes effect after you reboot the switch.
Terminal window
reboot

  • Re-login to the switch and check the version information. Now the upgrade is complete.
Terminal window
show version