Help Center/ Virtual Private Cloud/ User Guide (Paris Regions) / VPC and Subnet/ VPC/ Deleting a Secondary IPv4 CIDR Block from a VPC
Updated on 2024-03-05 GMT+08:00

Deleting a Secondary IPv4 CIDR Block from a VPC

Scenarios

If a secondary CIDR block of a VPC is no longer required, you can delete it.
  • A secondary IPv4 CIDR block of a VPC can be deleted, but the primary CIDR block cannot be deleted.
  • If you want to delete a secondary CIDR block that contains subnets, you need to delete the subnets first.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and choose Network > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

  3. In the VPC list, locate the row that contains the VPC and click Edit CIDR Block in the Operation column.

    The Edit CIDR Block dialog box is displayed.

  4. Locate the row that contains the secondary CIDR block to be deleted and click Delete in the Operation column.
  5. Click OK.