This section describes how to create security groups in batches by importing security groups from a CSV file to a FW.
Have available a CSV file. A CSV file can be obtained in either of the following ways:
Exporting security groups information on a FW into a CSV file. For details on how to export a CSV file, see Follow-up Procedure in Creating Security Groups.
Log in to the Web UI of the device, choose to download a CSV template. Read the instructions on the CSV template and fill in security groups information. Figure 1 shows a CSV file.
The CSV file can contain Chinese characters, English letters, digits, and special characters.
A security group name cannot contain any commas (,), quotation marks ("), question marks (?), slashes (/), or at sign (@).
The names of a security group and its parent group in a non-default authentication domain must contain @authentication-domain-name. For example, test@domain1 indicates security group test in the domain1 authentication domain.
The following rules apply when you import security groups in batches:
user-manage security-group-import csv-file [ override ]
If a parent security group of a security group specified in the CSV file does not exist on a FW, the FW automatically creates the parent security group during the import.
If a security group already exists on a FW and the override parameter is specified, the FW updates security group attributes to those specified in the CSV file.