HP FlexFabric 7900 Series Command Reference Manual page 129

Hide thumbs Also See for FlexFabric 7900 Series:
Table of Contents

Advertisement

Syntax
delete [ /unreserved ] file-url
Views
User view
Predefined user roles
network-admin
mdc-admin
Parameters
/unreserved: Permanently deletes the specified file. If you do not specify this keyword, the
command moves the file to the recycle bin.
file-url: Specifies the name of the file to be deleted. Asterisks (*) are acceptable as wildcards. For
example, to remove files with the .txt extension in the current directory, enter delete *.txt.
Usage guidelines
Use the delete /unreserved file-url command with caution. You cannot restore a file that was deleted
with this command.
The delete file-url command (without the /unreserved option) moves the specified file to the recycle
bin unless the device is running out of storage space. If the device is running out of storage space,
the file is permanently deleted.
A file moved to the recycle bin can be restored by using the undelete command.
Do not use the delete command to delete files from the recycle bin. To delete files from the recycle
bin, use the reset recycle-bin command.
If you delete two files that have the same name but reside in different directories, both files are
retained in the recycle bin. If you successively delete two files that have the same name from the
same directory, only the file deleted last is retained in the recycle bin.
Examples
# In standalone mode, remove file 1.cfg from the Flash root directory.
<Sysname> delete 1.cfg
Delete flash:/1.cfg? [Y/N]:y
Deleting file flash:/1.cfg...Done.
# In standalone mode, permanently delete file 1.cfg from the flash root directory.
<Sysname> delete /unreserved 1.cfg
The file cannot be restored. Delete flash:/1.cfg?[Y/N]:y
Deleting the file permanently will take a long time. Please wait...
Deleting file flash:/1.cfg...Done.
# In IRF mode, remove the 1.cfg file from the Flash root directory of the master.
<Sysname> delete 1.cfg
Delete flash:/1.cfg?[Y/N]:y
Deleting file flash:/1.cfg...Done.
# In IRF mode, permanently delete file 2.cfg from the Flash root directory of the master.
<Sysname> delete /unreserved 2.cfg
The file cannot be restored. Delete flash:/2.cfg?[Y/N]:y
Deleting the file permanently will take a long time. Please wait...
Deleting file flash:/2.cfg...Done.
# In IRF mode, remove the 1.cfg file from the Flash root directory of the global standby MPU that
resides in member device 2:
121

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents