CISCO: Copy files from CISCO device to FTP server
1. Define the FTP user and password
Code:
CISCO#conf t
Enter configuration commands, one per line. End with CNTL/Z.
CISCO(config)#ip ftp username my_username
CISCO(config)#ip ftp password my_password
2. Find the file that you wish to upload
Code:
CISCO# dir
Directory of disk0:/
1 -rw- 20744144 Feb 4 2000 20:48:26 +01:00 c7301-itpk9-mz.124-11.SW3.bin
3 -rw- 75 Mar 28 2008 13:26:50 +01:00 pc-route-table
4 -rw- 132 Mar 21 2008 09:00:14 +01:00 gtt-route-table
3. Upload the file
Code:
CISCO#copy c7301-itpk9-mz.124-11.SW3.bin ftp:
Address or name of remote host []? 192.168.0.1
Destination filename [c7301-itpk9-mz.124-11.SW3.bin]?
Writing c7301-itpk9-mz.124-11.SW3.bin !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
20744144 bytes copied in 12.988 secs (1597178 bytes/sec)