Fortinet white logo
Fortinet white logo

CLI Reference

fwmanager

fwmanager

Use the following commands for fwmanager related settings.

Syntaxcancel

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

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

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

Cancel an upgrade schedule for a device.

  • dev_name: Name of this device.
  • firmware_version: OS firmware version, such as:. 05000, 05002, or 05004.
  • release_type: Official release: MR7-GA-P7, 5.4.1; special release branch point: 00688.
  • build_num: Official release: -1; special release: the build number
  • date_num:Scheduled date and time, in the format: YYYY/MM/DD_hh:mm:ss

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

Cancel an upgrade schedule for a group.

  • dev_name: Name of this device group.
  • firmware_version: OS firmware version, such as:. 05000, 05002, or 05004.
  • release_type: Official release: MR7-GA-P7, 5.4.1; special release branch point: 00688.
  • build_num: Official release: -1; special release: the build number
  • date_num:Scheduled date and time, in the format: YYYY/MM/DD_hh:mm:ss

delete-all

Remove everything in the firmware manager folder (reboot required).

delete-imported-images

Remove all imported images(reboot required).

delete-official-images

Remove all official images(reboot required).

delete-serverlist

Remove the server list (fdni.dat file)(reboot required).

fwm-log

View the firmware manager log file.

getall-schedule

Display all the recorded upgrade schedules.

getdev-schedule <dev_name>

Schedule upgrades for a device.

getgrp-schedule <group_name>

Schedule upgrades for a group.

imported-imagelist

View the imported firmware image list.

official-imagelist <platform>

View the official firmware image list.

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.

  • dev_name: Name of this device.
  • firmware_version: OS firmware version, such as:. 05000, 05002, or 05004.
  • release_type: Official release: MR7-GA-P7, 5.4.1; special release branch point: 00688.
  • build_num: Official release: -1; special release: the build number
  • date_num:Scheduled date and time, in the format: YYYY/MM/DD_hh:mm:ss

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

Create an upgrade schedule for a group.

  • dev_name: Name of this device group.
  • firmware_version: OS firmware version, such as:. 05000, 05002, or 05004.
  • release_type: Official release: MR7-GA-P7, 5.4.1; special release branch point: 00688.
  • build_num: Official release: -1; special release: the build number
  • date_num:Scheduled date and time, in the format: YYYY/MM/DD_hh:mm:ss

fwmanager

fwmanager

Use the following commands for fwmanager related settings.

Syntaxcancel

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

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

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

Cancel an upgrade schedule for a device.

  • dev_name: Name of this device.
  • firmware_version: OS firmware version, such as:. 05000, 05002, or 05004.
  • release_type: Official release: MR7-GA-P7, 5.4.1; special release branch point: 00688.
  • build_num: Official release: -1; special release: the build number
  • date_num:Scheduled date and time, in the format: YYYY/MM/DD_hh:mm:ss

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

Cancel an upgrade schedule for a group.

  • dev_name: Name of this device group.
  • firmware_version: OS firmware version, such as:. 05000, 05002, or 05004.
  • release_type: Official release: MR7-GA-P7, 5.4.1; special release branch point: 00688.
  • build_num: Official release: -1; special release: the build number
  • date_num:Scheduled date and time, in the format: YYYY/MM/DD_hh:mm:ss

delete-all

Remove everything in the firmware manager folder (reboot required).

delete-imported-images

Remove all imported images(reboot required).

delete-official-images

Remove all official images(reboot required).

delete-serverlist

Remove the server list (fdni.dat file)(reboot required).

fwm-log

View the firmware manager log file.

getall-schedule

Display all the recorded upgrade schedules.

getdev-schedule <dev_name>

Schedule upgrades for a device.

getgrp-schedule <group_name>

Schedule upgrades for a group.

imported-imagelist

View the imported firmware image list.

official-imagelist <platform>

View the official firmware image list.

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.

  • dev_name: Name of this device.
  • firmware_version: OS firmware version, such as:. 05000, 05002, or 05004.
  • release_type: Official release: MR7-GA-P7, 5.4.1; special release branch point: 00688.
  • build_num: Official release: -1; special release: the build number
  • date_num:Scheduled date and time, in the format: YYYY/MM/DD_hh:mm:ss

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

Create an upgrade schedule for a group.

  • dev_name: Name of this device group.
  • firmware_version: OS firmware version, such as:. 05000, 05002, or 05004.
  • release_type: Official release: MR7-GA-P7, 5.4.1; special release branch point: 00688.
  • build_num: Official release: -1; special release: the build number
  • date_num:Scheduled date and time, in the format: YYYY/MM/DD_hh:mm:ss