Upgrading the System Image
How to Upgrade the System Image
7
OL-5595-01
3.
dir flash:
4.
From the displayed output of the dir flash: command, compare the number of bytes available to the
minimum flash requirements for the new system image.
a.
If the available memory is equal to or greater than the new system image’s minimum flash
requirements, proceed to the
“Copying the System Image into Flash Memory” section on
page 10.
b.
If the available memory is less than the new system image’s minimum flash requirements,
proceed to
Step 5.
5.
From the displayed output of the dir flash: command, compare the number of bytes total to the size
of the system image to which you want to upgrade.
a.
If the total memory is less than the new system image’s minimum flash requirements, you must
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
Step 6.
6.
dir /all flash:
7.
From the displayed output of the dir /all flash: command, write down the names and directory
locations of the files that you can delete.
8.
(Optional) copy flash: {tftp | rcp}
9.
(Optional) Repeat Step 8 for each file that you identified in Step 7.
10.
delete flash:directory-path/filename
11.
Repeat Step 10 for each file that you identified in Step 7.
12.
(Class B file systems only) squeeze flash:
13.
dir flash:[partition-number:]
14.
From the displayed output of the dir flash: command, compare the number of bytes available to the
size of the system image to which you want to upgrade.
a.
If the available memory is less than the new system image’s minimum flash requirements, then
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.
b.
If the available memory is equal to or greater than the new system image’s minimum flash
requirements, proceed to the
“Copying the System Image into Flash Memory” section on
page 10.