Fortinet white logo
Fortinet white logo

Administration Guide

Example: Adding an offline device by pre-shared key

Example: Adding an offline device by pre-shared key

This section describes how to add a FortiGate model by using the pre-shared key for FortiGate for zero-touch provisioning (ZTP). You must perform some steps using FortiManager and some steps using FortiOS.

To add a model device by pre-shared key:
  1. If ADOMs are enabled, select the ADOM to which you want to add the device.
  2. Go to Device Manager > Device & Groups.
  3. Click Add Device. The Add Device wizard displays.
  4. Click Add Model Device and type a name for the model device.
  5. Beside Link Device By, select Pre-shared Key, and type the pre-shared key from FortiGate.
  6. Set the remaining options, and click Next. The device is created in the FortiManager database.
  7. Click Finish to exit the wizard.

    After the device model is added to FortiManager, you can use FortiManager to configure the model device.

  8. In FortiOS, configure the FortiManager IP address or FQDN in device central management by using the following command:

    config system central-management

    set type fortimanager

    set fmg {<ip address> | <FQDN>}

    end

  9. In FortiOS, use the following command to link the model device to the real device, and to install configurations to the real device:

    exe central-mgmt register-device <fmg-serial-number> <pre-shared key>

    After the command is executed, FortiManager automatically links the model device to the real device, and installs configurations to the device.

Example: Adding an offline device by pre-shared key

Example: Adding an offline device by pre-shared key

This section describes how to add a FortiGate model by using the pre-shared key for FortiGate for zero-touch provisioning (ZTP). You must perform some steps using FortiManager and some steps using FortiOS.

To add a model device by pre-shared key:
  1. If ADOMs are enabled, select the ADOM to which you want to add the device.
  2. Go to Device Manager > Device & Groups.
  3. Click Add Device. The Add Device wizard displays.
  4. Click Add Model Device and type a name for the model device.
  5. Beside Link Device By, select Pre-shared Key, and type the pre-shared key from FortiGate.
  6. Set the remaining options, and click Next. The device is created in the FortiManager database.
  7. Click Finish to exit the wizard.

    After the device model is added to FortiManager, you can use FortiManager to configure the model device.

  8. In FortiOS, configure the FortiManager IP address or FQDN in device central management by using the following command:

    config system central-management

    set type fortimanager

    set fmg {<ip address> | <FQDN>}

    end

  9. In FortiOS, use the following command to link the model device to the real device, and to install configurations to the real device:

    exe central-mgmt register-device <fmg-serial-number> <pre-shared key>

    After the command is executed, FortiManager automatically links the model device to the real device, and installs configurations to the device.