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:


Table of Contents

CLI Reference

fwmanager

Use the following commands for fwmanager related settings.

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 <string> <firmware_version> <release_type> <build_num> <date_num>

diagnose fwmanager set-grpsched <string> <firmware_version> <release_type> <build_num> <date_num>

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 <dev_name>

Get scheduled upgrades for the device.

getgrp-schedule <group_name>

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_num>

Create an upgrade schedule for a device.

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

Create an upgrade schedule for a group.

fwmanager

Use the following commands for fwmanager related settings.

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 <string> <firmware_version> <release_type> <build_num> <date_num>

diagnose fwmanager set-grpsched <string> <firmware_version> <release_type> <build_num> <date_num>

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 <dev_name>

Get scheduled upgrades for the device.

getgrp-schedule <group_name>

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_num>

Create an upgrade schedule for a device.

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

Create an upgrade schedule for a group.