Help Center/ Virtual Private Cloud/ User Guide/ VPC and Subnet/ VPC/ Deleting a Secondary IPv4 CIDR Block from a VPC
Updated on 2024-10-25 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 Networking > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

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

    The Edit CIDR Block dialog box is displayed.

  4. Locate the secondary CIDR block you want to delete and click Delete in the Operation column.
  5. Click OK.