The following steps describe how to add a new, offline device by using the Add Device wizard and Add Model Device mode for zero-touch provisioning (ZTP).
To confirm that a device model or firmware version is supported by the FortiManager's current firmware version, run the following CLI command:
diagnose dvm supported-platforms list
The Add Model Device mode is intended for new FortiGate deployments, where no pre-existing configuration on the FortiGate must be preserved. The configuration associated with the model device overwrites the configuration of the FortiGate as part of the ZTP process, after FortiManager authorizes the FortiGate.
When adding devices to product-specific ADOMs, you can only add that product type to the ADOM. When selecting to add a non-FortiGate device to the root ADOM, the device will automatically be added to the product specific ADOM.
- If ADOMs are enabled, select the ADOM to which you want to add the device.
- Go to Device Manager > Device & Groups.
- Click Add Device. The Add Device wizard displays.
- Click Add Model Device and enter the following information:
Add Model Device
Device will be added using the chosen model type and other explicitly entered information.
Type a descriptive name for the device. This name is displayed in the Device Name column. Each device must have a unique name, otherwise the wizard will fail.
Link Device By
The method by which the device will be added, either Serial Number or Pre-Shared Key.
The serial number should be used if it is known. A pre-shared key can be used if the serial number is not known when the model device is added.
If using a pre-shared key, the following CLI command needs to be issued from the FortiGate device when it is installed in the field:
execute central-mgmt register-device <fmg-serial-number> <preshared-key>
Serial Number or Pre-Shared Key
Type the device serial number or pre-shared key. This field is mandatory.
If using a pre-shared key, each device must have a unique pre-shared key. You can change the pre-shared key after adding the model device. See Editing device information.
Select the device model from the list. If linking by serial number, the serial number must be entered before selecting a device model.
Enforce Firmware Version
Select the check box to enforce the firmware version. The Firmware Version shows the firmware that will be upgraded or downgraded on the device.
Assign Policy Package
Select the check box and select a policy package from the drop-down to assign a particular policy package to the device.
Assign Device Provisioning Profile
Select the check box and select a device provisioning profile from the drop-down to assign a particular provisioning profile to the device.
Click Device Group and select a group to assign the device to the group.
- Click Next. The device is created in the FortiManager database.
- Click Finish to exit the wizard.
A device added using the Add Model Device option has similar dashboard options as a device added using the Discover option. As the device is not yet online, some options are not available.
When adding a model device that has been configured with an admin password, you must import the device's existing configuration or set the password in FortiManager before pushing new configuration changes to it for the first time. If the password is not imported or configured in FortiManager, when auto-push occurs, the installation will fail because the admin password in FortiGate devices cannot be unset without knowning the existing password.
A configuration file must be associated with the model device to enable FortiManager to automatically install the configuration to the matching device when the device connects to FortiManager and is authorized. FortiManager does not retrieve a configuration file from a real device that matches a model device.
Use the Import Revision function to associate a configuration file with the model device. See Managing configuration revision history.