[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

CCNA Practice: How to copy the IOS back from the tftp server to the Router?

Posted on 2010-01-04
5
Medium Priority
?
776 Views
Last Modified: 2012-05-08
Hi,

1) I have a 1720 Cisco Router
2) I have copied the IOS (Flash) from the router to the PC through tftp server
-The connection between the router and the PC: using the cross-over cable
-The IP address of the Ethernet of the router is " 192.168.254.1 255.255.255.0 "
- The IP address of the PC is "192.168.254.2/24" (same subnet)
-The file name of the flash: c1700-sy-mz.121-27b.bin (this file is now at C:\TFTP-Root\c1700-sy-mz.121-27b.bin at the PC)
3)My Goal: I want to copy back this IOS back to the Router
4) My questions:                                                                                                  FIRST: Before i could copy back the ios to the router; i believe i should delete the IOS firstly; how do DELETE this IOS from the Router? (Pls provide the Command to do it),                                                                                                                                  SECOND: To copy back the IOS (from tftp server) to the router, someone says use "Copy tftp flash"; i am confused here; if we have deleted the IOS from the router; i believe i could not TELNET anymore the router from the PC, right? and If i could not TELNET the Router from the PC, i could not EXECUTE the above command "Copy tftp flash"
5) Any Help?
6) Thank you

tjie
0
Comment
Question by:tjie
  • 3
  • 2
5 Comments
 
LVL 1

Accepted Solution

by:
kaciuba earned 2000 total points
ID: 26177176
You can have more than one IOS saved to the flash of the router. You can also "erase flash:" and have no IOS on the router and the router will still funtion. Be careful though, if you erase the flash and then reboot, you will not be able to telnet to it. If you erase the flash make sure you load on a proper IOS image before rebooting.

For you I would:
erase flash:
copy tftp:c1700-sy-mz.121-27b.bin  flash:c1700-sy-mz.121-27b.bin

0
 

Author Comment

by:tjie
ID: 26177206
Kaciuba,

Let me understand your direction:

1) I go telnet the Router
- Say it Router#
- I will erase flash by this command:
  *Router#erase flash:

2) Your statement: """"If you erase the flash make sure you load on a proper IOS image before rebooting.""""
-What is the meaning of this?
-The meaning, i could not Reboot the Router after the above command (Router#erase flash:)
-Pls Explain

3) This command:
"""" copy tftp:c1700-sy-mz.121-27b.bin  flash:c1700-sy-mz.121-27b.bin """"
- I will execute it after the Rebooting of the Router, right? Pls Confirm

4) Thanks

tjie

0
 
LVL 1

Expert Comment

by:kaciuba
ID: 26177225
2) Your statement: """"If you erase the flash make sure you load on a proper IOS image before rebooting.""""
-What is the meaning of this?
-The meaning, i could not Reboot the Router after the above command (Router#erase flash:)
-Pls Explain

If you erase the flash, the router will still be functioning properly until you reboot it. Do not reboot after erasing the flash until you have loaded a new IOS.

This command:
"""" copy tftp:c1700-sy-mz.121-27b.bin  flash:c1700-sy-mz.121-27b.bin """"
will copy your IOS from your TFTP server to your FLASH. Once you have done that, you should be OK to reboot the router.

Good luck.

0
 

Author Comment

by:tjie
ID: 26177273
Kaciuba,

1) I am still confused for "the followings......."
- It is maybe not related to the discussion .....
2) What is the difference of the  "Current Configuration" of the router (which we can get from "Show run") and the "flash"?
3) Your explanation is greatly appreciated
4) Thank you

tjie
0
 
LVL 1

Expert Comment

by:kaciuba
ID: 26177415
The flash is memory. You store the IOS image on the flash. Think of the IOS as like the program.

The running-configuration is the configuration of the program, or IOS.

Make sense?
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
How to fix a SonicWall Gateway Anti-Virus firewall blocking automatic updates to apps like Windows, Adobe, Symantec, etc.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question