boot command

In redundant management systems, the boot or boot active command causes a switchover to the standby management module as long as the standby module is in standby mode. This message displays:

This management module will now reboot and will become the
standby module! You will need to use the other management
module's console interface. Do you want to continue [y/n]?

If you select y, switchover is initiated by the standby management module, which becomes the active management module after boot completes.

If the standby module is not in standby mode (for example, it is in failed mode or offline mode), switchover to the standby module does not occur. The system is rebooted and this message displays:

The other management module is not in standby mode and this
command will not cause a switchover, but will reboot the
system, do you want to continue [y/n]?

If the other management module is not present in the switch, the system simply reboots.

The boot command has these options.

Command

Action

boot cr
Reboots the active management module from the flash image that is specified for the default boot. This can be changed with the boot set-default flash command. You can select which image to boot from during the boot process itself. (See The management module rebooting, showing boot profiles to select.) The switch will switchover to the standby management module.
NOTE:

This is changed from always booting from primary flash. You are prompted with a message, which indicates the flash being booted from.

boot active

Boots the active management module. The switch starts to boot from the default flash image. You can select which image to boot from during the boot process itself. (See The management module rebooting, showing boot profiles to select.) The switch will switchover to the standby management module. If a second management module is not present in the switch, the system is rebooted.

boot standby

Boots the standby management module. The switch does not switchover.If the standby module is not present, this message displays: "The other management module is not present."


boot system [flash [primary | secondary]]

Boots both the active and standby management modules. You can specify the flash image to boot from.


boot set-default flash {primary | secondary}

Sets the default flash for the next boot to primary or secondary. You see this message:"This command changes the location of the default boot. This command will change the default flash image to boot from flash chosen>. Hereafter, ‘reload' and ‘boot' commands will boot from flash chosen>. Do you want to continue [y/n]?"

You can select a boot profile during the reboot process, as shown in The management module rebooting, showing boot profiles to select. If you make no selection, the boot defaults to the image displayed as the default choice (shown in parentheses.)

The management module rebooting, showing boot profiles to select

An example of the boot command with the default flash set to secondary is shown in Showing boot command with default flash set to secondary.

Showing boot command with default flash set to secondary
CAUTION:

For a given reboot, the switch automatically reboots from the startup-config file assigned to the flash (primary or secondary) being used for the current reboot. The startup-default command can be used to set a boot configuration policy. This means that both the flash image and one of the three configuration files can be specified as the default boot policy.