Delete - HPE D6020 Maintenance And Service Manual

Hide thumbs Also See for HPE D6020:
Table of Contents

Advertisement

# (Distributed devices in IRF mode.) Copy a configuration file of the global active MPU to the root
directory of a file system on a global standby MPU.
<Sysname> copy test.cfg chassis1#slot1#cfa0:/
Copy flash:/test.cfg to chassis1#slot1#cfa0:/test.cfg? [Y/N]:y
Copying file flash:/test.cfg to chassis1#slot1#cfa0:/test.cfg...Done.
# (Distributed devices in IRF mode.) Copy a configuration file of one global standby MPU to the root
directory of a file system on another global standby MPU.
<Sysname> copy chassis1#slot1#flash:/test.cfg chassis2#slot1#cfa0:/
Copy chassis1#slot1#flash:/test.cfg to chassis2#slot1#cfa0:/test.cfg? [Y/N]:y
Copying file chassis1#slot1#flash:/test.cfg to chassis2#slot1#cfa0:/test.cfg...Done.

delete

Use delete to delete a file.
Syntax
delete [ /unreserved ] file
Views
User view
Predefined user roles
network-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: 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 command with caution. You cannot restore a file that was deleted
with this command.
The delete file command (without /unreserved) moves the specified file to the recycle bin unless the
file system is running out of storage space..If the file system 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 from 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 most recently deleted file is retained in the recycle bin.
Examples
# (Centralized devices in standalone mode.) Remove file 1.cfg from the current directory.
<Sysname> delete 1.cfg
Delete flash:/1.cfg? [Y/N]:y
Deleting file flash:/1.cfg...Done.
# (Centralized devices in standalone mode.) Permanently delete file 1.cfg from the current directory.
<Sysname> delete /unreserved 1.cfg
The file cannot be restored. Delete flash:/1.cfg? [Y/N]:y
156

Advertisement

Table of Contents
loading

Table of Contents