Fortinet black logo

online help

FortiGate Configuration Import and Backup

FortiGate Configuration Import and Backup

Import configuration to the FortiGate

  1. Click the Import Config button from top-right corner to start the import process.
  2. During the import process, there is an progress bar and import status for each cli category.
  3. After imported, please review the import status for every cli category which can be labeled by either one of these tags: Success, Warning, Error, Ignored, Not installed, and Altered.
  4. For cli objects labeled as "Error", please manually update the CLI commands and then perform selective import by clicking the Import Partial button.
  5. To review or edit the CLI configuration, please use the CLI Viewer to see the difference between source and target FGT configurations.
  6. Use the Difference tab from CLI Viewer to see the differences between source and target configurations.
  7. Use the CLI Tries tab from CLI Viewer to edit the configurations and then re-import to FortiGate. Use the drop down list to switch among VDOMs, double click to edit CLI commands, use "+" or "-" to add or delete new lines.
  8. Use the CLI Notepad tab from CLI Viewer to edit the configurations in text editor mode and then re-import to FortiGate.
  9. Use the label "Altered" to filter out all the CLI objects which had been manually updated after the import.
  10. The "Reviewed" icon represents the CLI object’s review status, simply click the icon to reflect the review status.
  11. For objects labeled with "Warning" or "Ignored", the tool provides a short mouse over message to indicate the reason of the failure.
  12. The following table explains the supported functions from the config import page.

Tags

Success The CLI successfully installed on the device.
Warning There are some commands to be removed or modified in the CLI by the tool not disconnected yet from the device. You can review the item tooltip by moving mouse cursor over the item.
Error The CLI failed to import the device. You may want to edit the CLI or manually input to the device.
Ignored The CLI is not supported to import by RESTAPI feature.
Not installed The CLI is not installed on the device.
Altered The CLI has been altered by the user.
Functionality
Export CLI command Export the CLI commands according to the configuration filtered in search.
Generate import logs Download the logs of import.
Export encrypted password CLI Export the CLIs with the original encrypted password string, such as users, VPN, Wifi. It could be uploaded to the device directly.
Push Import the configuration individually.
CLI Viewer Compare the configuration to the target device or edit CLI and push it.
Sync the device Sync the configuration on the target device.
Usability
Partial select Select items and import partially.
Search by config category Filter configuration by category.
Collapse down/up Collapse or expand the category.
Review check Mark the configuration whether it has been reviewed or not.

Backup configuration from FortiGate

After the import, review and manually adjust, you can choose to get a restorable configuration from the target device and restore it to others.

  1. Click the Backup Config in the top-right corner of the import wizard.
  2. Get the restorable configuration.
  3. Adjust interface settings if needed. (This is to avoid device conflict in the networks.)
  4. Open the Restore system Configuration and upload the configuration.
  5. Click OK.

FortiGate Configuration Import and Backup

Import configuration to the FortiGate

  1. Click the Import Config button from top-right corner to start the import process.
  2. During the import process, there is an progress bar and import status for each cli category.
  3. After imported, please review the import status for every cli category which can be labeled by either one of these tags: Success, Warning, Error, Ignored, Not installed, and Altered.
  4. For cli objects labeled as "Error", please manually update the CLI commands and then perform selective import by clicking the Import Partial button.
  5. To review or edit the CLI configuration, please use the CLI Viewer to see the difference between source and target FGT configurations.
  6. Use the Difference tab from CLI Viewer to see the differences between source and target configurations.
  7. Use the CLI Tries tab from CLI Viewer to edit the configurations and then re-import to FortiGate. Use the drop down list to switch among VDOMs, double click to edit CLI commands, use "+" or "-" to add or delete new lines.
  8. Use the CLI Notepad tab from CLI Viewer to edit the configurations in text editor mode and then re-import to FortiGate.
  9. Use the label "Altered" to filter out all the CLI objects which had been manually updated after the import.
  10. The "Reviewed" icon represents the CLI object’s review status, simply click the icon to reflect the review status.
  11. For objects labeled with "Warning" or "Ignored", the tool provides a short mouse over message to indicate the reason of the failure.
  12. The following table explains the supported functions from the config import page.

Tags

Success The CLI successfully installed on the device.
Warning There are some commands to be removed or modified in the CLI by the tool not disconnected yet from the device. You can review the item tooltip by moving mouse cursor over the item.
Error The CLI failed to import the device. You may want to edit the CLI or manually input to the device.
Ignored The CLI is not supported to import by RESTAPI feature.
Not installed The CLI is not installed on the device.
Altered The CLI has been altered by the user.
Functionality
Export CLI command Export the CLI commands according to the configuration filtered in search.
Generate import logs Download the logs of import.
Export encrypted password CLI Export the CLIs with the original encrypted password string, such as users, VPN, Wifi. It could be uploaded to the device directly.
Push Import the configuration individually.
CLI Viewer Compare the configuration to the target device or edit CLI and push it.
Sync the device Sync the configuration on the target device.
Usability
Partial select Select items and import partially.
Search by config category Filter configuration by category.
Collapse down/up Collapse or expand the category.
Review check Mark the configuration whether it has been reviewed or not.

Backup configuration from FortiGate

After the import, review and manually adjust, you can choose to get a restorable configuration from the target device and restore it to others.

  1. Click the Backup Config in the top-right corner of the import wizard.
  2. Get the restorable configuration.
  3. Adjust interface settings if needed. (This is to avoid device conflict in the networks.)
  4. Open the Restore system Configuration and upload the configuration.
  5. Click OK.