Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

2602i remove files from Flash / recover from rommon

hello all, I've got a particular question, not anwered in other foruns i've searched.

My Cisco Aironet 2602i is in the rommon state

 

ap:

set IP_ADDR 10.2.104.152

set NETMASK 255.255.255.0

set DEFAULT_ROUTER 10.2.0.254

tftp_init

ether_init

flash_init

tar -xtract tftp://a.b.c.d/networking/software/AP/AP_2600/autonomous/ap3g2-k9w7-tar.152-4.JB5.tar flash:

 

everything was going ok, when the AP said that's not enough space on the flash to write the new code.


So I've done

ap: dir flash:
2    -rwx  20818     <date>               event.log
3    -rwx  3828      <date>               private-config
4    -rwx  64        <date>               sensord_CSPRNG0
5    -rwx  286       <date>               info
6    drwx  2048      <date>               ap3g2-k9w8-mx.152-4.JB5
7    drwx  512       <date>               ap3g2-rcvk9w8-mx
13   drwx  192       <date>               ap3g2-k9w7-mx.152-4.JB5
50   drwx  0         <date>               configs
68   -rwx  64        <date>               sensord_CSPRNG1
69   -rwx  3096      <date>               private-multiple-fs
262  -rwx  209       <date>               env_vars

 

I cannot delete the 3 folders (line 6,7,13)

 

I've tried the following commands:

ap: delete /recursive /force flash:ap3g2-rcvk9w8-mx

Are you sure you want to delete "/recursive" (y/n)?n
File "/recursive" not deleted
Are you sure you want to delete "/force" (y/n)?n
File "/force" not deleted
Are you sure you want to delete "flash:ap3g2-rcvk9w8-mx" (y/n)?y
File "flash:ap3g2-rcvk9w8-mx" not deleted -- is a directory

 

I've also tried:

ap: cd ap3g2-k9w8-mx.152-4

Unknown cmd: cd

 

ap: delete flash:ap3g2-rcvk9w8-mx

Are you sure you want to delete "flash:ap3g2-rcvk9w8-mx" (y/n)?y
File "flash:ap3g2-rcvk9w8-mx" not deleted -- is a directory

 

 

any thoughts? 

 

 

Everyone's tags (3)
1 REPLY
New Member

the correct command to delete

the correct command to delete a file inside a directory is

 

ap: delete flash:/ap3g2-rcvk9w8-mx/ap3g2-rcvk9w8-xx
Are you sure you want to delete "flash:/ap3g2-rcvk9w8-mx/ap3g2-rcvk9w8-xx" (y/n)?y
File "flash:/ap3g2-rcvk9w8-mx/ap3g2-rcvk9w8-xx" deleted

Problem solved.

cheers!

1251
Views
0
Helpful
1
Replies
CreatePlease login to create content