Name

erase — command

Synopsis

erase [startup-config] [flash]

Description

This command erases the stored configuration (startup-config) or the flash memory (flash) on the router. Flash memory stores the IOS operating system image; obviously, this command is dangerous.

Example

This command erases your stored configuration:

Router# erase startup-config

This one erases your IOS image:

Router# erase flash

Get CISCO IOS in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.