CISCO SWITCH IOS HELP!!!

1.  deleted flash from my switch
2. ios c2900xl-hs-mz-112.8.11-sa6.bin - must be corrupt because size of file is only 1K
3. attempted to copy ios c2900xl-c3h2s-mz.120-5.WC17.bin (1770K) but xmodem error with not enough space
4. out of ideas of getting an ios loaded back on the 2900xl switch
5. see output:
switch:
switch: dir

List of filesystems currently registered:

    flash:
    xmodem:
    null:

switch: flash:
Unknown cmd: flash:
switch: dir flash:
Directory of flash:/

2    drwx  10816     <date>               html

1226752 bytes available (501248 bytes used)
switch: delete flash:html/*
Are you sure you want to delete "flash:html/*" (y/n)?y
File "flash:html/*" not deleted -- no such file or directory
switch: delete flash:html
Are you sure you want to delete "flash:html" (y/n)?y
File "flash:html" not deleted -- is a directory
switch:
Directory of flash:/

2    drwx  10816     <date>               html

1226752 bytes available (501248 bytes used)
switch:
switch: version
C2900XL Boot Loader (C2900-HBOOT-M) Version 11.2(8)SA2, RELEASE SOFTWARE (fc1)
Compiled Fri 24-Apr-98 10:51 by rheaton
switch:
kwnelsonAsked:
Who is Participating?
 
lrmooreCommented:
0
 
giltjrCommented:
you can try:

     del /recursive flash:*

or

     del /recursive flash:/*

or just plain

   del /recursive flash:
0
 
giltjrCommented:
Umm, but it looks like you don't have enought space anyway.

Your image is 1770K or  1,812,408 bytes and you only have 1,226,752 bytes. total.  

Are you sure that image is the right one?
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
kwnelsonAuthor Commented:
giltjr:you are correct about the space, I will have to find a ll.2 ios version; create a Cisco CCO account but unable to access ios software section. Here is the output using del recursive :
switch: del /recursive flash:/*
Are you sure you want to delete "/recursive" (y/n)?y
File "/recursive" not deleted -- permission denied
Are you sure you want to delete "flash:/*" (y/n)?y
File "flash:/*" not deleted -- no such file or directory
switch: del recursive flash:
Are you sure you want to delete "recursive" (y/n)?y
File "recursive" not deleted -- permission denied
Are you sure you want to delete "flash:" (y/n)?
File "flash:" not deleted
switch: del recursive flash:
Are you sure you want to delete "recursive" (y/n)?y
File "recursive" not deleted -- permission denied
Are you sure you want to delete "flash:" (y/n)?y
File "flash:" not deleted -- no such file or directory
switch: del /recursive flash:*
Are you sure you want to delete "/recursive" (y/n)?y
File "/recursive" not deleted -- permission denied
Are you sure you want to delete "flash:*" (y/n)?y
File "flash:*" not deleted -- no such file or directory
switch:
0
 
kwnelsonAuthor Commented:
Thank you lrmoore. I downloaded the image file and compied via xmodem, everything works perfect.
I now just have to purchase a more current 2924 or 2950. These I am sure will be more helpful in working towards my CCNP.  Again....thanks.
0
 
maruticarCommented:
i have a diectory on C3750 ios named ( see below
5  drwx         192   Mar 1 1993 00:05:38 +00:00  c3750-i9-mz.122-20.SE4

i deleted the files inside it by using delete flash:/c3750-i9-mz.122-20.SE4/*
how can i delete the directory itself
when i use delete flash:/c3750-i9-mz.122-20.SE4, it  gives me error " not a file"

thanks

maruti
0
 
lrmooreCommented:
maruticar,
You have to post a new question of your own. You cannot camp onto one that is aready archived.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.