
116
Copying file flash:/test.cfg to ftp://user:[email protected]/testbackup.cfg... Done.
# Copy
test.cfg
from the working directory on TFTP server 1.1.1.1. Save the copy to the local current
folder as
testbackup.cfg
.
<Sysname> copy tftp://1.1.1.1/test.cfg testbackup.cfg
Copy tftp://1.1.1.1/test.cfg to flash:/testbackup.cfg?[Y/N]:y
Copying file tftp://1.1.1.1/test.cfg to flash:/testbackup.cfg... Done.
# Copy
test.cfg
from the current folder. Save the copy to the working directory on TFTP server 1.1.1.1
as
testbackup.cfg
.
<Sysname> copy test.cfg tftp://1.1.1.1/testbackup.cfg
Copy flash:/test.cfg to tftp://1.1.1.1/testbackup.cfg?[Y/N]:y
Copying file flash:/test.cfg to tftp://1.1.1.1/testbackup.cfg... Done.
# Copy
test.cfg
from the working directory on FTP server 1.1.1.1. Save the copy to the local current
folder as
testbackup.cfg
. In this example, the FTP username and password are
user
and
private
,
and the FTP server belongs to VPN instance vpn1.
<Sysname> copy ftp://user:[email protected]/test.cfg testbackup.cfg vpn-instance vpn1
Copy ftp://user:[email protected]/test.cfg to flash:/testbackup.cfg?[Y/N]:y
Copying file ftp://user:[email protected]/test.cfg to flash:/testbackup.cfg... Done.
# Copy
test.cfg
from the working directory on TFTP server 1.1.1.1. Save the copy to the local current
folder as
testbackup.cfg
. In this example, the TFTP server belongs to VPN instance vpn1.
<Sysname> copy tftp://1.1.1.1/test.cfg testbackup.cfg vpn-instance vpn1
Copy tftp://1.1.1.1/test.cfg to flash:/testbackup.cfg?[Y/N]:y
Copying file tftp://1.1.1.1/test.cfg to flash:/testbackup.cfg... Done.
# Copy
test.cfg
from the working directory on FTP server 2001::1. Save the copy to the local current
folder as
testbackup.cfg
. In this example, the FTP username and password are
user
and
private
,
respectively.
<Sysname> copy ftp://user:private@[2001::1]/test.cfg testbackup.cfg
Copy ftp://user:private@[2001::1]/test.cfg to flash:/testbackup.cfg?[Y/N]:y
Copying file ftp://user:private@[2001::1]/test.cfg to flash:/testbackup.cfg... Done.
# Copy
test.cfg
from the working directory on TFTP server 2001::1. Save the copy to the local current
folder as
testbackup.cfg
.
<Sysname> copy tftp://[2001::1]/test.cfg testbackup.cfg
Copy tftp://[2001::1]/test.cfg to flash:/testbackup.cfg?[Y/N]:y
Copying file tftp://[2001::1]/test.cfg to flash:/testbackup.cfg... Done.
# Copy the master's configuration file
test.cfg
to the subordinate member with the member ID 2. Save
the copy to the root directory of the flash memory.
<Sysname> copy test.cfg slot2#flash:/
Copy flash:/test.cfg to slot2#flash:/test.cfg?[Y/N]:y
Copying file flash:/test.cfg to slot2#flash:/test.cfg...Done.
delete
Use
delete
to delete a file.
Syntax
delete
[ /
unreserved
]
file
-
url
Views
User view