Reference Guide

Parameters
filesystem
: Enter one of the following:
To reformat the internal Flash, enter flash:
To reformat the external Flash, enter slot0:
dosFs1.0 Enter the keyword dosFs1.0 to format in DOS 1.0 (the default).
dosFs2.0 Enter the keyword dosFs2.0 to format in DOS 2.0.
Defaults DOS 1.0 (dosFs1.0)
Command Modes EXEC Privilege
Command History
Version 7.5.1.0 Introduced on the C-Series
E-Series Original command
Usage
Information
When you format flash:
The startup-config is erased.
All cacheboot data files are erased and you must reconfigure cacheboot to regain it.
All generated secure shell (SSH) keys are erased and you must recreate them.
All archived configuration files are erased.
All trace logs, crash logs, core dumps, and call-home logs are erased.
In-service Process patches are erased.
After reformatting is complete, three empty directories are automatically created on flash:
CRASH_LOG_DIR, TRACE_LOG_DIR and NVTRACE_LOG_DIR.
NOTE: Version option is available on LC-ED-RPM only. LC-EE3-RPM, LC-EF-RPM, and LC-
EF3-RPM supports DOS 2.0 only.
Related
Commands
show file – displays the contents of a text file in the local filesystem.
show file-systems – displays information about the file systems on the system.
format flash (S-Series)
Erase all existing files and reformat the filesystem in the internal flash memory. After the filesystem is formatted, files
cannot be restored.
S-Series
Syntax
format flash:
Defaults flash memory
Command Modes EXEC Privilege
80