5-24
<H3C>undo startup saved-configuration
Please wait ...... Done!
<H3C>display startup
Current startup saved-configuration file: cfa0:/startup.cfg
Next startup saved-configuration file: NULL
Delete a File
Using the BootWare menu
Enter
3
on the file control submenu, and the system displays the following information:
Deleting the file in cfa0:
'M' = MAIN 'B' = BACKUP 'S' = SECURE 'N/A' = NOT ASSIGNED
============================================================================
|NO. Size(B) Time Type Name |
|1 10323352 Aug/20/2008 10:42:42 M cfa0:/main.bin |
|2 33 Aug/20/2008 10:06:24 N/A cfa0:/system.xml |
|3 842 Aug/20/2008 10:23:56 N/A cfa0:/startup.cfg |
|4 76960 Aug/15/2008 15:58:02 N/A cfa0:/vmetest.vme |
|0 Exit |
============================================================================
Enter file No:
Type a file sequence number and press
Enter
. The system asks you to confirm your operation:
The file you selected is cfa0:/startup.cfg,Delete it? [Y/N]
Enter
Y
for confirmation. The following message appears, indicating the file was successfully deleted.
Deleting..........Done!
Using the CLI
Execute the
delete
[
/unreserved
]
file
-
url
command in user view to delete a file, where:
z
/unreserved
: Permanently deletes the specified file, and the deleted file can never be restored.
z
file
-
url
: Name of the file to be deleted.
# Delete file
test.txt
in the root directory.
<H3C> delete test.txt
Delete cfa0:/test.txt?[Y/N]:y
%Delete file cfa0:/test.txt...Done.
At this time, file
test.txt
is removed to the recycle bin. If you want restore the file, you can use the
undelete
command.
# Restore file
test.txt
from the recycle bin.
<H3C> undelete test.txt
Undelete cfa0:/test.txt? [Y/N]:y
% Undeleted file cfa0:/test.txt.
Dealing With Password Loss
This section describes how to deal with password loss.