Managing Subnet Tags
Scenarios
A subnet tag identifies a subnet. Tags can be added to subnets to facilitate subnet identification and administration. You can add a tag to a subnet when creating the subnet, or you can add a tag to a created subnet on the subnet details page. A maximum of 10 tags can be added to each subnet.
|
Parameter |
Requirements |
Example Value |
|---|---|---|
|
Key |
|
subnet_key1 |
|
Value |
|
subnet-01 |
The entry to visit the subnet module varies by region.
- If the subnet module is not decoupled from the VPC module in your selected region, you have to visit the subnet module by clicking the Subnets tab on the VPC details page. This is used as the example of the operation procedure in this section.
- If the subnet module is decoupled from the VPC module in your selected region, you can visit the subnet module directly after you click Subnets on the navigation pane of the VPC console.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project. - Under Network, click Virtual Private Cloud.
- In the navigation pane on the left, click Virtual Private Cloud.
- On the Virtual Private Cloud page, locate the VPC containing the target subnet and click the VPC name.
- In the upper right corner of the subnet list, click Search by Tag.
- Enter the tag key of the subnet to be queried.
Both the tag key and value must be specified. The system automatically displays the subnets you are looking for if both the tag key and value are matched.
- Click + to add another tag key and value.
You can add multiple tag keys and values to refine your search results. If you add more than one tag to search for subnets, the subnets containing all specified tags will be displayed.
- Click Search.
The system displays the subnets you are looking for based on the entered tag keys and values.
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project. - Under Network, click Virtual Private Cloud.
- In the navigation pane on the left, click Virtual Private Cloud.
- On the Virtual Private Cloud page, locate the VPC containing the target subnet and click the VPC name.
- Click the name of the target subnet.
- On the subnet details page, click the Tags tab and perform desired operations on tags.
- View tags.
On the Tags tab, you can view details about tags added to the current subnet, including the number of tags and the key and value of each tag.
- Add a tag.
Click Add Tag in the upper left corner. In the displayed Add Tag dialog box, enter the tag key and value, and click OK.
- Edit a tag.
Locate the row that contains the tag you want to edit, and click Edit in the Operation column. Enter the new tag key and value, and click OK.
- Delete a tag.
Locate the row that contains the tag you want to delete, and click Delete in the Operation column. In the displayed dialog box, click Yes.
- View tags.
Last Article: Deleting a Subnet
Next Article: IPv4 and IPv6 Dual-Stack Network
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.