Fortinet black logo

CLI Reference

erasedisk

erasedisk

Overwrite the flash (boot device) with random data a specified number of times. When you run this command, you will be prompted to confirm the request.

caution icon

Executing this command will overwrite all information on the FortiManager system’s flash drive. The FortiManager system will no longer be able to boot up.

Syntax

execute erase-disk flash <erase-times>

Variable

Description

<erase-times>

Number of times to overwrite the flash with random data (1 - 35, default = 1).

erasedisk

Overwrite the flash (boot device) with random data a specified number of times. When you run this command, you will be prompted to confirm the request.

caution icon

Executing this command will overwrite all information on the FortiManager system’s flash drive. The FortiManager system will no longer be able to boot up.

Syntax

execute erase-disk flash <erase-times>

Variable

Description

<erase-times>

Number of times to overwrite the flash with random data (1 - 35, default = 1).