HP Router Service Modules - HP SECBLADENSM-CMW520-R3109 Release Notes

HP SECBLADENSM-CMW520-R3109
Release Notes
Hewlett-Packard Development Company, L.P.
44
Deleting.........
Done!
Maintaining files at the CLI
Displaying all files
Use the dir command to display all files on a SecBlade card.
<HP> dir
Directory of cfa0:/
0 drw- - Jun 11 2007 19:09:42 logfile
1 -rw- 10867848 Jun 13 2007 13:21:20 main.bin
2 -rw- 1128 Jun 27 2007 11:07:24 startup.cfg
3 -rw- 558 Jun 11 2007 20:20:38 config.cfg
4 -rw- 558 Jun 11 2007 20:23:10 config_bac.cfg
506336 KB total (506272 KB free)
File system type of cfa0: FAT16
Modifying a file type
# Change the main.bin file from type B to type M+B.
<HP> boot-loader file main.bin main
This command will set the boot file. Continue? [Y/N]:y
The specified file will be used as the main boot file at the next reboot!
By now, the original main.bin file has become type M+B and it will be used as the main boot
file at the next boot.
If a file of type M already exists on the SecBlade card, it will automatically be changed
from type M to type N/A.
Deleting a file
You can use the delete [ /unreserved ] file-url command in user view to delete a file. In the
command, the /unreserved keyword deletes a file, and the file-url argument specifies the
file to be deleted.
# Delete the startup.cfg file from the root directory.
<HP> delete startup.cfg
Delete cfa0:/startup.cfg?[Y/N]:y
%Delete file cfa0:/startup.cfg...Done.
At this time, the startup.cfg file is moved to the recycle bin. If you want to restore the file,
you can use the undelete command.
# Restore the startup.cfg file in the recycle bin.
<HP> undelete startup.cfg
Undelete cfa0:/startup.cfg? [Y/N]:y
% Undeleted file cfa0:/startup.cfg.