through a procedure called
Redundant images in firmware
The switch stores up to two different software images, called image1 and image2, as well as boot software, called boot. When downloading new software, the ability to specify where it is to be placed (into image1, image2, or boot) is activated.
For example, if the active image is currently loaded into image1, load the new image software into image2. This allows a test of the new software and the option to revert back to the original image stored in image1, if needed.
CAUTION: Unlike the firmware that has two images, there is only one image of boot supported. Upgrading the boot image replaces the original boot image.