Deleting A File - HP A6602 Installation Manual

Table of Contents

Advertisement

If you assign the B attribute to a configuration file, the attribute of the existing backup
configuration file, if any, is automatically erased, because there can be only one backup
configuration file in the system at a time.
You can use the undo startup saved-configuration command to erase the main and backup
attributes of the configuration files. Namely, the system has no longer a main, nor a backup
configuration file after this command.
# Define the file startup.cfg as the backup configuration file for the next system boot.
<HP> startup saved-configuration startup.cfg backup
Please wait......Done!
For details about the startup saved-configuration cfgfile command, refer to HP SR6600
Routers User Manual.

Deleting a File

Deleting a file on the BootWare menu
Select 3 from the file control sub-menu, and the system displays:
Deleting the file in cfa0:
'M' = MAIN
=====================================================================
|NO. Size(B)
|1
11673608
|2
1227
|3
2294
|4
2094
|0
Exit
=====================================================================
Enter file No:
Enter the file number, select 4, and the system prompts:
The file you selected is cfa0:/~/startup_bac.cfg,Delete it? [Y/N]
Enter Y.
If the system displays the following information, the file is successfully deleted:
Deleting.........
Done!
Deleting a file at the CLI
You can delete a file using the delete [ /unreserved ] file-url command in user view. In the
command, /unreserved deletes a file permanently, and file-url specifies the file to be deleted.
# Delete test.txt file in the root directory.
<HP> delete test.txt
Delete cfa0:/test.txt?[Y/N]:y
%Delete file cfa0:/test.txt...Done.
At this time, the test.txt file is moved to the recycle bin. If you want to restore the file, you can
use the undelete command.
# Restore the test.txt file in the recycle bin.
<HP> undelete test.txt
Undelete cfa0:/test.txt? [Y/N]:y
% Undeleted file cfa0:/test.txt.
'B' = BACKUP
Time
Nov/15/2007 05:39:50 B
Nov/11/2007 16:25:52 N/A
Nov/11/2007 14:47:32 N/A
Nov/11/2007 13:47:34 N/A
'S' = SECURE
'N/A' = NOT ASSIGNED
Type
Name
cfa0:/main.bin
cfa0:/startup.cfg
cfa0:/~/startup.cfg
cfa0:/~/startup_bac.cfg
|
|
|
|
|
|

Advertisement

Table of Contents
loading

Table of Contents