R3166-R3206-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

54
Software upgrade commands
boot-loader
Syntax
boot-loader file file-url { main | backup }
View
User view
Default level
3: Manage level
Parameters
file file-url: Specifies a file name, a string of 1 to 63 characters. If you enter a relative path here, the
system automatically converts it to an absolute path. The absolute path should contain no more than 63
characters; otherwise, the command cannot be successfully executed. The file name is in the format of
[drive:/]file-name, where
The items in square brackets [ ] are optional.
drive specifies the storage media of the file. The value is the name of the storage media. If a device
has only one storage media, you can execute this command without providing this argument.
file-name specifies the filename, which is usually suffixed by .bin.
main: Specifies a file as the system software image. A main system software image is used to boot a
device.
backup: Specifies a file as a backup system software image. A backup system software image is used to
boot a device only when a main system software image is unavailable.
Description
Use the boot-loader command to specify the system software image for the next device boot.
To execute the boot-loader command successfully, save the file for the next device boot in the root
directory of the storage media.
Related commands: display boot-loader.
Examples
# Specify the main system software image for the next device boot as main.bin. (The output of this
command varies with devices.)
<Sysname> boot-loader file cfa0:/main.bin main
This command will set the boot file. Continue? [Y/N]:y
The specified file will be used as the main boot file at the next reboot on slot 0!
bootrom
Syntax
bootrom { backup | read | restore | update file file-url } [ all | part ]