114
Copying file flash:/test.cfg to flash:/testbackup.cfg...Done.
# Copy
1.cfg
from the Flash's
test
folder to the USB disk's first partition, and save it to the
testbackup
folder as
1backup.cfg
.
<Sysname> copy flash:/test/1.cfg usb0:/testbackup/1backup.cfg
Copy flash:/test/1.cfg to usb0:/testbackup/1backup.cfg?[Y/N]:y
Copying file flash:/test/1.cfg to usb0:/testbackup/1backup.cfg...Done.
# Copy
test.cfg
from the working directory on FTP server 1.1.1.1 and save it to the local current folder as
testbackup.cfg.
In this example, the FTP username and password are
user
and
private
.
<Sysname> copy ftp://user:[email protected]/test.cfg testbackup.cfg
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 current folder and save it to the working directory on FTP server 1.1.1.1 as
testbackup.cfg
. In this example, the FTP username and password are
user
and
private
.
<Sysname> copy test.cfg ftp://user:[email protected]/testbackup.cfg
Copy flash:/test.cfg to ftp://user:[email protected]/testbackup.cfg?[Y/N]:y
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 and save it 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 and save it 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.
# In standalone mode, copy the active MPU's configuration file
test.cfg
to the root directory of the
standby MPU's flash memory.
<Sysname> copy test.cfg slot16#flash:/
Copy flash:/test.cfg to slot16#flash:/test.cfg?[Y/N]:y
Copying file flash:/test.cfg to slot16#flash:/test.cfg...Done.
# In IRF mode, copy the global active MPU's configuration file
test.cfg
to the root directory of a global
standby MPU's flash memory. The global standby MPU resides in slot 16 of member device 2.
<Sysname> copy chassis1#slot16#flash:/test.cfg chassis2#slot16#flash:/
Copy chassis1#slot16#flash:/test.cfg to chassis2#slot16#flash:/test.cfg?[Y/N]:y
Copying file chassis1#slot16#flash:/test.cfg to chassis2#slot16#flash:/test.cfg...Done.
delete
Use
delete
to delete a file.
Syntax
delete
[ /
unreserved
]
file
-
url
Views
User view