Hot Downloads

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Copy or backup a Cisco 2501/2520 IOS using TFTP.

Copy or backup a Cisco 2501/2520 IOS using TFTP. 12 years 3 months ago #4006

  • tituskron
  • tituskron's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
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
The administrator has disabled public write access.

Re: Copy or backup a Cisco 2501/2520 IOS using TFTP. 12 years 3 months ago #4009

  • IFTY
  • IFTY's Avatar
  • Offline
  • New Member
  • Posts: 15
  • Karma: 0
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
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!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501/2520 IOS using TFTP. 12 years 3 months ago #4012

  • tituskron
  • tituskron's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
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#
The administrator has disabled public write access.

Re: Copy or backup a Cisco 2501/2520 IOS using TFTP. 12 years 3 months ago #4015

  • Neon
  • Neon's Avatar
  • Offline
  • Distinguished Member
  • Posts: 101
  • Karma: 0
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.
The administrator has disabled public write access.

Re: Copy or backup a Cisco 2501/2520 IOS using TFTP. 12 years 3 months ago #4029

  • IFTY
  • IFTY's Avatar
  • Offline
  • New Member
  • Posts: 15
  • Karma: 0
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)
The administrator has disabled public write access.

Re: Copy or backup a Cisco 2501/2520 IOS using TFTP. 12 years 3 months ago #4111

  • tituskron
  • tituskron's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
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
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.085 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup