R211x-HP Flexfabric 11900 Fundamentals Command Reference

158
main: Specifies the files as main startup files. The device always first attempts to start up with main startup
files.
Usage guidelines
In standalone mode, use this command to upgrade the startup software images on both MPUs. To
upgrade only the standby MPU, you can also use the boot-loader update command.
In IRF mode, use this command to upgrade the startup software images on all MPUs in an IRF fabric. To
upgrade only standby MPUs, you can also use the boot-loader update command.
In standalone mode:
Before specifying startup software image files, you must perform the following task:
Save the upgrade files to the root directory of a storage medium on the active MPU. If the storage
medium is partitioned, save the files to the root directory of the first partition.
If the standby MPU is specified, the system examines the root directory of the storage medium on the
standby MPU for any file with the same name as the file on the active MPU. If no such a file exists, the
system copies the specified file from the active MPU to the standby MPU and sets it as a startup image file.
If a file with the same name exists, you must choose whether to overwrite the file already on the standby
MPU.
In IRF mode:
Before specifying startup software image files, you must perform the following task:
Save the upgrade files to the root directory of a storage medium on the global active MPU. If the storage
medium is partitioned, save the files to the root directory of the first partition.
If a standby MPU is specified, the system performs the same procedure as in standalone mode.
The boot-loader file command overwrites the entire startup software image list. To add new startup
feature images, specify all feature image files, including feature image files in the old startup software
image list. The new startup software image list will contain only the feature image files that are specified
in the command.
Examples
# In standalone mode, specify flash:/all.ipe as the backup startup image file for the MPU in slot 4.
<Sysname> boot-loader file flash:/all.ipe slot 4 backup
Verifying image file......Done.
Images in IPE:
boot.bin
system.bin
ssh.bin
This command will set the backup startup software images. Continue? [Y/N]:Y
Add images to target slot.
flash:/boot.bin already exists on slot 4.
flash:/system.bin already exists on slot 4.
flash:/ssh.bin already exists on slot 4.
Overwrite it? [Y/N]:y
Decompressing file boot.bin to flash:/boot.bin....................................Done.
Decompressing file system.bin to flash:/system.bin................................Done.
The images that have passed all examinations will be used as the backup startup software
images at the next reboot on slot 4.