Cisco Cisco IOS Software Release 12.0(1)T Guide De Dépannage

Page de 7
 Caution: Do not reload or powercycle the router if there is not a valid image in the Flash; this
causes the router to boot into rommon or bootmode.
AS5400# show flash:
−#− ED −−type−− −−crc−−− −seek−− nlen −length− −−−−−date/time−−−−−− name
1   .. image    12605EA3 18AE220   20  8210748 Jan 03 2000 14:25:28 c5400−is−mz.121−5.T8
2   .. image    26995739  8555EC   20  8213868 Jan 04 2000 23:13:42 c5400−is−mz.121−5.T9
3   .. image    9BF1CEC9 107A370   17  8539396 Jan 13 2000 05:13:04 c5400−is−mz.122−6
4   .. unknown  E818E6CC 10D9808   15   390167 Jan 02 2000 21:00:45 128.0.0.144.spe
6623664 bytes available (25357904 bytes used) 
!−−− Verify the bytes available
In the above example, the router has four files in the Flash. If you want to load another image that
requires more than 6623664 bytes, you would not have enough available memory. You would need to
erase one of the files to create room for an additional image. The example below shows the file
c5400−is−mz.121−5.T8 image being removed from the Flash.
AS5400#delete flash:c5400−is−mz.121−5.T8
Delete filename [c5400−is−mz.121−5.T8]? y
Delete flash:c5400−is−mz.121−5.T8? [confirm] y
Issue the delete command, and then the show flash command.
AS5400# show flash:
−#− ED −−type−− −−crc−−− −seek−− nlen −length− −−−−−date/time−−−−−− name
1   .D image    12605EA3 18AE220   20  8210748 Jan 03 2000 14:25:28 c5400−is−mz.121−5.T8
2   .. image    26995739  8555EC   20  8213868 Jan 04 2000 23:13:42 c5400−is−mz.121−5.T9
3   .. image    9BF1CEC9 107A370   17  8539396 Jan 13 2000 05:13:04 c5400−is−mz.122−6
4   .. unknown  E818E6CC 10D9808   15   390167 Jan 02 2000 21:00:45 128.0.0.144.spe
Notice that there is a .D for deleted in the ED field, but the file has not yet been permanently
removed. To permanently remove the file from Flash, issue the squeeze command.
AS5400#squeeze flash:
All deleted files will be removed. Continue? [confirm] y
Squeeze operation may take a while. Continue? [confirm] y
Squeeze of flash complete
Note: The squeeze flash process may take a few minutes to complete. The router console is
unavailable during that time.
Upgrade the new image from a TFTP server:
Use the show flash command to verify the files in Flash before doing the upgrade.
AS5400#show flash:
−#− ED −−type−− −−crc−−− −seek−− nlen −length− −−−−−date/time−−−−−− name
1   .. image    26995739  8555EC   20  8213868 Jan 04 2000 23:13:42 c5400−is−mz.121−5.T9
2   .. image    9BF1CEC9 107A370   17  8539396 Jan 13 2000 05:13:04 c5400−is−mz.122−6
3   .. unknown  E818E6CC 110CEB8   15   390167 Jan 02 2000 21:00:45 128.0.0.144.spe
Continue upgrading the image as specified in Step 3. An example is shown below:
AS5400#copy tftp: flash:
Address or name of remote host []? 172.16.125.3
6.