04-03-2020 06:27 PM - edited 04-17-2020 07:40 AM
According to this article, I can delete the current startup configuration files and return the router to its factory default settings with the `erase nvram:` and `reload` command.
https://www.oreilly.com/library/view/cisco-ios-cookbook/0596527225/ch01s06.html
R1#erase ? /all Erase all files(in NVRAM) /no-squeeze-reserve-space Do not reserve space for squeeze operation flash: Filesystem to be erased nvram: Filesystem to be erased pram: Filesystem to be erased slot0: Filesystem to be erased startup-config Erase contents of configuration memory R1#erase nvram: ? <cr> R1#erase nvram: Erasing the nvram filesystem will remove all configuration files! Continue? [confirm] [OK] Erase of nvram: complete R1# *Mar 1 00:07:24.891: %SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram R1# R1#reload Proceed with reload? [confirm]
I also tried `erase startup-config` and `reload`
The problem is nothing happens after that.
Solved! Go to Solution.
04-15-2020 11:16 AM
Please check if your flash is alright
R1# dir flash:/
If it is prompted something like this:
%Error opening flash:/ (No device available)
Means that the flash memory is broken. In GNS3 i had an issue with a Dynamips Router that had that problem, so i better used IOSv Routers.
04-03-2020 06:57 PM
04-03-2020 07:20 PM
"wr erase" also doesn't work. Basically I'm getting similar output as "erase nvram" or "erase startup-config"
Nothing happens after "reload"
04-04-2020 05:18 PM
04-14-2020 09:22 AM
This is 3725 in GNS3
R1#sh ver | i Cisco IOS Cisco IOS Software, 3700 Software (C3725-ADVENTERPRISEK9-M), Version 12.4(15)T7, RELEASE SOFTWARE (fc3) R1#
04-14-2020 02:58 PM
04-17-2020 07:37 AM
R1#wr erase Erasing the nvram filesystem will remove all configuration files! Continue? [confirm] [OK] Erase of nvram: complete R1#
R1#delete startup-config Delete filename [startup-config]? Delete flash:startup-config? [confirm] %Error deleting flash:startup-config (No device available) R1#
04-05-2020 08:20 AM
04-15-2020 11:16 AM
Please check if your flash is alright
R1# dir flash:/
If it is prompted something like this:
%Error opening flash:/ (No device available)
Means that the flash memory is broken. In GNS3 i had an issue with a Dynamips Router that had that problem, so i better used IOSv Routers.
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