HPE D6020 Maintenance And Service Manual page 162

Hide thumbs Also See for HPE D6020:
Table of Contents

Advertisement

vpn-instance vpn-instance-name: Specifies the VPN instance to which the destination FTP or TFTP
server belongs. The vpn-instance-name argument is a case-sensitive string of 1 to 31 characters. If
the server belongs to the public network, do not specify this option.
source interface interface-type interface-number: Specifies the source interface used to connect to
the server. After you specify the source interface, the device uses the primary IP address of the
source interface as the source IP address for outgoing packets. If you do not specify this option, the
device uses the outgoing interface as the source interface.
Usage guidelines
In FIPS mode, you can only use the copy command to copy a local file and save it locally.
In non-FIPS mode, you can use the copy command to perform the following tasks:
Copy a local file and save it locally.
Copy a local file and save it to an FTP or TFTP server.
Copy a file from 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
server
On
a
TFTP
server
Examples
# Copy the test.cfg file in the current directory and save it to the current directory as
testbackup.cfg.
<Sysname> copy test.cfg testbackup.cfg
Copy flash:/test.cfg to flash:/testbackup.cfg? [Y/N]:y
Copying file flash:/test.cfg to flash:/testbackup.cfg...Done.
# Copy the 1.cfg file from the flash: file system's test directory to the CF card. Save the copy to the
testbackup directory as 1backup.cfg.
<Sysname> copy flash:/test/1.cfg cfa0:/testbackup/1backup.cfg
Copy flash:/test/1.cfg to cfa0:/testbackup/1backup.cfg? [Y/N]:y
Copying file flash:/test/1.cfg to cfa0:/testbackup/1backup.cfg...Done.
# Copy test.cfg from the working directory on the FTP server 1.1.1.1. Save the copy to the local
current directory as testbackup.cfg. The FTP username is user. The password is private.
<Sysname> copy ftp://user:private@1.1.1.1/test.cfg testbackup.cfg
Name format
Use the file name guidelines in
Fundamentals Configuration Guide.
Enter the URL in the format of
ftp://FTP
FTP
username[:password]@server
address[:port number]/file path[/file
name].
Enter the URL in the format of
tftp://server
number]/file path[/file name].
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 the FTP server
1.1.1.1, enter ftp://1:1@1.1.1.1/startup.cfg.
To specify an IPv6 address, enclose the IPv6
address in square brackets ([ ]), for example,
ftp://test:test@[2001::1]:21/test.cfg.
For example, to specify the startup.cfg file in the
working directory on TFTP server 1.1.1.1, enter
the URL tftp://1.1.1.1/startup.cfg.
address[:port
To enter an IPv6 address, enclose the IPv6
address in square brackets ([ ]), for example,
tftp://test:test@[2001::1]:21/test.cfg.
154

Advertisement

Table of Contents
loading

Table of Contents