wipe startup-config

Unanswered Question
avmabe Wed, 08/22/2007 - 12:59
User Badges:
  • Bronze, 100 points or more

my favorite commands!!!

write erase


write erase

The write erase command is replaced by the erase nvram: command. See the description of the erase command for more information.


Usage Guidelines

The erase nvram: command replaces the write erase command and the erase startup-config command.

When a file system is erased, none of the files in the file system can be recovered.

The erase command can be used on both Class B and Class C Flash file systems only. To reclaim space on Flash file systems after deleting files using the delete command, you must use the erase command. This command erases all of the files in the Flash file system.

If the flash memory is partitioned, all partitions must be removed before using the erase command.

Class A Flash file systems cannot be erased. You can delete individual files using the delete EXEC command and then reclaim the space using the squeeze EXEC command. You can use the format EXEC command to format the Flash file system.

The erase nvram: command erases NVRAM. On Class A file system platforms, if the CONFIG_FILE variable specifies a file in Flash memory, the specified file will be marked "deleted."

The /no-squeeze option is available on systems with small amounts of Flash memory in order to conserve memory. When a squeeze operation is performed, the last two erase sectors are permanently reservered for the squeeze logs and squeeze buffer. Disabling the squeeze operation keeps these memory sectors free. If any sectors using squeeze data are detected, they will be erased when the /no-squeeze option is used.


This Discussion