131
Examples
# Specify
test.bin
as the main startup system software image file for the master (member ID 1). This
example assumes that this file has been saved in the root directory of the storage medium on the master.
<Sysname> boot-loader file test.bin slot 1 main
This command will set the boot file of the specified board. Continue? [Y/N]:y
The specified file will be used as the main boot file at the next reboot on slot 1!
# Specify
test.bin
as the main startup system software image file for IRF member device 2. This example
assumes that the device is a subordinate device and the file has been saved in the root directory of the
storage medium on the device.
<Sysname> boot-loader file slot2#flash:/test.bin slot 2 main
This command will set the boot file of the specified board. Continue? [Y/N]:y
The specified file will be used as the main boot file at the next reboot on slot 2!
# Specify
test.bin
as the main startup system software image file for all member devices. This example
assumes that the file has been saved in the root directory of the storage medium on each member device.
<Sysname> boot-loader file test.bin slot all main
This command will set the boot file of the specified board. Continue? [Y/N]:y
The specified file will be used as the main boot file at the next reboot on slot 1!
The specified file will be used as the main boot file at the next reboot on slot 2!
Related commands
display boot-loader
boot-loader update file
Use
boot-loader update file
to specify a startup system software image file for an IRF member device or
all IRF member devices.
Syntax
boot-loader update file
file-url
slot
{
slot-number
|
all
} {
main
|
backup
}
Views
User view
Default command level
3: Manage level
Parameters
file
-
url
: Specifies a file path, a string of 1 to 63 characters. For more information, see "
."
slot
: Specifies IRF member devices.
•
slot-number
: Specifies an IRF member device by its member ID.
•
all
: Specifies all member devices in the IRF fabric.
main
: Specifies the file as the main system software image. The main system software image has higher
priority than the backup system software image at startup.
backup
: Specifies the file as the backup system software image. The backup system software image is
used at startup only if the main system software image is unavailable.
Usage guidelines
In contrast to the
boot-loader file
command, the
boot-loader update file
command automatically copies
the startup system software image to every target member device. You do not need to do that separately.