- Posts: 4
- Thank you received: 0
Copy or backup a Cisco 2501/2520 IOS using TFTP.
20 years 5 months ago #4006
by tituskron
Copy or backup a Cisco 2501/2520 IOS using TFTP. was created by tituskron
I'm doing a self study in CCNA. I use Todd Lammle & W. Odom books. None of these 2 books show us how to copy or backup a Cisco 2501/2520 IOS using TFTP. I want to know the steps in doing it from scratch. I already have a 2501/2520 with cables. I was able to connect to the router using HyperTerminal. What software/hardware do I need to accomplish this task? I've search the Internet even with Cisco.com but can't find the steps needed to do this. Please HELP.
tituskron
tituskron
20 years 5 months ago #4009
by IFTY
Replied by IFTY on topic Re: Copy or backup a Cisco 2501/2520 IOS using TFTP.
tituskron
put a TFTP server on a comp, connect router to that comp
now give this command to copying ios image on TFTP server
ifty#copy flash tftp
it will ask u address or name of remote host,give the IP address
of TFTP server,after it it will ask file name,give file name
here is an example
ifty#copy flash tftp
System flash directory:
File Length Name/status
1 5880916 c2500-js-mz.121-9.T.bin (this is file name)
[5895832 bytes used, 2492776 available, 8388608 total]
Address or name of remote host [255.255.255.255]? 192.168.0.2
Source file name? c2500-js-mz.121-9.T.bin
Destination file name [c2500-js-mz.121-9.T.bin]? c2500-js-mz.121-9.T.bin
Verifying checksum for 'c2500-js-mz.121-9.T.bin' (file # 1)... OK
Copy 'c2500-js-mz.121-9.T.bin' from Flash to server
as 'c2500-js-mz.121-9.T.bin'? [yes/no]yes
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Upload to server done
Flash copy took 00:01:18 [hh:mm:ss]
put a TFTP server on a comp, connect router to that comp
now give this command to copying ios image on TFTP server
ifty#copy flash tftp
it will ask u address or name of remote host,give the IP address
of TFTP server,after it it will ask file name,give file name
here is an example
ifty#copy flash tftp
System flash directory:
File Length Name/status
1 5880916 c2500-js-mz.121-9.T.bin (this is file name)
[5895832 bytes used, 2492776 available, 8388608 total]
Address or name of remote host [255.255.255.255]? 192.168.0.2
Source file name? c2500-js-mz.121-9.T.bin
Destination file name [c2500-js-mz.121-9.T.bin]? c2500-js-mz.121-9.T.bin
Verifying checksum for 'c2500-js-mz.121-9.T.bin' (file # 1)... OK
Copy 'c2500-js-mz.121-9.T.bin' from Flash to server
as 'c2500-js-mz.121-9.T.bin'? [yes/no]yes
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Upload to server done
Flash copy took 00:01:18 [hh:mm:ss]
20 years 5 months ago #4012
by tituskron
Replied by tituskron on topic Re: Copy or backup a Cisco 2501/2520 IOS using TFTP.
IFTY,
Many thanks for the reply. I tried it ... here' the printout (it failed). I have a SolarWinds TFTP Server. When I invoked it, it gave me an auto IP of 127.0.0.1 which is a local host. Don't know where I'm making a mistake.
Router#copy flash tftp
Source filename [c2500-jk8os-l.122-1d.bin]? c2500-jk8os-l.122-1d.bin
Address or name of remote host []? 127.0.0.1
Destination filename [c2500-jk8os-l.122-1d.bin]? c2500-jk8os-l.122-1d.bin
.....
%Error opening tftp://127.0.0.1/c2500-jk8os-l.122-1d.bin (Undefined error)
Router#
Many thanks for the reply. I tried it ... here' the printout (it failed). I have a SolarWinds TFTP Server. When I invoked it, it gave me an auto IP of 127.0.0.1 which is a local host. Don't know where I'm making a mistake.
Router#copy flash tftp
Source filename [c2500-jk8os-l.122-1d.bin]? c2500-jk8os-l.122-1d.bin
Address or name of remote host []? 127.0.0.1
Destination filename [c2500-jk8os-l.122-1d.bin]? c2500-jk8os-l.122-1d.bin
.....
%Error opening tftp://127.0.0.1/c2500-jk8os-l.122-1d.bin (Undefined error)
Router#
20 years 5 months ago #4015
by Neon
Replied by Neon on topic Re: Copy or backup a Cisco 2501/2520 IOS using TFTP.
Tituskron
Where is says "Address or name of remote host []? 127.0.0.1" you need to replace 127.0.0.1 with the IP address of the remote machine running the SolarWinds TFTP server.
Where is says "Address or name of remote host []? 127.0.0.1" you need to replace 127.0.0.1 with the IP address of the remote machine running the SolarWinds TFTP server.
20 years 5 months ago #4029
by IFTY
Replied by IFTY on topic Re: Copy or backup a Cisco 2501/2520 IOS using TFTP.
Tituskron
127.0.0.1 will never work cuz it is a loop back of TCP stack.assign a valid IP address to the comp running TFTP server and check the connectivity of router to TFTP server by pinging the TFTP server from the router console prompt,if the ping works then u can use the copy flash tftp command to copy the ios to the TFTP server
ifty#ping 192.168.0.2 (ip address of TFTP server)
127.0.0.1 will never work cuz it is a loop back of TCP stack.assign a valid IP address to the comp running TFTP server and check the connectivity of router to TFTP server by pinging the TFTP server from the router console prompt,if the ping works then u can use the copy flash tftp command to copy the ios to the TFTP server
ifty#ping 192.168.0.2 (ip address of TFTP server)
20 years 5 months ago #4111
by tituskron
Replied by tituskron on topic Re: Copy or backup a Cisco 2501/2520 IOS using TFTP.
Gentlemen,
Since Ifty first responded to my posting on 6-7-04, I have been working on this project. Still I can’t copy flash to TFTP server. I’m still working on this. Here’s the scenario:
1. I have a Cisco 2501, 2520 Router & a Cisco 1900 Switch I got from E-Bay.
2. These are not new but working. Working means I can boot it, display sh ver, etc.
3. The reason I want to copy the flash to a TFTP server is - I want to play with these routers, like: setting up passwords, changing ip addresses, etc. & see how it will re-act. While in the process of playing, it will mess up with flash & I want to restore the original flash just in case.
4. My TFTP server was setup properly because it recognizes my PC’s NIC IP of 192.168.01.
5. My HyperTerminal was also setup properly because I can issue commands to the 2501 thru this terminal emulation.
6. My rollover cable connected from the console port to my PC’s serial port is working, otherwise I will not be able to talk to the router thru HyperTerminal.
6. Given these scenario, is there anything else I need to set up in the router side so I can meet my objective of backing up the flash to the TFTP server.
7. Thank you again.
tituskron
Since Ifty first responded to my posting on 6-7-04, I have been working on this project. Still I can’t copy flash to TFTP server. I’m still working on this. Here’s the scenario:
1. I have a Cisco 2501, 2520 Router & a Cisco 1900 Switch I got from E-Bay.
2. These are not new but working. Working means I can boot it, display sh ver, etc.
3. The reason I want to copy the flash to a TFTP server is - I want to play with these routers, like: setting up passwords, changing ip addresses, etc. & see how it will re-act. While in the process of playing, it will mess up with flash & I want to restore the original flash just in case.
4. My TFTP server was setup properly because it recognizes my PC’s NIC IP of 192.168.01.
5. My HyperTerminal was also setup properly because I can issue commands to the 2501 thru this terminal emulation.
6. My rollover cable connected from the console port to my PC’s serial port is working, otherwise I will not be able to talk to the router thru HyperTerminal.
6. Given these scenario, is there anything else I need to set up in the router side so I can meet my objective of backing up the flash to the TFTP server.
7. Thank you again.
tituskron
Time to create page: 0.133 seconds