Help Center> Virtual Private Cloud> User Guide> IP Address Group> Managing IP Addresses in an IP Address Group> Importing IP Addresses to an IP Address Group in Batches
Updated on 2024-04-22 GMT+08:00

Importing IP Addresses to an IP Address Group in Batches

Scenarios

You can enter IP addresses, IP address ranges, and their descriptions in an Excel file and import the file to an IP address group. This allows you to quickly add multiple IP addresses.

Notes and Constraints

  • The number of IP addresses that can be imported is limited. You can check the limited quota on the console.
  • Duplicate IP addresses will not be imported, for example:
    • Both the IP address ranges and their descriptions are the same.
    • The IP address ranges are the same but their descriptions are different.

Procedure

  1. Log in to the management console.
  1. Click in the upper left corner and select the desired region and project.
  2. Click in the upper left corner and choose Networking > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

  3. In the navigation pane on the left, choose IP Address Groups.

    The IP address group list is displayed.

  4. In the IP address group list, click the hyperlink of the IP address group name.

    The basic information page of the IP address group is displayed.

  5. In the upper left corner of the IP address list, click Import.

    The Batch Import IP Addresses dialog box is displayed.

  6. Click Download Template to download the Excel template.
  7. In the Excel file, enter IP addresses, IP address ranges, and their descriptions, and save the file.
    For details about parameter in the Excel file, see Table 1.
    Table 1 Parameters for importing IP addresses

    Parameter

    Description

    Example Value

    IP Addresses

    Mandatory

    In the IP Addresses column, enter an IP address range or a single IP address on a separate line. You can enter:
    • An IPv4 address range, for example, 192.168.0.0/16
    • A single IPv4 address, for example, 192.168.10.10
    • An IPv6 address range, for example, 2001:db8:a583:6e::/64
    • A single IPv6 address, for example, 2001:db8:a583:6e::5c

    192.168.0.0/16

    Description

    Optional

    In the Description column, enter the description of the IP address or IP address range. Description can contain 0 to 255 characters, and cannot contain angle brackets (<>).

    ECS01

  8. In the Batch Import IP Addresses dialog box, click Select File, select the Excel file, and click Import.

    After the import is complete, you can view the newly imported IP addresses, IP address ranges, and their descriptions.