How to Upgrade the Cisco IOS Image
SUMMARY STEPS
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
224
enable
dir flash0:
From the displayed output of the dir flash0: command, compare the number of bytes available to
the minimum flash requirements for the new system image.
If the available memory is equal to or greater than the new system image's minimum flash
a.
requirements, proceed to the
page
226.
If the available memory is less than the new system image's minimum flash requirements,
b.
proceed to
Step
4.
From the displayed output of the dir flash0: command, compare the number of bytes total to the
size of the system image to which you want to upgrade.
If the total memory is less than the new system image's minimum flash requirements, you must
a.
upgrade your compact flash memory card. See the hardware installation guide for your router.
b.
If the total memory is equal to or greater than the new system image's minimum flash
requirements, proceed to
dir /all flash0:
From the displayed output of the dir /all flash0: command, write down the names and directory
locations of the files that you can delete.
(Optional) copy flash0: {tftp | rcp}
(Optional) Repeat
Step 7
for each file that you identified in
delete flash0:directory-path/filename
Repeat
Step 9
for each file that you identified in
dir flash0:[partition-number:]
From the displayed output of the dir flash0: command, compare the number of bytes available to
the size of the system image to which you want to upgrade.
If the available memory is less than the new system image's minimum flash requirements, then
a.
you must upgrade your compact flash memory card to a size that can accommodate both the
existing files and the new system image. See the hardware installation guide for your router.
If the available memory is equal to or greater than the new system image's minimum flash
b.
requirements, proceed to the
page
226.
"Copying the System Image into Flash Memory" section on
Step
5.
Step
6.
"Copying the System Image into Flash Memory" section on
Chapter
Upgrading the Cisco IOS Software
Step
6.