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.
<<HP> 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 original M to N/A.
You can verify the changes of the file attributes by viewing all the files through the file control
sub-menu.
Select
2
from the file control sub-menu. 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
Device Management
in the
System
Volume
of
HP SR6600 Routers User Manual
.
Setting Configuration File Attributes
Setting configuration file attributes on the BootWare menu
You can modify the file attributes on the BootWare menu. For details about configuration file
attributes, refer to “
Configuration Files
” on page 6-2.
Select
3
from the file control sub-menu. The system displays the following information:
'M' = MAIN
'B' = BACKUP
'S' = SECURE
'N/A' = NOT ASSIGNED
=========================================================================
|NO. Size(B)
Time
Type
Name
|
|1
734
Dec/17/2000 11:47:20 N/A
cfa0:/startup.cfg
|
|2
760
Dec/17/2000 18:49:50 N/A
cfa0:/startup_bak2.cfg
|
|3
810
Dec/17/2000 18:49:26 M
cfa0:/startup_bak1.cfg
|
|4
850
Dec/17/2000 18:50:08 N/A
cfa0:/startup_bak3.cfg
|
|0
Exit
|
=========================================================================
Enter file No:
Select
a
file
number,
which
is
1
in
this
example.
The
following
information
appears:
Modify the file attribute:
=========================================================================
|<1> +Main
|
|<2> -Main
|
|<3> +Backup
|
|<4> -Backup
|