Understanding Basic Hardware Architecture and Cisco IOS Software
Upgrading to a New Cisco IOS Release
10
Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide
Router#
copy tftp flash
Address or name of remote host [172.22.191.135]?
172.22.191.135
Source filename [c5350-js-mz.121-1.XD1.bin]?
c5350-js-mz.121-3.T.bin
Destination filename [c5350-js-mz.121-3.T.bin]?
Accessing tftp://172.22.191.135/c5350-js-mz.121-3.T.bin...
Loading c5350-js-mz.121-3.T.bin from 172.22.191.135 (via GigabitEthernet0/0): !!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 9775616/19551232 bytes]
9775616 bytes copied in 66.424 secs (148115 bytes/sec)
Caution
Occasionally TFTP errors occur. Make sure that the verifying checksum reports “OK.” Do
not
reload the
gateway if the checksum reports errors.
Step 3
Verify that the new image was downloaded. In this example, notice that the Cisco IOS
Release 12.1(1)XD image is the first in flash memory, so it is loaded during the boot sequence. To boot
using the new image, you must either delete the unwanted image or use the
boot system
command to
specify the alternative image to use during the boot sequence.
Router#
dir flash:
Directory of flash:/
1 -rw- 9950528 Jan 01 2000 00:48:59 c5350-js-mz.121-1.XD1.bin
2 -rw- 9775616 Jan 01 2000 00:59:10 c5350-js-mz.121-3.T.bin
32768000 bytes total (13041600 bytes free)
For more information on deleting the image, see the
Cisco IOS File System
document, available online at
http://www.cisco.com/univercd/cc/td/doc/product/software/ios113ed/113aa/113aa_2/allplats/ifs.htm
Note
The Cisco AS5350XM and Cisco AS5400XM universal gateways use a Class C Flash File
System.
Step 4
To specify the alternative image that is to be used during the boot sequence use the
boot system flash
newiosname
.
bin
command to specify the location (device) and name of the image to be used:
Router(config)#
boot system flash c5350-js-mz.121-3.T.bin
Router(config)#
^Z
Router#
copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
To verify that this command is in effect, use the
show running-configuration
command. Save your
running configuration before the reload so that the gateway loads the correct image.
Note
The configuration register must be set to 0xXXX2, where 2 tells the system to use the "boot
system" command. If the configuration register is set to 0xXXX1, the system will ignore the boot
system command and will load the first image on flash memory.