R211x-HP Flexfabric 11900 Fundamentals Command Reference
127
# In IRF mode, copy a configuration file of the standby MPU that resides in slot 5 of member device 1 to
the Flash root directory of the standby MPU that resides in slot 5 of member device 2.
<Sysname> copy chassis1#slot5#flash:/test.cfg chassis2#slot5#flash:/
Copy chassis1#slot5#flash:/test.cfg to chassis2#slot5#flash:/test.cfg?[Y/N]:y
Copying file chassis1#slot5#flash:/test.cfg to chassis2#slot5#flash:/test.cfg...Done.
delete
Use delete to delete a file.
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,
except in the following two situations, where the file is permanently deleted:
• The device is running out of storage space.
• You are logged in to the default MDC and are using this command to delete a file from a
non-default MDC.
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 root directory of the active MPU's storage medium.
<Sysname> delete 1.cfg
Delete flash:/1.cfg? [Y/N]:y
Deleting file flash:/1.cfg...Done.
# In standalone mode, permanently delete file 2.cfg from the root directory of the active MPU's storage
medium.










