Link to home
Start Free TrialLog in
Avatar of kwnelson
kwnelson

asked on

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:
Avatar of giltjr
giltjr
Flag of United States of America image

you can try:

     del /recursive flash:*

or

     del /recursive flash:/*

or just plain

   del /recursive flash:
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?
Avatar of kwnelson
kwnelson

ASKER

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:
ASKER CERTIFIED SOLUTION
Avatar of Les Moore
Les Moore
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
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
maruticar,
You have to post a new question of your own. You cannot camp onto one that is aready archived.