6-31
|<1> +Main |
|<2> -Main |
|<3> +Backup |
|<4> -Backup |
|<0> Exit |
======================================================================
Enter your choice(0-4):
You can set the file attribute to M (main) or B (backup), or cancel the setting. For details about attributes,
refer to “Overview” on page 6-1.
In the example,
1
is selected and the system changes the attribute of the file main.bin from B to M + B.
Set the file attribute success!
Now, the attribute of the file main_bak.bin automatically changes from M to N/A.
Setting application file attributes at the CLI
In the following description the files
main.bin
and
main_bak.bin
mentioned above are taken as
examples.
# Change the attribute of the file main.bin file from B to M + B.
<H3C> boot-loader file main.bin slot 1 main
This command will set the boot file of the specified board. Continue? [Y/N]:
The specified file will be used as the main boot file at the next reboot!
Now the attribute of the file main.bin has changed from B to M + B and the file will be used as the main
application file at the next boot, while the attribute of another existing file main_bak.bin has
automatically changed from the M to N/A.
You can verify the changes of the file attributes by viewing all the files on the file control submenu.
Select
2
from the file control submenu. The system displays the following information:
'M' = MAIN 'B' = BACKUP 'S' = SECURE 'N/A' = NOT ASSIGNED
======================================================================
|NO. Size(B) Time Type Name |
|1 24802996 Nov/04/2007 17:03:26 M+B cfa0:/main.bin |
|2 24802996 Nov/11/2007 15:11:42 N/A cfa0:/main_bak.bin |
|0 Exit |
======================================================================
Enter file no:
For details about the
boot-loader
command, refer to
H3C SecPath Series Security Products User
Manual
.