tjie
asked on
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
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
If you want to know whis ios is running do 'sh ver', you find a .bin extension, wich is the IOS
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.EA 1.bin]?
best regards
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
Address or name of remote host []? 192.168.254.2
Destination filename [c2950-i6q412-mz.121-11.EA
best regards
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
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
ASKER
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
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
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
1) Here is "Show version"
show-version.txt.txt
show-version.txt.txt
ASKER
that1guy15,
1) Yes, it makes sense
2) But i could not execute "sh dir flash:"; any help?
3) Thanks
tjie
1) Yes, it makes sense
2) But i could not execute "sh dir flash:"; any help?
3) Thanks
tjie
'dir flash' the right command
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanks ikalmer.
Sorry been working with other gear for a while and combined the commands :)
dir flash: is correct
Sorry been working with other gear for a while and combined the commands :)
dir flash: is correct
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.