07-08-2014 03:54 AM - edited 07-05-2021 01:11 AM
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?
07-08-2014 04:33 AM
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!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide