Delete - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

delete

Syntax
delete [ /unreserved ] file-url
delete { running-files | standby-files } [ /unreserved ]
View
User view
Parameter
/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.
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.
If you execute the delete running-files command, all the files with the main attribute will be
deleted.
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:
The delete running-files command only deletes its main attribute instead of the file itself.
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]:
Delete the running config file? [Y/N]:
Delete the running web file? [Y/N]:
Delete the backup image file? [Y/N]:
1-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents