Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

system flash

Use this command to change the currently active firmware partition or to display partition information stored on the flash drive.

FortiWeb appliances have 2 partitions that each contain a firmware image: one is the primary and one is the backup. If the FortiWeb appliance is unable to successfully boot using the primary firmware partition, it may boot using the alternative firmware partition. The second partition can contain another version of the firmware.

To use this command, your administrator account’s access control profile must have either w or rw permission to the mntgrp area. For details, see Permissions.

Syntax

diagnose system flash default <partition_int>

diagnose system flash list

Variable Description Default

<partition_int>

Enter the number of the partition that will be used as the primary firmware partition during the next reboot or startup. The other partition will become the backup firmware partition. No default.

Example

This example lists the partition settings.

diagnose system flash list

Below is a sample output.

Image# Version TotalSize(KB) Used(KB) Use% Active

1 FV-1KB-4.30-FW-build0521-110120 38733 33125 86% No

2 FV-1KB-4.30-FW-build0522-110112 38733 33125 86% Yes

3 836612 16980 2 % No

Related topics

system flash

Use this command to change the currently active firmware partition or to display partition information stored on the flash drive.

FortiWeb appliances have 2 partitions that each contain a firmware image: one is the primary and one is the backup. If the FortiWeb appliance is unable to successfully boot using the primary firmware partition, it may boot using the alternative firmware partition. The second partition can contain another version of the firmware.

To use this command, your administrator account’s access control profile must have either w or rw permission to the mntgrp area. For details, see Permissions.

Syntax

diagnose system flash default <partition_int>

diagnose system flash list

Variable Description Default

<partition_int>

Enter the number of the partition that will be used as the primary firmware partition during the next reboot or startup. The other partition will become the backup firmware partition. No default.

Example

This example lists the partition settings.

diagnose system flash list

Below is a sample output.

Image# Version TotalSize(KB) Used(KB) Use% Active

1 FV-1KB-4.30-FW-build0521-110120 38733 33125 86% No

2 FV-1KB-4.30-FW-build0522-110112 38733 33125 86% Yes

3 836612 16980 2 % No

Related topics