|<0> Exit |
======================================================================
Enter your choice(0-4):
You can set the file attribute to M (main) or B (backup), or cancel the setting by selecting a
choice from 1 to 4. For details of each type of files, refer to “Files“ 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 from B to M + B.
<<HP> boot-loader file main.bin slot 5 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 on slot
5!
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_bak1.cfg |
|3 810 Dec/17/2000 18:49:26 M cfa0:/startup_bak2.cfg |
|4 850 Dec/17/2000 18:50:08 N/A cfa0:/startup_bak3.cfg |
|0 Exit |
=========================================================================