boot system

Syntax

boot system [primary | secondary | serviceos]

Description

Reboots the entire switch. By default, the configured default operating system image is used. Optional parameters enable you to specify which system image to use for this reboot operation and for future reboot operations.

Command context

Manager (#)

Parameters

primary

Selects the primary operating system image for this reboot and sets the configured default operating system image to primary for future reboots.

secondary

Selects the secondary operating system image for this reboot and sets the configured default operating system image to secondary for future reboots.

serviceos

Selects the service operating system for this reboot. Does not change the configured default operating system image. The service operating system acts as a standalone bootloader and recovery OS for switches running the ArubaOS-CX operating system and is used in rare cases when troubleshooting a switch.

Authority

Administrators

Usage

This command reboots the entire system. If you do not select one of the optional parameters, the system reboots from the configured default boot image.

You can use the show images command to show information about the primary and secondary system images.

Choosing one of the optional parameters affects the setting for the default boot image:

  • If you select the primary or secondary optional parameter, that image becomes the configured default boot image for future system reboots. The command fails if the switch is not able to set the operating system image to the image you selected.

    You can use the boot set-default command to change the configured default operating system image.

  • If you select serviceos as the optional parameter, the configured default boot image remains the same, and the system reboots all management modules with the service operating system.

If the configuration of the switch has changed since the last reboot, when you execute the boot system command you are prompted to save the configuration and you are prompted to confirm the reboot operation.

Saving the configuration is not required. However, if you attempt to save the configuration and there is an error during the save operation, the boot system command is aborted.

Examples

Rebooting the system from the configured default operating system image:

switch# boot system
Do you want to save the current configuration (y/n)? y
The running configuration was saved to the startup configuration.

This will reboot the entire switch and render it unavailable
until the process is complete.
Continue (y/n)? y
The system is going down for reboot.

Rebooting the system from the secondary operating system image, setting the secondary operating system image as the configured default boot image:

switch# boot system secondary
Default boot image set to secondary.

Do you want to save the current configuration (y/n)? n

This will reboot the entire switch and render it unavailable
until the process is complete.
Continue (y/n)? y
The system is going down for reboot.

Canceling a system reboot:

switch# boot system

Do you want to save the current configuration (y/n)? n

This will reboot the entire switch and render it unavailable
until the process is complete.
Continue (y/n)? n
Reboot aborted.
switch#