• 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
Command History
Version 7.8.1.0 Introduced on the S-Series
Usage
Information
You must include the colon (:) when entering this command.
After reformatting is complete, three empty directories are automatically created on flash:
CRASH_LOG_DIR, TRACE_LOG_DIR and NVTRACE_LOG_DIR.
CAUTION: This command deletes all files, including the startup configuration file. So, after
executing this command, consider saving the running config as the startup config (use the
write memory command or copy run start command).
Related
Commands
copy – copies the current configuration to either the startup-configuration file or the terminal.
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.
71