format flash (Z9000)
Erase all existing files and reformat the file system in the internal flash memory or the USB drive. After the file system is
formatted, files cannot be restored.
Z-Series
Syntax
format [flash: | slot0: | usbflash: ]
Parameters
flash: | slot0: |
usbflash:
• flash: Reformat the file system in the internal flash
memory.
• slot0: Reformat the file system in the external flash
memory; for example, SSD.
• usbflash: Reformat the file system in the usbflash.
Defaults flash memory
Command Modes EXEC Privilege
Command History
Version 8.3.11.1 Introduced on the Z9000.
Usage
Information
You must include the colon (:) when entering this command.
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).
fsck flash (S-Series and Z-Series)
Checks the flash file system for errors.
S4810, S4820T, Z-Series
Syntax
fsck flash:
fsck usbflash:
Defaults none
Command Modes EXEC Privilege
Command History
Version 9.1(0.0) Introduced on S4810 and Z9000.
Version 8.3.19.0 Introduced on S4820T.
72