• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 608
  • Last Modified:

CCNA Practice: How to copy the IOS (Not Flash) to the PC (using tftp server) from the Router?

Hi,

1) I have a 1720 Cisco Router
2) I want to copy IOS (NOT the 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)
3)My question:How to copy IOS (Not the Flash) from the Router to the PC through tftp server? What is the file name?
4)Any help?
5) Thank you

tjie

0
tjie
Asked:
tjie
  • 5
  • 3
  • 3
  • +2
5 Solutions
 
that1guy15Commented:
"I want to copy IOS (NOT the Flash) from the router to the PC through tftp server"
The IOS is stored in flash so im not sure i understand what you are asking. if you issue a
copy flash:<ios image name.bin> tftp this will copy the actual IOS that the router boots from.
to determine the name of the IOS file in flash issue "show dir flash:" you will see a list of files that are stored in flash. The ios is the .bin file.
0
 
Istvan KalmarCommented:
If you want to know whis ios is running do 'sh ver', you find a .bin extension, wich is the IOS
0
 
memo_tntCommented:
Hi
do you mean the router IOS or the running configuration ?
because the IOS is stored already in your router flash

here is a sample how to copy an IOS to tftp

Use "dir flash:" to view the files on the router
Make sure the TFTP server is started on the PC

copy flash tftp
 Source filename []? c2950-i6q412-mz.121-11.EA1.bin
 Address or name of remote host []? 192.168.254.2
 Destination filename [c2950-i6q412-mz.121-11.EA1.bin]?

best regards
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
bsohn417Commented:
u will need solarwinds TFTP server

make sure have it running. create TFTP common folder.

if this just lab, create vlan and give an ip add on switch.

int vlan 10
ip add 10.10.10.1 255.255.255.0
no shut
!
int fa0/1
sw acc vl 10
no shut
!


connect your pc to fa0/1 give it and ip of 10.10.10.2

run tftp server

use above commands by memo_tnt

0
 
tjieAuthor Commented:
1) Oh, i am sorry if i confuse you
2)When i execute "dir flash:"
- I saw "c1700-sy-mz.121-27b.bin"
- I have been able to copy this file to pc (through tftp server), and copy it back to the Router
3)My understanding:
This "c1700-sy-mz.121-27b.bin" is a FLASH (or a MEMORY); It is not IOS (as IOS is a program), right? Please confirm if you may
4)Thank you

tjie
0
 
Istvan KalmarCommented:
Ios the firmware of the router
0
 
Istvan KalmarCommented:
c1700-sy-mz.121-27b.bin the IOS
0
 
Istvan KalmarCommented:
rhis IOS running on router memory
0
 
memo_tntCommented:
ys it's the router IOS , in another words it's the firmware
you can be sure of that
by show version

you will see the same IOS as in the flash

c1700-sy-mz.121-27b.bin

send show version results


0
 
that1guy15Commented:
"3)My understanding:
This "c1700-sy-mz.121-27b.bin" is a FLASH (or a MEMORY); It is not IOS (as IOS is a program), right? Please confirm if you may"
c1700-sy-mz.121-27b.bin is your IOS. This is basically your operating system of your router just like windows 2k3 is on a server. The IOS is stored in memory called FLASH. So when you issue "sh dir flash:" this list all the files in your memory (or flash) including the IOS
Hope this helps
0
 
tjieAuthor Commented:
1) Here is "Show version"
show-version.txt.txt
0
 
tjieAuthor Commented:
that1guy15,

1) Yes, it makes sense
2) But i could not execute "sh dir flash:"; any help?
3) Thanks

tjie
0
 
Istvan KalmarCommented:
'dir flash'  the right command
0
 
memo_tntCommented:
from your show version results check below

- System image file is "flash:c1700-sy-mz.121-27b.bin" >>> same When you execute "dir flash:"  "c1700-sy-mz.121-27b.bin"

- cisco 1720 (MPC860) processor (revision 0x301) with 29492K/3276K bytes of memory
this your router memory NVRAM it's 30MB and used around 3M of it,, where your start up configuration stored

- 8192K bytes of processor board System flash (Read/Write) >>> this is your FLASH memory which is 8MB

..
when the router starts it loads the IOS from the Flash
0
 
that1guy15Commented:
Thanks ikalmer.
Sorry been working with other gear for a while and combined the commands :)
dir flash: is correct
0

Featured Post

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

  • 5
  • 3
  • 3
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now