CLI import tool
If you need to add a set of devices to your FortiNAC database, those devices can be imported from a .csv file using a CLI device import tool. When importing a device, the import tool first checks the database to see if a device with the same IP already exists. If the device exists, then it is removed from the database before the new device is created.
For an SNMP device, the device discovery process determines the device class based on the SNMP MIBs supported by the device. For other device types, the class is based on the import type entered on the CLI command line. You must create a separate .csv file for each device type. For example, if you are importing printers and hubs, the list of printers must be contained within one .csv file and the list of hubs must be contained within another .csv file.
The latest device import tool is located in the
/bsc/campusMgr/bin directory on the FortiNAC Server.
Device types that can be imported include:
- IP phone
iOS and Android devices cannot be imported with this tool. Use the import options on the Host View instead. See Import hosts, users or devices.