Fortinet white logo
Fortinet white logo

CLI Reference

fwmanager

fwmanager

Use this command to manage firmware.

Syntax

diagnose fwmanager cancel-devsched <dev_name> <firmware_version> <release_type> <build_num> <date_time>

diagnose fwmanager cancel-grpsched <group_name> <firmware_version> <release_type> <build_num> <date_time>

diagnose fwmanager delete-all

diagnose fwmanager delete-imported-images

diagnose fwmanager delete-official-images

diagnose fwmanager delete-serverlist

diagnose fwmanager fwm-log

diagnose fwmanager getall-schedule

diagnose fwmanager getdev-schedule <string>

diagnose fwmanager getgrp-schedule <string>

diagnose fwmanager imported-imagelist

diagnose fwmanager official-imagelist <platform>

diagnose fwmanager reset-schedule-database

diagnose fwmanager serverlist [raw]

diagnose fwmanager service-restart

diagnose fwmanager set-devsched <dev_name> <firmware_version> <release_type> <build_num> <date_time>

diagnose fwmanager set-grpsched <group_name> <firmware_version> <release_type> <build_num> <date_time>

Variable

Description

cancel-devsched <dev_name> <firmware_version> <release_type> <build_num> <date_time>

Cancel an upgrade schedule for a device. For special branches, the release type is the branch point. The build number for official releases is always -1, for special releases it is the build number.

The date and time format is: YYYY/MM/DD_hh:mm:ss

cancel-grpsched <group_name> <firmware_version> <release_type> <build_num> <date_time>

Cancel an upgrade schedule for a group. For special branches, the release type is the branch point. The build number for official releases is always -1, for special releases it is the build number.

The date and time format is: YYYY/MM/DD_hh:mm:ss

delete-all

Remove everything in the firmware manager folder. This command requires a reboot.

delete-imported-images

Remove all imported images. This command requires a reboot.

delete-official-images

Remove all official images. This command requires a reboot.

delete-serverlist

Remove the server list file (fdni.dat). This command requires a reboot.

fwm-log

View the firmware manager log file.

getall-schedule

Display all upgrade schedules recorded.

getdev-schedule <string>

Get scheduled upgrades for the device.

getgrp-schedule <string>

Get scheduled upgrades for this group.

imported-imagelist

Get the imported firmware image list

official-imagelist <platform>

Get the official firmware image list for the platform.

reset-schedule-database

Cleanup and initialize the schedule database and restart the server.

serverlist [raw]

Dump the server list, optionally in raw format.

service-restart

Restart the firmware manager server.

set-devsched <dev_name> <firmware_version> <release_type> <build_num> <date_time>

Create an upgrade schedule for a device.

set-grpsched <group_name> <firmware_version> <release_type> <build_num> <date_time>

Create an upgrade schedule for a group.

fwmanager

fwmanager

Use this command to manage firmware.

Syntax

diagnose fwmanager cancel-devsched <dev_name> <firmware_version> <release_type> <build_num> <date_time>

diagnose fwmanager cancel-grpsched <group_name> <firmware_version> <release_type> <build_num> <date_time>

diagnose fwmanager delete-all

diagnose fwmanager delete-imported-images

diagnose fwmanager delete-official-images

diagnose fwmanager delete-serverlist

diagnose fwmanager fwm-log

diagnose fwmanager getall-schedule

diagnose fwmanager getdev-schedule <string>

diagnose fwmanager getgrp-schedule <string>

diagnose fwmanager imported-imagelist

diagnose fwmanager official-imagelist <platform>

diagnose fwmanager reset-schedule-database

diagnose fwmanager serverlist [raw]

diagnose fwmanager service-restart

diagnose fwmanager set-devsched <dev_name> <firmware_version> <release_type> <build_num> <date_time>

diagnose fwmanager set-grpsched <group_name> <firmware_version> <release_type> <build_num> <date_time>

Variable

Description

cancel-devsched <dev_name> <firmware_version> <release_type> <build_num> <date_time>

Cancel an upgrade schedule for a device. For special branches, the release type is the branch point. The build number for official releases is always -1, for special releases it is the build number.

The date and time format is: YYYY/MM/DD_hh:mm:ss

cancel-grpsched <group_name> <firmware_version> <release_type> <build_num> <date_time>

Cancel an upgrade schedule for a group. For special branches, the release type is the branch point. The build number for official releases is always -1, for special releases it is the build number.

The date and time format is: YYYY/MM/DD_hh:mm:ss

delete-all

Remove everything in the firmware manager folder. This command requires a reboot.

delete-imported-images

Remove all imported images. This command requires a reboot.

delete-official-images

Remove all official images. This command requires a reboot.

delete-serverlist

Remove the server list file (fdni.dat). This command requires a reboot.

fwm-log

View the firmware manager log file.

getall-schedule

Display all upgrade schedules recorded.

getdev-schedule <string>

Get scheduled upgrades for the device.

getgrp-schedule <string>

Get scheduled upgrades for this group.

imported-imagelist

Get the imported firmware image list

official-imagelist <platform>

Get the official firmware image list for the platform.

reset-schedule-database

Cleanup and initialize the schedule database and restart the server.

serverlist [raw]

Dump the server list, optionally in raw format.

service-restart

Restart the firmware manager server.

set-devsched <dev_name> <firmware_version> <release_type> <build_num> <date_time>

Create an upgrade schedule for a device.

set-grpsched <group_name> <firmware_version> <release_type> <build_num> <date_time>

Create an upgrade schedule for a group.