12-09-2015 08:40 AM - edited 03-08-2019 03:02 AM
Brand new switch that somehow lost it's image. When I turn the switch on, it goes to the switch: prompt and I am unable to do anything. When I run the boot command, it gives me an error stating "error loading "flash:/c2960............" No such file or directory. How do I get this switch to boot up using a default image. I can't get to the enable prompt to upload a new image. When I try and do the "enable" I recieve "unknown cmd: en"
Thanks.
Solved! Go to Solution.
12-09-2015 08:50 AM
If I understand you may want to reset it to factory defaults. You can then load your OS and config via tftp.
To reload:
To reset the switch:
The switch now operates like an unconfigured switch. You can enter the switch IP information by using Express Setup.
The cisco link is:
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960xr/hardware/quick/guide/b_gsg_2960xr.html
12-09-2015 08:49 AM
What is the output of the command
dir
You either have no image in your flash memory or it is not being selected by the boot command.
12-09-2015 08:52 AM
switch: dir
List of filesystems currently registered:
bs[1]: (read-only)
flash[9]: (read-write)
xmodem[10]: (read-only)
null[11]: (read-write)
tftp[12]: (read-only)
12-09-2015 09:21 AM
If you issue the command
dir flash:
what files does it show?
12-09-2015 09:24 AM
It only shows the following:
switch: dir flash:
Directory of flash:/
2 -rwx 109 <date> info
3 drwx 512 <date> update
137 drwx 512 <date> crashinfo_ext
139 -rwx 676 <date> vlan.dat
140 -rwx 9548 <date> config.text
141 -rwx 3096 <date> multiple-fs
142 -rwx 57 <date> private-config.text
117397K bytes available (1925K bytes used)
switch:
I'm in the process of following these steps to transfer a new .bin file over. http://www.cisco.com/c/en/us/support/docs/switches/catalyst-2950-series-switches/41845-192.html
12-09-2015 09:28 AM
How does one transfer the .bin if they do not have HyperTerminal? The instructions I linked above were for HyperTerminal, which isn't on Windows 7. All I have is putty
Issue the copy xmodem: flash:filename command on the switch.
Here is an example:
switch: copy xmodem: flash:c2955-i6q4l2-mz.121-13.EA1.bin Begin the Xmodem or Xmodem-1K transfer now... CCC
From the top of the HyperTerminal window, choose Transfer > Send File.
12-10-2015 06:16 AM
Ryan,
Since this is a 2960X, you should be able to copy the ios image from a usb flash drive to flash. This will be far faster than waiting on an xmodem copy.
12-10-2015 06:18 AM
Ok that would be great. But are there instructions? I just did the xmodem transfer and it completed but then it stated I/O Error and the .bin file is not in the flash dir. So I need to do this again. If you could tell me how to do it via a USB drive, that would be great.
12-10-2015 06:35 AM
Load the binary file onto a USB flash drive that is less than 8Gb in size and plug it into either of the USB ports on the front of the switch (left one is usbflash0:, right one is usbflash1:)
! at the switch: prompt enter the command -->
copy usbflash0:name_of_image.bin flash:name_of_image.bin
! or
copy usbflash1:name_of_image.bin flash:name_of_image.bin
! once the copy is complete tell the switch to boot
boot
12-09-2015 08:50 AM
If I understand you may want to reset it to factory defaults. You can then load your OS and config via tftp.
To reload:
To reset the switch:
The switch now operates like an unconfigured switch. You can enter the switch IP information by using Express Setup.
The cisco link is:
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960xr/hardware/quick/guide/b_gsg_2960xr.html
05-09-2019 02:47 AM
05-09-2019 03:33 AM
05-09-2019 03:41 AM
12-10-2015 07:50 AM
I was able to finally get this working using hyperterminal (hilgraeve) at 115200 baud rate. Thx again for the help and ideas!
04-15-2021 07:20 AM - edited 04-16-2021 02:18 AM
boot tftp://10.0.0.5/c2960x-universalk9-mz.****.bin
NB*
To avoid the below, do the following
set
BOOT=tftp://10.0.0.5/c2960x-universalk9-mz.152-7.E4.bin
The system is unable to boot automatically. The BOOT
environment variable needs to be set to a bootable
image.
Would you like to enter the initial configuration dialog? [yes/no]: n
Switch>
en
conf t
int vl 1
ip add 10.0.0.89 255.255.255.0
no sh
exit
exit
conf t
int ra GigabitEthernet2/0/1 - 50
swi
swi mode acc
spann portfas
no shu
int ra Te2/0/1 - 2
swi
swi mode acc
spann portfas
no shu
end
archive download-sw /overwrite tftp://10.0.0.5/c2960x-universalk9-tar.152-7.E0a.tar
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