Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

fwmanager

Use these commands to manage firmware.

Syntax

diagnose fwmanager cancel-dev-schedule <device> <taskid>

diagnose fwmanager cancel-grp-schedule <group> <taskid>

diagnose fwmanager delete-all

diagnose fwmanager delete-imported-images

diagnose fwmanager delete-official-images

diagnose fwmanager delete-serverlist

diagnose fwmanager fwm-log [module]

diagnose fwmanager get-all-schedule [filter by status]

diagnose fwmanager get-dev-schedule <device> [filter by status]

diagnose fwmanager get-grp-schedule <group> [filter by status]

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-dev-schedule <device> <release> [build] [flags] [date_time]

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

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

diagnose fwmanager show-dev-upgrade-path <device> <release>

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

Variable

Description

cancel-dev-schedule <device> <taskid>

Cancel an upgrade schedule for a device.

cancel-grp-schedule <group> <taskid>

Cancel an upgrade schedule for a group.

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 [module]

View the firmware manager log file. Optionally, filter based on the module: fwmupd, fwmsg_server, or fwmlinkd.

get-all-schedule [filter by status]

Display all recorded upgrade schedules. Optionally, filter for the schedule (succeeded, failed, or unfinished).

get-dev-schedule <device> [filter by status]

Get scheduled upgrades for the specified device. Optionally, filter for the schedule (succeeded, failed, or unfinished).

get-grp-schedule <group> [filter by status]

Get scheduled upgrades for the specified group name or ID. Optionally, filter for the schedule (succeeded, failed, or unfinished).

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-dev-schedule <device> <release> [build] [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> <release> [build] <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> <release> Show the possible upgrade path
show-grp-disk-check-status <group> Show whether the devices in the group need disk checks

fwmanager

Use these commands to manage firmware.

Syntax

diagnose fwmanager cancel-dev-schedule <device> <taskid>

diagnose fwmanager cancel-grp-schedule <group> <taskid>

diagnose fwmanager delete-all

diagnose fwmanager delete-imported-images

diagnose fwmanager delete-official-images

diagnose fwmanager delete-serverlist

diagnose fwmanager fwm-log [module]

diagnose fwmanager get-all-schedule [filter by status]

diagnose fwmanager get-dev-schedule <device> [filter by status]

diagnose fwmanager get-grp-schedule <group> [filter by status]

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-dev-schedule <device> <release> [build] [flags] [date_time]

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

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

diagnose fwmanager show-dev-upgrade-path <device> <release>

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

Variable

Description

cancel-dev-schedule <device> <taskid>

Cancel an upgrade schedule for a device.

cancel-grp-schedule <group> <taskid>

Cancel an upgrade schedule for a group.

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 [module]

View the firmware manager log file. Optionally, filter based on the module: fwmupd, fwmsg_server, or fwmlinkd.

get-all-schedule [filter by status]

Display all recorded upgrade schedules. Optionally, filter for the schedule (succeeded, failed, or unfinished).

get-dev-schedule <device> [filter by status]

Get scheduled upgrades for the specified device. Optionally, filter for the schedule (succeeded, failed, or unfinished).

get-grp-schedule <group> [filter by status]

Get scheduled upgrades for the specified group name or ID. Optionally, filter for the schedule (succeeded, failed, or unfinished).

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-dev-schedule <device> <release> [build] [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> <release> [build] <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> <release> Show the possible upgrade path
show-grp-disk-check-status <group> Show whether the devices in the group need disk checks