• Virtual Private Cloud

vpc
  1. Help Center
  2. Virtual Private Cloud
  3. User Guide
  4. Elastic IP Address
  5. 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 ten 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.

Table 1 EIP tag requirements

Parameter

Requirements

Example Value

Key

  • Cannot be left blank.
  • Must be unique for each EIP.
  • Can contain a maximum of 36 characters.
  • Can contain only the following character types:
    • Uppercase letters
    • Lowercase letters
    • Digits
    • Special characters, including hyphens (-) and underscores (_)

Ipv4_key1

Value

  • Can contain a maximum of 43 characters.
  • Can contain only the following character types:
    • Uppercase letters
    • Lowercase letters
    • Digits
    • Special characters, including hyphens (-) and underscores (_)

192.168.12.10

Procedure

Search for EIPs by Tag Key and Value on the Page Showing the EIP List.
  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. Under Network, click Virtual Private Cloud.
  4. In the navigation pane on the left, choose Elastic IP.
  5. In the upper right corner of the EIP list, click Search by Tag.
  6. In the displayed area, enter the tag key and value of the EIP you are looking for.

    Both the tag key and value must be specified. The system automatically displays the EIPs you are looking for if both the tag key and value are matched.

  7. Click + to add the entered 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 EIPs containing all specified tags will be displayed.

  8. Click Search.

    The system displays the EIPs you are looking for based on the entered tag keys and values.

Add, Delete, Edit, and View Tags on the Tags Tab of an EIP.
  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. Under Network, click Virtual Private Cloud.
  4. In the navigation pane on the left, choose Elastic IP.
  5. On the Elastic IP page, locate the EIP whose tags are to be managed, and click the IP address.
  6. 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 to be edited, 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 to be deleted, and click Delete in the Operation column. In the displayed Delete Tag dialog box, click Yes.