12-07-2020 05:26 AM
Hello,
I have an issue with a Cisco 2960. I would like to reset the factory settings because of configuration error. I followed the documentation up to the flash_init command whose output tells me "Unknown cmd: flash_init":
Board SKU ID is (1)
FPU initialized to Run Fast Mode.
FPGA: 1.5
DRAM Size: 512 MB
Xmodem file system is available.
USB EHCI 1.00
### Found Flash Chip id - 0xda01
Using driver version 1 for media type 3
yaffs[9]: Initialization complete.
yaffs[10]: Initialization complete.
yaffs[11]: Initialization complete.
Base ethernet MAC Address: 14:16:9d:fa:40:80
The password-recovery mechanism is enabled.
*** The system will autoboot in 5 seconds ***
Send break character to prevent autobooting.
The system has been interrupted. The following commands
will finish loading the operating system software:
boot
switch: flash_init
Unknown cmd: flash_init
What's wrong ? Is there another way to do this?
Thanks in advance
12-07-2020 06:35 AM
Hi there,
I don't believe the flash_init command is required on all platforms. Have you tried issuing the dir and dir flash commands? What output do you get?
cheers,
Seb.
12-07-2020 06:41 AM
This is the ouput :
switch: dir List of filesystems currently registered: xmodem[0]: (read-only) null[1]: (read-write) vmap[3]: (read-only) bs[4]: (read-only) bsg[5]: (read-only) flash[11]: (read-write) switch: dir flash unable to stat flash/: no such device
12-07-2020 08:15 AM
Can you try dir flash:
(note the semicolon)
12-07-2020 10:10 PM
there may be a couple of reasons, the flash may be corrupted or the image might have erased.
try the below modem to install the ios image, before we take any other action.
12-07-2020 06:39 AM
Hi,
It may be that the flash empty or damaged. So, try the rest of the commands in this link:
HTH
12-07-2020 06:43 AM
dir you can see file as below
flash:
config.txt and vlan.dat
delete
switch:delete flash:config.txt
switch:delete flash:vlan.dat
if success
switch:boot
then start making your config.
12-07-2020 02:25 PM
The flash is empty.
You will need to manually load the flash back into the switch.
12-08-2020 06:31 AM
hi,
the flash might be empty and doesn't have an IOS to bootup.
you can try to boot from a compatible USB stick:
switch: boot system usbflash0:<IOS.bin>
12-08-2020 08:56 AM
Thank you all for your responses. I will try your solutions and I will keep you posted.
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