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:


Table of Contents

CLI Reference

cdb

Use this command to check the object configuration database integrity, the global policy assignment table, and repair configuration database.

Syntax

diagnose cdb check adom-revision [adom] [preview]

diagnose cdb check db-schema-version {get | reset | upgrade} [version]

diagnose cdb check update-devinfo <item> [new value] [0 | 1] [model-name]

diagnose cdb upgrade check <action>

diagnose cdb upgrade force-retry <action>

diagnose cdb upgrade log

diagnose cdb upgrade pending-list

diagnose cdb upgrade summary

Variable

Description

check adom-revision [adom] [preview]

Check or remove invalid ADOM revision database. Optionally, preview the check before running it.

check db-schema-version {get | reset | upgrade} [version]

Get, reset, or upgrade the database schema version.

check update-devinfo <item> [new value] [0 | 1] [model-name]

Update device information by directly changing the database.

  • item: Device information item
  • new value: Item new value. Default sump summary only.
  • 0 | 1: update only empty values (default), or always update (1)
  • model-name: Only update on model name. Default: all models
upgrade check <action>

Perform a check to see if upgrade and repair is necessary.

  • resync-dev-vdoms - Resync and add any missing vdoms from device database to DVM database

upgrade force-retry <action>

Re-run an upgrade that was already performed in previous release.

upgrade log

Display the configuration database upgrade log.

upgrade pending-list

Display the list of upgrades scheduled for the next reboot.

upgrade summary

Display the firmware upgrade summary.

cdb

Use this command to check the object configuration database integrity, the global policy assignment table, and repair configuration database.

Syntax

diagnose cdb check adom-revision [adom] [preview]

diagnose cdb check db-schema-version {get | reset | upgrade} [version]

diagnose cdb check update-devinfo <item> [new value] [0 | 1] [model-name]

diagnose cdb upgrade check <action>

diagnose cdb upgrade force-retry <action>

diagnose cdb upgrade log

diagnose cdb upgrade pending-list

diagnose cdb upgrade summary

Variable

Description

check adom-revision [adom] [preview]

Check or remove invalid ADOM revision database. Optionally, preview the check before running it.

check db-schema-version {get | reset | upgrade} [version]

Get, reset, or upgrade the database schema version.

check update-devinfo <item> [new value] [0 | 1] [model-name]

Update device information by directly changing the database.

  • item: Device information item
  • new value: Item new value. Default sump summary only.
  • 0 | 1: update only empty values (default), or always update (1)
  • model-name: Only update on model name. Default: all models
upgrade check <action>

Perform a check to see if upgrade and repair is necessary.

  • resync-dev-vdoms - Resync and add any missing vdoms from device database to DVM database

upgrade force-retry <action>

Re-run an upgrade that was already performed in previous release.

upgrade log

Display the configuration database upgrade log.

upgrade pending-list

Display the list of upgrades scheduled for the next reboot.

upgrade summary

Display the firmware upgrade summary.