|
Cisco 2960 Switch not booting all the wayI got a 2 year old switch on my desk that is not booting all the way. Here is where it stops Using driver version 1 for media type 1
Base ethernet MAC Address: 20:37:06:af:17:00
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash...
mifs[2]: 12 files, 1 directories
mifs[2]: Total bytes : 1806336
mifs[2]: Bytes used : 755200
mifs[2]: Bytes available : 1051136
mifs[2]: mifs fsck took 1 seconds.
mifs[3]: 0 files, 1 directories
mifs[3]: Total bytes : 3870720
mifs[3]: Bytes used : 1024
mifs[3]: Bytes available : 3869696
mifs[3]: mifs fsck took 0 seconds.
mifs[4]: 5 files, 1 directories
mifs[4]: Total bytes : 258048
mifs[4]: Bytes used : 9216
mifs[4]: Bytes available : 248832
mifs[4]: mifs fsck took 1 seconds.
mifs[5]: 5 files, 1 directories
mifs[5]: Total bytes : 258048
mifs[5]: Bytes used : 9216
mifs[5]: Bytes available : 248832
mifs[5]: mifs fsck took 0 seconds.
mifs[6]: 566 files, 19 directories
mifs[6]: Total bytes : 57931776
mifs[6]: Bytes used : 15215616
mifs[6]: Bytes available : 42716160
mifs[6]: mifs fsck took 15 seconds.
...done Initializing Flash.
done.
Loading "flash:/c2960s-universalk9-mz.122-55.SE3/c2960s-universalk9-mz.122-55.SE3.bin"...@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@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@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
That is as far as it will go. I cant find anything out in the cisco world that will let me go around loading flash. Is the flash bad? IOS? Thanks |
|
DarkLogixTexan and Proud Premium Member join:2008-10-23 Baytown, TX |
Can you get into rommon?
I know on some cisco gear you can point it to a tftp server instead of flash (never tried it myself, and not all gear can do it I don't think) |
|
|
I can get to rommon |
|
DarkLogixTexan and Proud Premium Member join:2008-10-23 Baytown, TX |
DO you have a known good copy of your IOS? |
|
|
|
to krock83
You could first try bypassing startup config and do a 2101 register so you can rename the existing config file and let it reboot without one. If it still stalls then it might be worth checking into a getting another copy of IOS for your switch. |
|
|
I have another more recent copy of the IOS softwaare of the switch... but how do I upload the IOS if I cant get past the boot. I have done this on routers but those usually didint have any image on them.
Can I do
switch: rmdir flash:c2960s-universalk9-mz.122-55.SE3
to delete the current immage? |
|
·Frontier FiberOp..
|
rommon has an option for x-modem file transfer via console port. You will need a console cable, hyperterminal, and some time to spare. It takes a good bit to upload that way. Recovery From Corrupt or Missing Software Image on Cisco Catalyst 2900XL and 3500XL Series Switches |
|
tired_runner |
to krock83
said by krock83: switch: rmdir flash:c2960s-universalk9-mz.122-55.SE3
to delete the current immage?
The IOS image is a bin file, not a directory. Do this first: dir flash:
Make note of the contents in flash, namely the file that ends with .BIN. Then do: rm flash:[name of IOS image].bin
|
|
|
here is what I got switch: dir
List of filesystems currently registered:
bs[0]: (read-only)
flash[6]: (read-write)
xmodem[7]: (read-only)
null[8]: (read-write)
switch: dir flash:
Directory of flash:/
2 -rwx 8774 <date> config.text.backup
3 -rwx 916 <date> vlan.dat
4 -rwx 8931 <date> config.old
5 -rwx 5 <date> private-config.text
6 -rwx 2072 <date> multiple-fs
7 -rwx 5 <date> private-config.text.backup
8 drwx 512 <date> c2960s-universalk9-mz.122-55.SE3
42716160 bytes available (15215616 bytes used)
switch: rm flash:c2960s-universalk9-mz.122-55.SE3
Unknown cmd: rm
switch:
|
|
krock83 |
Also when I try to copy the image via xmodem this is what I get switch: copy xmodem: flash:c2960s-universalk9-mz.150-2.SE2.bin
Begin the Xmodem or Xmodem-1K transfer now...
CCCCCCCCCCxmodem:: I/O error
|
|
·Frontier FiberOp..
|
to krock83
Sorry. Mixing up linux with IOS commands. It looks like the bin file is inside that directory. Do this: cd c2960s-universalk9-mz.122-55.SE3
Then do: dir
It should show you the bin file. That's the IOS image. |
|
|
no it tells me that CD is an unknown command |
|
krock83 |
these are the list of command it lets me do switch: ?
? -- Present list of available commands
boot -- Load and boot an executable image
cat -- Concatenate (type) file(s)
copy -- Copy a file
delete -- Delete file(s)
dir -- List files in directories
flash_init -- Initialize flash filesystem(s)
format -- Format a filesystem
fsck -- Check filesystem consistency
help -- Present list of available commands
memory -- Present memory heap utilization information
mkdir -- Create dir(s)
more -- Concatenate (display) file(s)
rename -- Rename a file
reset -- Reset the system
rmdir -- Delete empty dir(s)
set -- Set or display environment variables
set_bs -- Set attributes on a boot sector filesystem
set_param -- Set system parameters in flash
sleep -- Pause (sleep) for a specified number of seconds
type -- Concatenate (type) file(s)
-- MORE --
unset -- Unset one or more environment variables
version -- Display boot loader version
|
|
|
Try: dir flash:c2960s-universalk9-mz.122-55.SE3
|
|
|
I dont know what I did but everything in Flash: is gone switch: dir flash:
Directory of flash:/
57930752 bytes available (1024 bytes used)
switch: dir flash:
Directory of flash:/
57930752 bytes available (1024 bytes used)
switch: dir flash:
Directory of flash:/
57930752 bytes available (1024 bytes used)
now this could be a good thing or bad thing... hmmm let me try the xmodem upload again. I am using Cecure CRT instaed of HyperTerminal |
|
|
Lol nice
Good luck. Don't forget to set the config registry back to 2102. |
|
|
I will have to get a Hyper Terminal installed since Secure CRT does not support xmode transfers. I will try Tera Term IV instead and see how that goes... Thanks again |
|
DarkLogixTexan and Proud Premium Member join:2008-10-23 Baytown, TX |
Xmodem transfers can be painfully slow
however there are commands to change the baud rate to speed it up. |
|
|
well... I just started it and it is at 0.3% and it has been running for 4 min
Good thing is I will go home in 30 min so this can be done in the background |
|
|
aryoba
MVM
2013-Apr-10 4:38 pm
A 2960 switch is not too-old model, so its ROMMON should support TFTP file transfer; you just have to find the right command to do so, start by using the copy command. |
|
|
Well this xmodem is douing its thing now so hopefully ny the end of the day (tomorrow morning) it should be done
Im not in a rush hopefully this will work |
|
·Frontier FiberOp..
|
to krock83
said by krock83:I will have to get a Hyper Terminal installed since Secure CRT does not support xmode transfers. I will try Tera Term IV instead and see how that goes... Thanks again You can use any terminal program that supports xmodem. I forget what the supported baud rate is, likely 9600. Anytime |
|
|
I am using Tera Term and it is working so far. Im not to concerned about the upload speed of the IOS. I will be done untill tomorrow
I will post an update in the morning when I boot it |
|
krock83 |
Actually I take it back... Secure CRT has an option to sedn transfers via XMODEM I was looking at an older version and it didint have it but the version 7.0.0 has that feature built in. |
|
DarkLogixTexan and Proud Premium Member join:2008-10-23 Baytown, TX |
to tired_runner
said by tired_runner:said by krock83:I will have to get a Hyper Terminal installed since Secure CRT does not support xmode transfers. I will try Tera Term IV instead and see how that goes... Thanks again You can use any terminal program that supports xmodem. I forget what the supported baud rate is, likely 9600. Anytime While the standard rate is 9600 you can up it by ALOT (just be sure the serial link to the device is good quality or you'll get errors or you'll get errors if you go to high) |
|
|
OK loaded the new IOS to the Switch switch: dir flash:
Directory of flash:/
2 -rwx 13524992 <date> c2960s-universalk9-mz.150-2.SE2.bin
44296192 bytes available (13635584 bytes used)
when I ask it to boot to the new image here is what I get: switch: boot flash:c2960s-universalk9-mz.150-2.SE2.bin
Loading "flash:c2960s-universalk9-mz.150-2.SE2.bin"...@@@@@@@@@@@@@@@@@@.......@@@@@@@@@@@
Error loading "flash:c2960s-universalk9-mz.150-2.SE2.bin"
Interrupt within 5 seconds to abort boot process.
Boot process failed...
When I do the "reset" command It looks like that the switch is still looking for the old deleted IOS switch: reset
Are you sure you want to reset the system (y/n)?y
System resetting...
Using driver version 1 for media type 1
Base ethernet MAC Address: 20:37:06:af:17:00
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash...
mifs[2]: 12 files, 1 directories
mifs[2]: Total bytes : 1806336
mifs[2]: Bytes used : 755200
mifs[2]: Bytes available : 1051136
mifs[2]: mifs fsck took 0 seconds.
mifs[3]: 0 files, 1 directories
mifs[3]: Total bytes : 3870720
mifs[3]: Bytes used : 1024
mifs[3]: Bytes available : 3869696
mifs[3]: mifs fsck took 1 seconds.
mifs[4]: 5 files, 1 directories
mifs[4]: Total bytes : 258048
mifs[4]: Bytes used : 9216
mifs[4]: Bytes available : 248832
mifs[4]: mifs fsck took 0 seconds.
mifs[5]: 5 files, 1 directories
mifs[5]: Total bytes : 258048
mifs[5]: Bytes used : 9216
mifs[5]: Bytes available : 248832
mifs[5]: mifs fsck took 0 seconds.
mifs[6]: 1 files, 1 directories
mifs[6]: Total bytes : 57931776
mifs[6]: Bytes used : 13635584
mifs[6]: Bytes available : 44296192
mifs[6]: mifs fsck took 12 seconds.
...done Initializing Flash.
done.
Loading "flash:/c2960s-universalk9-mz.122-55.SE3/c2960s-universalk9-mz.122-55.SE3.bin"...flash:/c2960s-universalk9-mz.122-55.SE3/c2960s-universalk9-mz.122-55.SE3.bin: no such file or directory
Error loading "flash:/c2960s-universalk9-mz.122-55.SE3/c2960s-universalk9-mz.122-55.SE3.bin"
Interrupt within 5 seconds to abort boot process.
Loading "flash:/c2960s-universalk9-mz.150-2.SE2.bin"...@@@...@@@@@
Error loading "flash:/c2960s-universalk9-mz.150-2.SE2.bin"
Interrupt within 5 seconds to abort boot process.
Boot process failed...
The system is unable to boot automatically. The BOOT
environment variable needs to be set to a bootable
image.
It does say however that the BOOT environment variable needs to be set to a bootable image. I tried that but it didint work unless I was douing it wrong. |
|
|
aryoba
MVM
2013-Apr-11 9:15 am
Try to configure the switch to bypass saved configuration. This way the switch should no longer look for boot image that does not exist anymore, instead it would use the 1st bootable image found which is the one you just downloaded. |
|
|
Im not sure if this switch is capible of douing so |
|
|
aryoba
MVM
2013-Apr-11 9:45 am
You can also use the ROMMON delete command to delete configuration files, forcing the switch to boot up as default mode. |
|
|
That worked Thank you
Switch seems to be booting now... |
|