Fortinet black logo

Administration Guide

Importing and exporting FortiSwitch devices

Importing and exporting FortiSwitch devices

To import FortiSwitch devices:
  1. Configure a CSV file with the following fields as column headers, and enter the corresponding information for each FortiSwitch to be imported in the cells below:

    Header

    Cell

    FortiGate

    The name of the FortiGate to which the FortiSwitch will be assigned.
    FortiSwitch Name The FortiSwitches name.
    Serial Number The FortiSwitches serial number
    FortiLink The FortiLink interface used to allow the FortiGate to manage the FortiSwitch.

    Template

    The template to be assigned to the FortiSwitch.

    VDOM

    (Optional) If VDOMs are enabled on the FortiGate, specify the VDOM to which the FortiSwitch will be assigned. If VDOMs are disabled, leave this field blank, and the default root VDOM will be applied automatically.

    For example:

  2. Go to FortiSwitch Manager > Managed FortiSwitches, and select More > Import from CSV from the toolbar.

  3. Browse to the CSV file location, or drag and drop the file into the Upload field. The results are displayed in the import results window.

    • Successfully imported fields are indicated with a checkmark icon.

    • Fields with errors are indicated with an error icon. Hover your mouse over the error icon or the FortiSwitch's check box to view details about the error. Fields can be directly edited from the import results window. FortiSwitches with errors will not be imported if you continue the import process.

  4. Click Next to complete the import.

To export FortiSwitch devices:
  1. Go to FortiSwitch Manager > Managed FortiSwitches.

  2. Select a FortiGate in the table to view its FortiSwitches or select Managed FortiGate (#) to view all FortiSwitch devices.

  3. Open the More menu in the toolbar, and select one of the following options:

    • Export to Excel: The FortiSwitch information for the selected FortiGate(s) is exported to an Excel file

    • Export to CSV: Configure the following information and click OK:

      • File Name: Enter the name of the CSV file.

      • Options: Select Export all columns or Export customized columns only.

      • Export All Devices: In per-device mode only, enable this toggle to include all managed FortiGate's FortiSwitches in the CSV file.

Importing and exporting FortiSwitch devices

To import FortiSwitch devices:
  1. Configure a CSV file with the following fields as column headers, and enter the corresponding information for each FortiSwitch to be imported in the cells below:

    Header

    Cell

    FortiGate

    The name of the FortiGate to which the FortiSwitch will be assigned.
    FortiSwitch Name The FortiSwitches name.
    Serial Number The FortiSwitches serial number
    FortiLink The FortiLink interface used to allow the FortiGate to manage the FortiSwitch.

    Template

    The template to be assigned to the FortiSwitch.

    VDOM

    (Optional) If VDOMs are enabled on the FortiGate, specify the VDOM to which the FortiSwitch will be assigned. If VDOMs are disabled, leave this field blank, and the default root VDOM will be applied automatically.

    For example:

  2. Go to FortiSwitch Manager > Managed FortiSwitches, and select More > Import from CSV from the toolbar.

  3. Browse to the CSV file location, or drag and drop the file into the Upload field. The results are displayed in the import results window.

    • Successfully imported fields are indicated with a checkmark icon.

    • Fields with errors are indicated with an error icon. Hover your mouse over the error icon or the FortiSwitch's check box to view details about the error. Fields can be directly edited from the import results window. FortiSwitches with errors will not be imported if you continue the import process.

  4. Click Next to complete the import.

To export FortiSwitch devices:
  1. Go to FortiSwitch Manager > Managed FortiSwitches.

  2. Select a FortiGate in the table to view its FortiSwitches or select Managed FortiGate (#) to view all FortiSwitch devices.

  3. Open the More menu in the toolbar, and select one of the following options:

    • Export to Excel: The FortiSwitch information for the selected FortiGate(s) is exported to an Excel file

    • Export to CSV: Configure the following information and click OK:

      • File Name: Enter the name of the CSV file.

      • Options: Select Export all columns or Export customized columns only.

      • Export All Devices: In per-device mode only, enable this toggle to include all managed FortiGate's FortiSwitches in the CSV file.