Fortinet white logo
Fortinet white logo

CLI Reference

fwmanager

fwmanager

Use these commands to manage firmware.

Syntax

diagnose fwmanager fwm-log

diagnose fwmanager image-delete <file>

diagnose fwmanager image-download <platform> <version>

diagnose fwmanager image-list <product>

diagnose fwmanager service-restart

diagnose fwmanager set-controller-schedule <device> <controller_id> <version> [flags] [date_time]

diagnose fwmanager set-dev-schedule <device> <version> [flags] [date_time]

diagnose fwmanager set-grp-schedule <group> <version> [flags] [date_time]

diagnose fwmanager show-dev-disk-check-status <device>

diagnose fwmanager show-dev-upgrade-path <device> <version> [debug]

diagnose fwmanager show-grp-disk-check-status <group>

diagnose fwmanager test-upgrade-path <platform> <from-version> <to-version> [debug]

Variable

Description

fwm-log

View the firmware manager log file.

image-delete <file>

Delete a local image.

image-download <platform> <version>

Download the official image. Enter the platform name and version.

image-list <product>

Get the local firmware image list for the product:

  • FGT: FortiGate

  • FMG: FortiManager

  • FAZ: FortiAnalyzer

  • FAP: FortiAP

  • FSW: FortiSwitch

  • FXT: FortiExtender

service-restart

Restart the firmware manager server.

set-controller-schedule <device> <controller_id> <version> [flags] [date_time]

Create a controller upgrade schedule for a device.

set-dev-schedule <device> <version> [flags] [date_time]

Create an upgrade schedule for a device. The build number is only needed for special images, use 0 for regular images.

set-grp-schedule <group> <version> <flags> <date_time>

Create an upgrade schedule for a group.

show-dev-disk-check-status <device>

Show whether the device needs a disk check

show-dev-upgrade-path <device> <version> [debug] Show the possible upgrade path
show-grp-disk-check-status <group> Show whether the devices in the group need disk checks

test-upgrade-path <platform> <from-version> <to-version> [debug]

Show possible FortiGate upgrade paths.

fwmanager

fwmanager

Use these commands to manage firmware.

Syntax

diagnose fwmanager fwm-log

diagnose fwmanager image-delete <file>

diagnose fwmanager image-download <platform> <version>

diagnose fwmanager image-list <product>

diagnose fwmanager service-restart

diagnose fwmanager set-controller-schedule <device> <controller_id> <version> [flags] [date_time]

diagnose fwmanager set-dev-schedule <device> <version> [flags] [date_time]

diagnose fwmanager set-grp-schedule <group> <version> [flags] [date_time]

diagnose fwmanager show-dev-disk-check-status <device>

diagnose fwmanager show-dev-upgrade-path <device> <version> [debug]

diagnose fwmanager show-grp-disk-check-status <group>

diagnose fwmanager test-upgrade-path <platform> <from-version> <to-version> [debug]

Variable

Description

fwm-log

View the firmware manager log file.

image-delete <file>

Delete a local image.

image-download <platform> <version>

Download the official image. Enter the platform name and version.

image-list <product>

Get the local firmware image list for the product:

  • FGT: FortiGate

  • FMG: FortiManager

  • FAZ: FortiAnalyzer

  • FAP: FortiAP

  • FSW: FortiSwitch

  • FXT: FortiExtender

service-restart

Restart the firmware manager server.

set-controller-schedule <device> <controller_id> <version> [flags] [date_time]

Create a controller upgrade schedule for a device.

set-dev-schedule <device> <version> [flags] [date_time]

Create an upgrade schedule for a device. The build number is only needed for special images, use 0 for regular images.

set-grp-schedule <group> <version> <flags> <date_time>

Create an upgrade schedule for a group.

show-dev-disk-check-status <device>

Show whether the device needs a disk check

show-dev-upgrade-path <device> <version> [debug] Show the possible upgrade path
show-grp-disk-check-status <group> Show whether the devices in the group need disk checks

test-upgrade-path <platform> <from-version> <to-version> [debug]

Show possible FortiGate upgrade paths.