10.3.3.5 Packet Tracer – Using a TFTP Server to Upgrade a Cisco IOS Image - Instructions Answers

Certification Answers

Packet Tracer – Using a TFTP Server to Upgrade a Cisco IOS Image (Instructor Version)

Instructor Note: Red font color or Gray highlights indicate text that appears in the Answer copy only.

Topology

Addressing Table

Objectives

  • Part 1: Upgrade an IOS Image on a Cisco Device
  • Part 2: Backup an IOS Image on a TFTP Server

Scenario

A TFTP server can help manage the storage of IOS images and revisions to IOS images. For any network, it is good practice to keep a backup copy of the Cisco IOS Software image in case the system image in the router becomes corrupted or accidentally erased. A TFTP server can also be used to store new upgrades to the IOS and then deployed throughout the network where it is needed. In this activity, you will upgrade the IOS images on Cisco devices by using a TFTP server. You will also backup an IOS image with the use of a TFTP server.

Part 1: Upgrade an IOS Image on a Cisco Device

Step 1: Upgrade an IOS image on a router.

a. Access the TFTP server and enable the TFTP service.

b. Note the IOS images that are available on the TFTP server.

Which IOS images stored on the server are compatible with 1841?
c1841-ipbase-mz.123-14.T7.bin, c1841-ipbasek9-mz.124-12.bin, and c1841-advipservicesk9-mz.124-15.T1.bin

c. From R1, issue the show flash: command and record the available flash memory.
49928533 bytes

d. Copy the IPBase with strong encryption IOS image (ipbasek9) for the 1841 router from the TFTP Server to R1.

R1# copy tftp: flash:
Address or name of remote host []? 192.168.2.254
Source filename []? c1841-ipbasek9-mz.124-12.bin
Destination filename [c1841-ipbasek9-mz.124-12.bin]?

Accessing tftp://192.168.2.254/c1841-ipbasek9-mz.124-12.bin….
Loading c1841-ipbasek9-mz.124-12.bin from 192.168.2.254: 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK – 16599160 bytes]

16599160 bytes copied in 3.44 secs (1079726 bytes/sec)

e. Verify that the IOS image has been copied to flash. How many IOS images are located in the flash:?
2

f. Use the boot system command to load the IPBase image on the next reload.

R1(config)# boot system flash c1841-ipbasek9-mz.124-12.bin

g. Save the configuration and reload R1.

h. Verify the upgraded IOS image is loaded after R1 reboots.

Step 2: Upgrade an IOS image on a switch.

a. Access the TFTP server and copy the c2960-lanbase-mz.122-25.FX.bin image to S1.

S1# copy tftp: flash:

b. Verify that this new image is listed first in the show flash: output.

Note: The first image listed the show flash: output is loaded by default.

c. Reload S1 and verify the new image has been loaded into memory.

Part 2: Backup an IOS Image to a TFTP Server

a. On R2, display the contents of flash and record the IOS image.
c1900-universalk9-mz.SPA.151-4.M4.bin

R2# show flash:

b. Use the copy command to backup the IOS image in flash memory on R2 to a TFTP server.

R2# copy flash: tftp:

c. Access the TFTP server and verify that the IOS image has been copied to the TFTP server.