Cloud Enterprise Network (CEN) supports tags. You can use tags to classify and label your CEN resources, which makes searching for and grouping them easier. This topic uses a CEN instance as an example to describe how to manage and use tags. The process for other CEN resources is similar.
Overview
Usage notes

As shown in the preceding figure, managing instances becomes more difficult as their number grows. You can group instances using tags to simplify searching and filtering.
A tag is a label that you assign to an instance. Each tag consists of a key-value pair. Note the following when you use tags:
The tag key for each tag on an instance must be unique.
A tag key is required, but the tag value is optional.
A tag must be attached to an instance. You cannot create a tag that is not attached to an instance.
Tags for different resources are not interchangeable.
For example, a tag added to a CEN instance cannot be attached to a transit router instance.
You can modify the key and value of a tag. You can also remove a tag from an instance at any time.
If you delete an instance, all of its attached tags are also deleted. This does not affect tags attached to other instances.
You can attach a maximum of 20 tags to an instance. This quota cannot be increased.
Resource types that support tags
The following resources in Cloud Enterprise Network support tags:
CEN instances, bandwidth plan instances, transit router instances, VPC connections, VBR connections, VPN connections, inter-region connections, route tables of Enterprise Edition transit routers, flow log instances, and multicast domain instances.
Transit router instances in Cloud Connect Network (CCN) regions do not support tags.
VPC connections, VBR connections, and inter-region connections of Basic Edition transit routers do not support tags.
Add tags to a CEN instance
Log on to the CEN console
On the Instances page, follow these steps to add tags to a CEN instance.
Add tags to a single CEN instance
In the Tag column for the target CEN instance, hover over the
icon. Then, click Edit.In the Configure Tags dialog box, add one or more tags to the CEN instance and click OK.
Configuration item
Description
Tag Key
The tag key.
Cannot be an empty string. The key can be up to 64 characters in length. It cannot start with
aliyunoracs:and cannot containhttp://orhttps://.Tag Value
The tag value.
Can be an empty string. The value can be up to 128 characters in length. It cannot start with
aliyunoracs:and cannot containhttp://orhttps://.
Add tags to multiple CEN instances
Select the check boxes for the CEN instances to which you want to add tags. In the lower-left corner of the page, choose .
In the Configure Tags dialog box, set Tag Key and Tag Value and then click OK.
After you add tags, you can view them by hovering over the
icon in the Tag column of the target CEN instance.
Use tags to search for CEN instances
After you add tags to CEN instances, you can use them to quickly filter for the required CEN instances.
Log on to the CEN console
On the Instances page, click Filter by Tag.
In the menu, select a tag.

View the filtering results.
Under Create CEN Instance, you can view the active tag filters.

Edit tags of a CEN instance
After you add tags to a CEN instance, you can add more tags, or modify or delete the existing tags.
Log on to the CEN console
On the Instances page, you can edit the tags for a CEN instance as follows.
Edit tags of a single CEN instance
In the Tag column of the target CEN instance, hover over the
icon. Then, click Edit.In the Configure Tags dialog box, perform the following operations and click OK.
Add tags: You can append new tags to the current tag list.
Modify tags: You can select a tag and modify its key or value.
Delete tags: You can click the
icon next to a tag to delete it.
Modify tags of multiple CEN instances
Select the check boxes for the CEN instances whose tags you want to modify. In the lower-left corner of the page, choose .
In the Configure Tags dialog box, modify the tags for the CEN instances and click OK.
If you enter a new tag key, a new tag is added to the CEN instances.
If you enter an existing tag key and a new tag value, the tag value is updated for the CEN instances.
Delete tags from multiple CEN instances
Select the check boxes for the CEN instances whose tags you want to remove. Then, in the lower-left corner of the page, select .
In the Delete Tags for Multiple Resources dialog box, select the check box for the target tag, and then click Unbind tags.
After editing a tag, hover over the
icon in the Tag column of the target instance to view the updated information.
References
TagResources: Creates and attaches tags to specified instances.
UntagResources: Detaches and deletes tags from a list of specified resources.
ListTagResources: Queries the list of tags that are attached to Cloud Enterprise Network resources.