All Products
Search
Document Center

Tair (Redis® OSS-Compatible):Query the number of IP addresses available on the vSwitch to which an instance is connected

Last Updated:Mar 28, 2026

Before enabling a private endpoint for a Tair (Redis OSS-compatible) cluster instance, verify that the connected vSwitch has enough available IP addresses. This topic describes how to check the count.

How IP addresses are consumed

When you enable a private endpoint for a classic cluster instance, the VPC allocates one IP address to the master node of each shard, plus one additional IP address for the private endpoint itself. If the vSwitch cannot provide enough addresses, the private endpoint cannot be enabled.

For instructions on enabling the private endpoint, see Enable the direct connection mode.

Prerequisites

Before you begin, ensure that you have:

  • A Tair (Redis OSS-compatible) cluster instance deployed in a VPC

Check available IP addresses on the vSwitch

  1. Log on to the console and go to the Instances page. In the top navigation bar, select the region where your instance is deployed, then click the instance ID.

  2. In the Basic Information section, copy the vSwitch ID, then click the virtual private cloud (VPC) ID. You are directed to the VPC console.

  3. On the VPC details page, click the Resource Management tab, then click the number next to the vSwitch field.

  4. At the top of the vSwitch page, select Instance ID from the drop-down list, paste the vSwitch ID into the search box, and click the search icon.

    搜索交换机

  5. In the search results, find your vSwitch and check the number of available IP addresses.

    查看剩余IP地址数

What's next

After confirming that the vSwitch has enough available IP addresses, proceed to Enable the direct connection mode.