Created on 11-30-2023 09:33 PM Edited on 10-26-2024 06:56 AM By Stephen_G
This article describes how to use a script to make FortiGate(s) upload its configuration to FortiManager. The script can be run for multiple FortiGates at the same time to achieve bulk retrieval.
Bulk retrieves for all FortiGates might only be needed if there is a major disconnection of all FortiGates from FortiMangaer and changes are made locally to firewalls that need to be synced back to FortiManager.
Warning:
Depending on the number of FortiGates, this process might cause high bandwidth consumption and performance issues.
After retrieving the configuration, the policy package will change status to unknown.
To avoid performance issues, it is recommended to run the script simultaneously for a maximum of 200 devices.
FortiManager.
diagnose fdsm cfg-upload 'comment' <----- Any comment can be set, it will be used to identify the retrieve in the revision history.
Note:
For FortiGates with VDOMs enabled, the script should be modified to this:
config global
diagnose fdsm cfg-upload 'comment'
Note 1:
Script Status/logs can also be checked from: System Settings -> Task Monitor:
Note 2:
Bulk retrieval can also be done by selecting the notification icon on the top, but it only works if the devices are either in a 'conflict' or 'out-of-sync' state.
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.