Erasing configuration files

In certain scenarion you might want to remove the existion configuration of an Cisco IOS device and restore the device to the factory settings. To do this, you will need to access the device over the network or through the console and issue one of the following commands (not all commands are supported on all Cisco devices):

  • write erase
  • erase nvram:
  • erase startup-config

 

Once you execute one of the commands above, you will need to reload the device. Here is an example:

R1#write erase
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
%SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram
R1#reload
Proceed with reload? [confirm]

Download our Free CCNA Study Guide PDF for complete notes on all the CCNA 200-301 exam topics in one book.

We recommend the Cisco CCNA Gold Bootcamp as your main CCNA training course. It’s the highest rated Cisco course online with an average rating of 4.8 from over 30,000 public reviews and is the gold standard in CCNA training: