Help Center> Virtual Private Cloud> User Guide> VPC and Subnet> VPC> Removing a Secondary CIDR Block from a VPC

Removing a Secondary CIDR Block from a VPC

Scenarios

You can remove a secondary CIDR block from a VPC if you no longer need it.

You cannot remove the primary IPv4 CIDR block.

This feature is available only in CN East-Shanghai1.

Prerequisites

All subnets in the secondary CIDR block have been deleted.

Procedure

  1. Log in to the management console.
  1. Click in the upper left corner and select the desired region and project.
  2. On the console homepage, under Network, click Virtual Private Cloud.
  3. In the VPC list, locate the row that contains the VPC from which you want to delete a secondary CIDR block and click Edit CIDR Block in the Operation column.
  4. Locate the row that contains the secondary CIDR block to be deleted and click Delete in the Operation column.