cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7161
Views
5
Helpful
6
Replies

Cisco 2811 IOS file not appearing on flash drive

Arber_123
Level 1
Level 1

Hi everyone,

I'm having an issue with a Cisco 2811 ISR Router. Sh ver command output lists the correct ios that the router used for booting and it says that the ios is stored in flash but when i give "sh flash" command it doesn't display the ios file. It seems weird to me.

Maybe the flash is corrupted or damaged in some way? Has anyone any idea about this? In the attached file is the output from the "sh ver" and "sh flash" commands.

Your help is very appreciated.

Best regards,

Arber Mancaj.

6 Replies 6

Raphael Wouters
Cisco Employee
Cisco Employee

Hi Arber,

I don't expect the file system to be corrupted, it would have displayed an error. We can see the flash has some space used so I believe the image is in there.

I'm not sure what is your problem here. Can you try a "show flash all", "dir flash:" and "dir /all"?

Do you get something while you try "show file information flash:c2800nm-adventerprisek9-mz.124-22.T5.bin"?

Maybe you don't have some privilege right to display the files, are you in enable 15? ("show privilege")

Here is the output of the suggested commands. I even tried an IOS upgrade and reformatting the entire flash but nothing changed. i can copy and move correctly in flash (tried creating a directory, copy nvram:startup-config flash) and everything looks normal. just the IOS file doesn't display in the show commands.

CCSS#sh privile

Current privilege level is 15

CCSS#sh flash all

-#- --length-- -----date/time------ path

5267456 bytes available (58716160 bytes used)

******** ATA Flash Card Geometry/Format Info ********

ATA CARD GEOMETRY

   Manufacturer Name     

   Model Number           STI Flash 7.4.0    

   Serial Number          STI J18f106303221058

   Firmware Revision      02-10-06

   Number of Heads        8    

   Number of Cylinders    490  

   Sectors per Cylinder   32   

   Sector Size            512  

   Total Sectors          125440

ATA PARTITION 1 INFO

   Start Sector           32   

   Number of Sectors      125408

   Size in Bytes          64208896

   File System Type       FAT16

   Number of FAT Sectors  62   

   Sectors Per Cluster    8    

   Number of Clusters     15621

   Number of Data Sectors 124968

   Base FAT Sector        140  

   Base Root Sector       264  

   Base Data Sector       296  

ATA MONLIB INFO

   Image Monlib size      118028

   Disk Monlib Size       67320

   Disk Space Available   71168

   Name                   piptom-atafslib-m

   Start sector           2    

   End sector             133  

   Updated By             C2800NM-ADVENTERPRISEK9_IVS-M12.4(11)XW7 <--------    This was the old version of IOS

   Version                1    

CCSS#sh file information flash:c2800nm-adventerprisek9-mz.124-22.T5.bin

%Error opening flash:c2800nm-adventerprisek9-mz.124-22.T5.bin (File not found)

CCSS#

CCSS#dir /all flash:

Directory of flash:/

No files in directory

63983616 bytes total (5267456 bytes free)

CCSS#

BTW can the router boot the IOS from an USB flashdrive.

BTW can the router boot the IOS from an USB flashdrive.

Yes.  You need to upgrade your bootstrap to 12.4(13r)T6 or later to support boot-via-USB.  Take note that maximum USB size supported is 2Gb.

Forget it.  Based on your attachment the IOS file is missing.  Upload the correct IOS before something happens.

Timor_SSS
Level 1
Level 1

Hi Arber,

Show ver display the info from the last boot. It means that last time that that ISR booted he used the IOS image that was located on flash. It doesn't mean that it's still there.

I suspect that someone deleted this image form flash. If you reboot the ISR now, I don't think that it'll boot up.

BR,

Timor Sherf

Nabaruma
Level 1
Level 1

Hi Arber,

Does your router comes with a compact flash? It looks like it has from your attachment!

try the following command: sh disk1:

Also try the command sh dir /all

Probably the ios reside in the external flash as usual with the new routers.

Thanks,

byroncarrion
Level 1
Level 1

Hi,

I also had this issue with my cisco 2811 routers.

The behaviour is very strange because you can boot the router, but when you try to list the files in the flash nothing appears. It's due to Cisco IOS Resilient Configuration.

You can see more about it here:

http://www.cisco.com/en/US/docs/ios/sec_user_services/configuration/guide/sec_resil_config.html

All that you need to do is: Router# show secure bootset

If the output show the resilient configuration enabled, disable it by typing Router(config)#no secure boot image.

But if the output doesn't show anything. You will need to do the following:

- Router(config)#secure boot image

and then

- Router(config)#no secure boot image

After that you will be able to see the image in the flash again.

See you

Regards,

Byron

Review Cisco Networking for a $25 gift card