- User Guide
- EIP
- Managing EIP Tags
Managing EIP Tags¶
Scenarios¶
Tags can be added to EIPs to facilitate EIP identification and administration. You can add a tag to an EIP when assigning the EIP. Alternatively, you can add a tag to an assigned EIP on the EIP details page. A maximum of 20 tags can be added to each EIP.
A tag consists of a key and value pair. Table 1 lists the tag key and value requirements.
Parameter | Requirement | Example Value |
---|---|---|
Key |
| Ipv4_key1 |
Value |
| 192.168.12.10 |
Procedure¶
Searching for EIPs by tag key and value on the page showing the EIP list
Log in to the management console.
Click in the upper left corner and select the desired region and project.
On the console homepage, under Network, click Elastic IP.
In the upper right corner of the EIP list, click Search by Tag.
In the displayed area, enter the tag key and value of the EIP you are looking for.
You must specify both the tag key and value. The system will display the EIPs that contain the tag you specified.
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 EIPs, the system will display only the EIPs that contain all of the tags you specified.
Click Search.
The system displays the EIPs you are looking for based on the entered tag keys and values.
Adding, deleting, editing, and viewing tags on the Tags tab of an EIP
Log in to the management console.
Click in the upper left corner and select the desired region and project.
On the console homepage, under Network, click Elastic IP.
On the displayed page, locate the EIP whose tags you want to manage, and click the EIP name.
On the page showing EIP details, 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 EIP, 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 value, and click OK.
The tag key cannot be modified.
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.