01-30-2023 07:44 AM - edited 01-30-2023 07:53 AM
Hi all,
I am currently undergoing an online traing course for CCNA and have just completed a section explaining how to set the boot system option. This triggered a memory of me having an old 2950 switch from a company I used to work which I acquired after they had a switch refresh.
I have located the switch and searched how I can recover it as it is currently protected with a password I do not know. I have booted the switch and held the "mode" button to get it to the "switch:" prompt and followed the instructions found here:
dir flash: - produced a list of files in Flash memory and while I couldn't see what looked to be an active config file, there was a file named "config.test.renamed", however, on attempting to delete it I received a "permission denied" error. This also happen with the files "private-config.text.renamed" and "vlan.dat".
I have found articles on others aspects relating to rommon but nothing identifying with type of error.
Can anyone help please?
Jim
Solved! Go to Solution.
01-30-2023 08:23 AM
- Try delete flash:config.test.renamed
M.
01-30-2023 08:23 AM
- Try delete flash:config.test.renamed
M.
01-30-2023 09:01 AM
Thanks M.
That's worked a treat 8-)
05-15-2024 12:53 AM - edited 05-15-2024 12:58 AM
Always use flash: to view or rename or delete a file.
here is the complete process how you reset switch to factory default but make sure you will loose everything.
Step 1.
Connect up your console cable and power on the switch, whilst holding down the “mode” button:
Initialize the flash file system with the command: flash_init
Step 3.
Delete the config.text file from the flash directory:
switch: del flash:config.text
Are you sure you want to delete "flash:config.text" (y/n)?y
File "flash:config.text" deleted
Delete the vlan.dat file from the flash directory:
switch: del flash:vlan.dat
Are you sure you want to delete "vlan.dat" (y/n)?y
File "flash:vlan.dat" deleted
Reboot the switch and you’re done:
switch: boot
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