.
Manucomp Systems
Hours of Operation

Monday to Friday:
9am - 6pm EST

Saturday & Sunday:
Closed

If you would like additional information please contact us toll-free at :

1-866-440-1115
info@manucomp.com

Can't find the product you are looking for?
Request a quote.
Copying the System Image to the Switch Router
Back to Cisco Tips

You can copy the system image to the switch router using TFTP, FTP, or RCP. If the system you used to download the image from CCO does not function as a TFTP, FTP, or RCP server, you must first copy the file to an intermediate server that provides those services to your switch router.

Note - Before copying the system image from the server to the switch router, check the size of the file to make sure you will have enough room for it in your switch router's boot flash memory. On UNIX file systems, use the ls -la command from the directory where the file is stored to display the file size.

In the event that the boot flash memory is full, you must erase all the files in the boot flash memory file system before copying a new image file from the TFTP server. In addition, before you copy a new image from the TFTP server, you must first download a copy of your known good image. In case the new image file you copy from the TFTP server is corrupted, you can revert to the known good image.

To copy both the known good system image and the new system image from a TFTP server to the file system on your switch router, initiate a Telnet session or console connection to the switch router. Perform the following steps in privileged EXEC mode:

Command Purpose

Step 1 

Router# dir bootflash:

Displays the contents and available space in boot flash memory. If there is not enough free space to copy the new system image, perform steps 2 through 5. Otherwise, proceed to Step 4.

Step 2 

Router# copy tftp: bootflash:

Erases boot flash memory and copies a file from a TFTP server to boot flash memory. Make sure you copy the known good system image file.

Step 3 

Router# dir bootflash:

Displays the contents of boot flash memory. This step confirms that space was available in boot flash memory and the known good image file was copied as expected. You can now proceed with downloading the latest image.

Step 4 

Router# copy tftp: bootflash:

Initiates a TFTP session to copy the new system image from the TFTP server.

Step 5 

Router# dir bootflash:

Displays the contents of boot flash memory. This step confirms that the latest image file was copied as expected.

The following example shows how to erase a full boot flash memory file system,
copy a known good image, and copy the latest image using TFTP:

Router# dir bootflash:
Directory of bootflash:/

1 -rw- 3168032 pci-fix
2 -rw- 1858797 domino-diag.f1
3 -rw- 3166692 cat2948g-in-mz.120-7.WX5.14.27
4 -rw- 3172268 cat2948g-in-mz.120-7.W5.14.42
5 -rw- 3173128 cat2948g-in-mz.120-7.W5.14.45

16777216 bytes total (2237976 bytes free)
Router# copy tftp bootflash:
Address or name of remote host []? 172.10.00.00
Source filename []? domino/cat2948g-in-mz.120-7.W5.14.45
Destination filename [cat2948g-in-mz.120-7.W5.14.45]?
%Warning:There is a file already existing with this name

Do you want to over write? [confirm] yes
Accessing tftp://172.10.00.00/domino/cat2948g-in-mz.120-7.W5.14.45...

Erase bootflash: before copying? [confirm] yes

Erasing the bootflash filesystem will remove all files! Continue?
[confirm] yes
Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeee eeeeee eeeee ...erased
Erase of bootflash: complete
Loading domino/cat2948g-in-mz.120-7.W5.14.45 from 172.10.00.00
(via FastEthernet
1): !!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!
!!!!!
[OK - 3173128/6345728 bytes]
Verifying checksum... OK (0x799F)
3173128 bytes copied in 177.668 secs (17927 bytes/sec)
Router# dir bootflash:
Directory of bootflash:/

1 -rw- 3173128 cat2948g-in-mz.120-7.W5.14.45

16777216 bytes total (13604024 bytes free)
Router# copy tftp: bootflash:
Address or name of remote host [172.10.00.00]?
Source filename [domino/cat2948g-in-mz.120-7.W5.14.45]? domino
/cat2948g-in-mz.12 0-7.W5.14.46
Destination filename [cat2948g-in-mz.120-7.W5.14.46]?
Accessing tftp://172.10.00.00/domino/cat2948g-in-mz.120-7.W5.14.46...

Erase bootflash: before copying? [confirm] no
Loading domino/cat2948g-in-mz.120-7.W5.14.46 from 172.10.00.00
(via FastEthernet
1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!.!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!.!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!.!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!.!!!!!!!!!!!!!!!!
!
[OK - 3173364/6345728 bytes]

Verifying checksum... OK (0x755F)
3173364 bytes copied in 210.364 secs (15111 bytes/sec)
Router# dir bootflash: Directory of bootflash:/

1 -rw- 3173128 cat2948g-in-mz.120-7.W5.14.45
2 -rw- 3173364 cat2948g-in-mz.120-7.W5.14.46

16777216 bytes total (10430596 bytes free)

Note - Make sure that the file size of the image file you copied to boot flash memory
matches the image file size on the server.

To reload the switch router with the new system image in boot flash memory, perform
the following steps, beginning in global configuration mode:

Command Purpose

Step 1 

Router(config)# config-register 0x0

Sets the configuration register for manual booting from ROM monitor mode.1

Step 2 

Router(config)# end

Router#

Returns to privileged EXEC mode.

Step 3 

Router#copy system:running-config nvram:startup-config

Saves your configuration changes to NVRAM.

Step 4 

Router# reload

rommon 1>

Initiates a reload of the system software. You then enter ROM monitor mode.

Step 5 

rommon 1> dir boot flash:

Displays the contents of the file system. Perform this optional step to display and copy the name of the system image to the clipboard for use in Step 6.

Step 6 

rommon 1> boot boot flash:filename

Reboots the switch router with the new system image. You can paste the filename from the clipboard if you copied it in Step 5.

Step 7 

Router> show version

Displays the system software version information. Use this step to confirm that the system is loaded with the expected software version.

1For details on using the configuration register to set boot parameters, refer to the
Cisco IOS Configuration Fundamentals Configuration Guide.

The following example shows setting the configuration register, saving the configuration,
and reloading the switch router with the new image on the boot flash memory SIMM.
Router# configure terminal  
Router(config)# config-register 0x0
Router(config)# end
Router#
4d00h: %SYS-5-CONFIG_I: Configured from console by console
Router#copy system:running-config nvram:startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Router# reload
Proceed with reload? [confirm]
rommon 1 > dir bootflash:
File size Checksum File name
3173128 bytes (0x306b08) 0x799f cat2948g-in-mz.120-7.W5.14.45
3173364 bytes (0x306bf4) 0x755f cat2948g-in-mz.120-7.W5.14.46
rommon 2 > boot bootflash:cat2948g-in-mz.120-7.W5.14.46
Self decompressing the image : #############################
##########################################################
##########################################################
##########################################################
##########################################################
############## [OK]
<The system boots>
Router> show version
Cisco Internetwork Operating System Software
IOS (tm) L3 Switch/Router Software (CAT2948G-IN-M),
Version 12.0(7)W5(14.46) IN
TERIM TEST SOFTWARE
Copyright (c) 1986-2000 by cisco Systems, Inc.
Compiled Tue 22-Feb-00 04:31 by
Image text-base: 0x60010928, data-base: 0x605B2000

Now that you have completed the initial configurations on your Layer 3 switch router,
you can begin configuring the interfaces.