Fortinet white logo
Fortinet white logo

CLI Reference

cdb

cdb

Use the following commands for configuration database related settings.

cdb check

Use this command to check and repair configuration database.

Syntax

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

diagnose cdb check internet-service-name [adom]

diagnose cdb check update-devinfo logdisk-size [new value] [0 | 1] [model-name]

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

Variable

Description

adom-revision [adom] [preview]

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

internet-service-name [adom]

Check mis-matched internet service name. Optinally, specify the ADOM.

update-devinfo logdisk-size [new value] [0 | 1] [model-name]

Update device log disk size.

  • new value: Item new value.
  • 0 | 1: update only empty values (default), or always update (1).
  • model-name: Only update on model name (default: all models).

update-devinfo sslvpn-flag <devname>

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

cdb manual-fix

Use this command to manually repair the configuration database.

Syntax

diagnose cdb manual-fix adom <adom> <repair action>

Variable

Description

adom <adom> <repair action>

Manually repair adom configuration database. Enter the ADOM name.

cdb upgrade

Use this command to upgrade and repair configuration database.

Syntax

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

force-retry <action>

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

log

Display the configuration database upgrade log.

pending-list

Display the list of upgrades scheduled for the next reboot.

summary

Display the firmware upgrade summary.

cdb

cdb

Use the following commands for configuration database related settings.

cdb check

Use this command to check and repair configuration database.

Syntax

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

diagnose cdb check internet-service-name [adom]

diagnose cdb check update-devinfo logdisk-size [new value] [0 | 1] [model-name]

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

Variable

Description

adom-revision [adom] [preview]

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

internet-service-name [adom]

Check mis-matched internet service name. Optinally, specify the ADOM.

update-devinfo logdisk-size [new value] [0 | 1] [model-name]

Update device log disk size.

  • new value: Item new value.
  • 0 | 1: update only empty values (default), or always update (1).
  • model-name: Only update on model name (default: all models).

update-devinfo sslvpn-flag <devname>

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

cdb manual-fix

Use this command to manually repair the configuration database.

Syntax

diagnose cdb manual-fix adom <adom> <repair action>

Variable

Description

adom <adom> <repair action>

Manually repair adom configuration database. Enter the ADOM name.

cdb upgrade

Use this command to upgrade and repair configuration database.

Syntax

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

force-retry <action>

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

log

Display the configuration database upgrade log.

pending-list

Display the list of upgrades scheduled for the next reboot.

summary

Display the firmware upgrade summary.