3com 5500-ei pwr 参考指南
1-3
...
%Copy file unit1>flash:/config.cfg to unit1>flash:/test/config.cfg...Done.
delete
Syntax
delete [ /unreserved ] file-url
delete { running-files | standby-files } [ /fabric ] [ /unreserved ]
View
User view
Parameters
/unreserved: Specifies to delete a file completely.
file-url: Path name or file name of a file in the Flash memory. You can use the * character in this
argument as a wildcard. For example, the delete *.txt command deletes all the files with .txt as their
extensions.
running-files: Specifies to delete all the files with the main attribute.
standby-files: Specifies to delete all the files with the backup attribute.
/fabric: Specifies to delete all the specified files in the fabric.
Description
Use the delete command to delete a specified file from the Flash memory on a switch.
If you execute the delete command with the /unreserved keyword specified, the specified file is
permanently deleted. That is, the file cannot be restored. If you execute the delete command without
the /unreserved keyword, the specified file is removed to the recycle bin, and you can use the undelete
command to restore it.
You can delete files based on file attribute.
z
If you execute the delete running-files command, all the files with the main attribute will be
deleted.
z
If you execute the delete standby-files command, all the files with the backup attribute will be
deleted.
For a file that has both the main and backup attributes:
z
The delete running-files command only deletes its main attribute instead of the file itself.
z
The delete standby-files command only deletes its backup attribute instead of the file itself.
When you use the delete running-files or delete standby-files command, you will be prompted to
confirm whether to delete all files with the main/backup attribute. If you choose yes, the corresponding
files are deleted. If you choose no, the system will further to prompt you to confirm the following items
orderly:
1) Delete the image files with the main/backup attribute?
2) Delete the configuration files with the main/backup attribute?
3) Delete the Web files with the main/backup attribute?
The corresponding messages are displayed as follows:
Delete the running image file? [Y/N]: