Copy - HP FlexFabric 7900 Series Command Reference Manual

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

Advertisement

# In standalone mode, change back to the root directory of the MPU.
<Sysname> cd flash:/
# In IRF mode, change to the Flash root directory of the global standby MPU that resides in member
device 2.
<Sysname> cd chassis2#slot0#flash:/
# In IRF mode, change back to the Flash root directory of the global active MPU.
<Sysname> cd flash:/

copy

Use copy to copy a file.
Syntax
copy fileurl-source fileurl-dest
Views
User view
Predefined user roles
network-admin
mdc-admin
Parameters
fileurl-source: Specifies the name or URL of the file to be copied. If the file resides on an FTP or
TFTP server rather than on the device, specify the URL of the file. Whether a URL is case sensitive
depends on the server.
fileurl-dest: Specifies the name or URL of the destination file or directory. To copy the source file to an
FTP or TFTP server, specify a URL. If you specify a directory, the device copies the specified file to
the directory and saves it with its original file name. Whether a URL is case sensitive depends on the
server.
Usage guidelines
You can use the copy command to perform the following operations:
Copy a local file and save it locally.
Copy a local file and save it to an FTP or TFTP server.
Copy a file on an FTP or TFTP server and save it locally.
To specify a file or directory, use the following guidelines:
Location
On the device
On an FTP
server
On a TFTP
Name format
Use the file name guidelines in
Fundamentals Configuration Guide.
Enter the URL in the format ftp://FTP
username[:password]@server
address[:port number]/file path[/file
name].
Enter the URL in the format
tftp://server address[:port
Remarks
N/A
The username and password must be the same
as those configured on the FTP server. If the
server authenticates users only by the username,
you are not required to enter the password.
For example, to use the username 1 and
password 1 and specify the startup.cfg file in the
authorized working directory on FTP server
1.1.1.1, enter the URL
ftp://1:1@1.1.1.1/startup.cfg.
For example, to specify the startup.cfg file in the
working directory on TFTP server 1.1.1.1, enter
119

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents