Installing A Cisco IOS Software Image
Installing A Cisco IOS Software Image
Objectives
• Download the correct IOS and transfer the file to the Cisco router.
• Use TFTP to save and restore a Cisco IOS image.
All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 1 of 8
CCNA Discovery
Designing and Supporting Computer Networks
______________________________________________________________________________________
How is an understanding of the networking device IOS transfer to and from a TFTP server useful in network
administration?
______________________________________________________________________________________
______________________________________________________________________________________
______________________________________________________________________________________
How will a network administrator know if the IOS was transferred and saved correctly?
______________________________________________________________________________________
______________________________________________________________________________________
______________________________________________________________________________________
Background / Preparation
This lab demonstrates backing up a Cisco router IOS image file to a TFTP server and uploading an IOS
image to a router.
For recovery purposes, it is important to keep backup copies of router IOS images. These can be stored in a
central location, such as a TFTP server, and retrieved if necessary.
Cisco IOS files have a specific name structure that reflects the platform, IOS version, feature set, and file
type. It is strongly recommended that Cisco IOS image files not be renamed for any reason.
The configuration output used in this lab matches that of an 1841 series router. The same commands can be
used with other Cisco routers but may produce slightly different output.
All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 2 of 8
CCNA Discovery
Designing and Supporting Computer Networks
Setting Value
TFTP Root Directory TFTP-Root
Security Transmit and Receive Files
Advanced Security <all IP addresses>
Auto-Close Never
Log Enable Log Requests to the Following File. Leave the
default file.
All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 3 of 8
CCNA Discovery
Designing and Supporting Computer Networks
Sample Output:
ACC-CPE-1# show flash:
-#- --length-- -----date/time------ path
1 13937472 May 05 2007 21:13:20 +00:00 c1841-ipbase-mz.124-1c.bin
2 1821 May 05 2007 21:29:36 +00:00 sdmconfig-18xx.cfg
3 4734464 May 05 2007 21:30:14 +00:00 sdm.tar
4 833024 May 05 2007 21:30:42 +00:00 es.tar
5 1052160 May 05 2007 21:31:10 +00:00 common.tar
6 1038 May 05 2007 21:31:36 +00:00 home.shtml
7 102400 May 05 2007 21:32:02 +00:00 home.tar
8 491213 May 05 2007 21:32:30 +00:00 128MB.sdf
9 1684577 May 05 2007 21:33:16 +00:00 securedesktop-ios-3.1.1.27-k9.pkg
10 398305 May 05 2007 21:33:50 +00:00 sslclient-win-1.1.0.154.pkg
All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 4 of 8
CCNA Discovery
Designing and Supporting Computer Networks
Sample Output:
ACC-CPE-1#show version
Cisco IOS Software, 1841 Software (C1841-IPBASE-M), Version 12.4(1c),
RELEASE SO
FTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by Cisco Systems, Inc.
Compiled Tue 25-Oct-05 17:10 by evmiller
Sample Output:
ACC-CPE-1#copy flash tftp
Source filename []? c1841-ipbase-mz.124-1c.bin
Address or name of remote host []? 10.0.0.254
Destination filename [c1841-ipbase-mz.124-1c.bin]?
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
13937472 bytes copied in 37.627 secs (370412 bytes/sec)
All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 5 of 8
CCNA Discovery
Designing and Supporting Computer Networks
Sample Output:
ACC-CPE-1#copy tftp flash
Address or name of remote host []? 10.0.0.254
Source filename []? c1841-ipbase-mz.124-1c.bin
Destination filename [c1841-ipbase-mz.124-1c.bin]?
%Warning:There is a file already existing with this name
Do you want to over write? [confirm]
Accessing tftp://10.0.0.254/ c1841-ipbase-mz.124-1c.bin...
All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 6 of 8
CCNA Discovery
Designing and Supporting Computer Networks
Some older systems may require that flash be erased. If the Erase flash: before copying?
prompt is confirmed, all files in flash will be removed. In contrast, other systems have sufficient
capacity to store multiple files. If the router prompts to erase flash, output similar to below will occur
before the new image is uploaded to flash.
Sample Output:
Erase flash: before copying? [confirm][Enter]
Erasing the flash filesystem will remove all files! Continue? [confirm]
Erasing device...
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
...erased
Erase of flash: complete
Step 4: Clean up
Erase the configurations and reload the router. Disconnect and store the cabling. For PC hosts that are
normally connected to other networks (such as the school LAN or to the Internet), delete the IOS image file
from the TFTP directory, reconnect the appropriate cabling and restore the TCP/IP settings.
All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 7 of 8
CCNA Discovery
Designing and Supporting Computer Networks
______________________________________________________________________________________
______________________________________________________________________________________
______________________________________________________________________________________
______________________________________________________________________________________
______________________________________________________________________________________
All contents are Copyright © 1992–2007 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 8 of 8