Obtain the template file.
In the Users and Devices panel on the left of the Workspace tab page, double-click Devices

Click the Local Domain tab.
Select the domain or cluster to which cameras are to be connected, and choose Add Device > In Batches.

In the dialog box that is displayed, click Export

Open the Batch Add Templates.xlsm file. Fill in the template by following the sequence.

Enter the device name in the Device Name column.
Select camera models in the Model column. If you do not know the camera model or cannot find the camera model in the template, you can select a camera protocol.
Enter camera IP addresses in the Device IP column.
Enter the IP address of the VCN to which cameras are to be connected in the NVR Server IP column.Enter the registration user name and password.
Set Register based on the driver type. Select 2 when the driver type is ONVIF, HWSDK (passive registration), or DHSDK. Select 1 when the driver type is T28181 or HWSDK (active registration).
Optional: To connect to a GB/T 28181-compliant camera or HWSDK-compliant (active registration) camera, you do not need to manually enter a device code since it will be automatically generated in the Device Code column. If a device code has been planned, you can manually enter the device code in the Device Code column. Before entering the device code, delete the formula in the table and enter a single quotation mark (').
Optional: Select values in the Intelligent Attribute column based on the camera type. For a common camera, set this parameter to 0 or leave it empty.
Click Export as CSV.
The DeviceImport.csv file is generated.
Select the domain or server to which cameras are to be connected, and choose Add Device > In Batches

On the page that is displayed, click Browse and select the DeviceImport.csv template.
Click OK to import the DeviceImport.csv file.
After the file is imported, the message "Cameras that fail to be verified: 0" shown in Figure 6 is displayed, indicating that all data in the CSV file is correct.
Figure 6 Bulk camera addition result
Click Add and OK to finish adding the cameras.




