Fortinet white logo
Fortinet white logo

CLI Reference

erase-disk

erase-disk

Use this command to erase the hard disk or flash memory.

This command requires a console connection to the appliance and is available only when Federal Information Processing Standards (FIPS) and Common Criteria (CC) compliant mode is enabled. For details, see system fips-cc.

Syntax

execute erase-disk { flash | disk } [<erase-times> ]


Variable Description Default

{ flash | disk }

Specify whether to erase the flash memory or the hard disk. No default.

<erase-times>

Enter the number of times to overwrite the specified memory with random data.

The valid range is 1–35.

1

erase-disk

erase-disk

Use this command to erase the hard disk or flash memory.

This command requires a console connection to the appliance and is available only when Federal Information Processing Standards (FIPS) and Common Criteria (CC) compliant mode is enabled. For details, see system fips-cc.

Syntax

execute erase-disk { flash | disk } [<erase-times> ]


Variable Description Default

{ flash | disk }

Specify whether to erase the flash memory or the hard disk. No default.

<erase-times>

Enter the number of times to overwrite the specified memory with random data.

The valid range is 1–35.

1