HP MSR2000/3000/4000 Router Series Fundamentals Command Reference
133
# 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:private@1.1.1.1/testbackup.cfg
Copy cfa0:/test.cfg to ftp://user:private@1.1.1.1/testbackup.cfg?[Y/N]:y
Copying file cfa0:/test.cfg to ftp://user:private@1.1.1.1/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 cfa0:/testbackup.cfg?[Y/N]:y
Copying file tftp://1.1.1.1/test.cfg to cfa0:/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 cfa0:/test.cfg to tftp://1.1.1.1/testbackup.cfg?[Y/N]:y
Copying file cfa0:/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 and save it 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:private@1.1.1.1/test.cfg testbackup.cfg vpn-instance vpn1
Copy ftp://user:private@1.1.1.1/test.cfg to cfa0:/testbackup.cfg?[Y/N]:y
Copying file ftp://user:private@1.1.1.1/test.cfg to cfa0:/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. 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 cfa0:/testbackup.cfg?[Y/N]:y
Copying file tftp://1.1.1.1/test.cfg to cfa0:/testbackup.cfg... Done.
# Copy test.cfg from the working directory on FTP server 2001::1 and save it 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 cfa0:/testbackup.cfg?[Y/N]:y
Copying file ftp://user:private@[2001::1]/test.cfg to cfa0:/testbackup.cfg... Done.
# Copy test.cfg from the working directory on TFTP server 2001::1 and save it to the local current folder
as testbackup.cfg.
<Sysname> copy tftp://[2001::1]/test.cfg testbackup.cfg
Copy tftp://[2001::1]/test.cfg to cfa0:/testbackup.cfg?[Y/N]:y
Copying file tftp://[2001::1]/test.cfg to cfa0:/testbackup.cfg... Done.
# On an MSR4000, copy the active MPU's configuration file test.cfg to the standby MPU's CF card root
directory.
<Sysname> copy test.cfg slot1#cfa0:/
Copy cfa0:/test.cfg to slot1#cfa0:/test.cfg?[Y/N]:y
Copying file cfa0:/test.cfg to slot1#cfa0:/test.cfg...Done.
delete
Use delete to delete a file.