Export and Import Auto Defense Rules

The auto defense rules configured on Yeastar P-Series Software Edition can be exported and saved as a template. You can fill in desired auto defense rules in the exported file, and import the file to PBX again. This topic describes how to export and import auto defense rules.

Export auto defense rules

You can export all auto defense rules to a CSV file, and then make additions, removals, and changes to the file.

  1. Log in to PBX web portal, go to Security > Security Rules > Auto Defense.
  2. Click Export.

    A CSV file is saved to your computer. To check and edit parameters in the CSV file, see Auto Defense Rule Parameters.

Import auto defense rules

We recommend that you export auto defense rules to a CSV file first, and use the file as a template to start with. In this way, you can save time and effort.
Prerequisites
Requirements of an imported file:
  • Format: UTF-8.CSV
  • Size: Less than 50 MB
  • File name: Less than 127 characters
  • Import parameters: Ensure that the import parameters meet requirements. For more information , see Auto Defense Rule Parameters.
Procedure
  1. Log in to PBX web portal, go to Security > Security Rules > Auto Defense.
  2. Click Import.
  3. In the pop-up window, click Browse, and select your CSV file.
  4. Click Import.

    The auto defense rules in the CSV file will be displayed in the Auto Defense list.