Delete - HP A7500 Series Command Reference Manual

Fundamentals
Hide thumbs Also See for A7500 Series:
Table of Contents

Advertisement

Default level
3: Manage level
Parameters
fileurl-source: Name of the source file.
fileurl-dest: Name of the target file or folder.
Description
Use the copy command to copy a file.
If you specify a target folder, the system will copy the file to the specified folder and use the name of the
source file as the file name.
Examples
# Copy file testcfg.cfg in the current folder and save it as testbackup.cfg.
<Sysname> copy testcfg.cfg testbackup.cfg
Copy flash:/test.cfg to flash:/testbackup.cfg?[Y/N]:y
....
%Copy file flash:/test.cfg to flash:/testbackup.cfg...Done.
In standalone mode
1.
# Copy the configuration file of the active MPU to the root directory of the standby MPU.
<Sysname> copy vrcfg.cfg slot1#flash:/
Copy flash:/vrcfg.cfg to slot1#flash:/vrcfg.cfg?[Y/N]:y
%Copy file flash:/vrcfg.cfg to slot1#flash:/vrcfg.cfg...Done.
In IRF mode
2.
# Copy the configuration file of the active MPU of the IRF fabric to the root directory of a standby MPU
(the member ID and the slot number of the member switch where the standby MPU resides are both 1) of
the IRF fabric.
<Sysname> copy vrcfg.cfg chassis1#slot1#flash:/
Copy flash:/vrcfg.cfg to chassis1#slot1#flash:/vrcfg.cfg?[Y/N]:y
%Copy file flash:/vrcfg.cfg to chassis1#slot1#flash:/vrcfg.cfg...Done.
# Copy the configuration file of a standby MPU (the member ID and the slot number of the member
switch where the standby MPU resides are both 1) of the IRF fabric to the root directory of another
standby MPU (the member ID and the slot number of the member switch where the standby MPU resides
are 2 and 1 respectively).
<Sysname> copy chassis1#slot1#flash:/vrcfg.cfg chassis2#slot1#flash:/
Copy flash:/vrcfg.cfg to chassis1#slot1#flash:/vrcfg.cfg?[Y/N]:y
%Copy file chassis1#slot1#flash:/vrcfg.cfg to chassis2#slot1#flash:/vrcfg.cfg...Done.

delete

Syntax
delete [ /unreserved ] file-url
79

Advertisement

Table of Contents
loading

Table of Contents