Import and export devices using a CSV file
Device import and export is useful if you have a large number of devices to manage in your Airwall deployment.
A .csv file contains plain text data sets separated by commas with each row
consisting of one or more fields.
Note: Importing devices is not destructive, it is
additive - so devices in the import are added, but none are deleted.
To make the management of your devices easier, download the
Device Import .csv template, export and modify the existing device file, or create the file
yourself. A typical .csv file looks like the following
example:
airwall_id,device_name,overlay_device_ip,overlay_device_ip_nat,mac_address,mac_lockdown
BHI@40130#35C1B68998D9,Local Workstation,192.168.59.101,,08:00:27:05:03:2e,FALSE
BHI@40130#4F6B8FD47B90,Local Workstation 2,192.168.59.102,,08:00:27:67:e6:6e,FALSE
The first line contains field names with each successive line containing data
corresponding to the fields.
- airwall_id
- This is the UID of the Airwall Edge Service you want your devices to use. You can find this information in the
UID field for the Airwall Edge Service in the Conductor. The UID looks like this:
BHI@40130#101E20100067
- device_name
- A friendly name for the device.
- overlay_device_ip
- The IP address of the device.
- overlay_device_ip_nat
- (Optional) If your network topology requires you also use NAT you can enter the internal IP address here.
- mac_address
- (Optional) Enter the MAC address of your device. This field is required if you want to enable MAC lockdown (mac_lockdown=TRUE).
- mac_lockdown
- Enter TRUE if you require static addressing for the device, otherwise enter FALSE.
Import devices using a .csv file
You can import devices into your Conductor using a .csv file.
Note: You cannot import emojis using the .csv file.
- If you want to use the template .csv file, go to Devices and from the Other Actions menu, select Export devices template. Add devices by adding rows to the template, following the column headers detailed above.
- Go to Devices and from the Other Actions menu, select Import devices list.
-
Select Choose File and then open the .csv file
containing your device list.
-
Click Upload and the devices will be listed, grouped by
their associated Airwall Edge Services.
Note: If you receive any errors, correct the .csv file and try to import it again.
- Select Next, review the results, and then select Commit. When it is done, select Finish.
Export devices to a .csv file
Export the devices in the Conductor to a .csv file.
- Go to Devices and from the Other Actions menu, select Export devices list.
- Select Export to confirm.