Fortinet black logo

CLI Reference

cdb

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 logdisk-size [new value] [0 | 1] [model-name]

diagnose cdb check update-devinfo sslvpn-flag <devname>

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 logdisk-size [new value] [0 | 1] [model-name]

Update device log disk size.

  • 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

check update-devinfo sslvpn-flag <devname>

Upgrade the device SSL-VPN flag on the specified device.

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 logdisk-size [new value] [0 | 1] [model-name]

diagnose cdb check update-devinfo sslvpn-flag <devname>

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 logdisk-size [new value] [0 | 1] [model-name]

Update device log disk size.

  • 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

check update-devinfo sslvpn-flag <devname>

Upgrade the device SSL-VPN flag on the specified device.

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.