boot system

This topic explains the command that selects which of the two firmware images the switch boots from.

Syntax

boot system <unit-id> {image0 | image1}

Parameter

unid-id: Specifies the switch unit ID in the stack. Use a value between 1 and 6.

image0: Boots the switch from flash image partition 0.

image1: Boots the switch from flash image partition 1.

Default

The default boot image is image0.

Mode

Global Configuration

Usage

The switch supports two images, which lets you store a backup image in the flash memory of the switch.

Use this command to select the active firmware image. If you select image1 to become the new active firmware, image0 becomes the new backup image.

Example

This example shows how to select image1 as the active image:

CODE
Switch(config)# boot system image1
Select "image1" Success