Copy; Delete - H3C S5120-EI Series Command Reference Manual

Fundamentals
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

<Sysname> cd slot2#flash:/
# Change the current directory from the file system of the slave to the test folder in the root directory of
the master.
<Sysname> cd flash:/

copy

Syntax
copy fileurl-source fileurl-dest
View
User view
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.
# Copy the configuration file of the master to the root directory of a slave (with the member ID 2).
<Sysname> copy vrcfg.cfg slot2#flash:/
Copy flash:/vrcfg.cfg to slot2#flash:/vrcfg.cfg?[Y/N]:y
%Copy file flash:/vrcfg.cfg to slot2#flash:/vrcfg.cfg...Done.

delete

Syntax
delete [ /unreserved ] file-url
View
User view
Default level
3: Manage level
80

Advertisement

Table of Contents
loading

Table of Contents