Reference Guide
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.
S4820T
Syntax
format flash:
Defaults flash memory
Command Modes EXEC Privilege
Command History
This guide is platform-specific. For command information about other platforms, refer to the
relevant
FTOS Command Line Reference Guide
.
The following is a list of the FTOS version history for this command.
Version 8.3.19.0 Introduced on the S4820T.
Version 8.3.7.0 Introduced on the S4810.
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.
fsck flash
Checks the flash file system for errors.
S4820T
Syntax
fsck flash:
fsck usbflash:
Defaults none
Command Modes EXEC Privilege
Command History
This guide is platform-specific. For command information about other platforms, refer to the
relevant
FTOS Command Line Reference Guide
.
63










