---
title: append_remote_ip_info
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/hixlug/llmprv2_42_0050.html
sourcePath: /source/zh/canncommercial/900/API/hixlug/llmprv2_42_0050.html
indexId: c37389d2e21913cc7da03c04f595b6f33f6d5849100fb3af071cfc78a904b67461
---
# append_remote_ip_info

#### 产品支持情况

| 产品 | 是否支持 |
| --- | --- |
| Atlas 350 加速卡 | x |
| Atlas A3 训练系列产品 / Atlas A3 推理系列产品 | √ |
| Atlas A2 训练系列产品 / Atlas A2 推理系列产品 | √ |
| Atlas 200I/500 A2 推理产品 | x |
| Atlas 推理系列产品 | x |
| Atlas 训练系列产品 | x |


说明：针对 Atlas A2 训练系列产品 / Atlas A2 推理系列产品 ，仅支持Atlas 800I A2 推理服务器、A200I A2 Box 异构组件。


#### 函数功能

添加远端集群IP信息。


#### 函数原型

```
append_remote_ip_info(self, ip: Union[str, int], port: int)
```


#### 参数说明

| 参数名称 | 数据类型 | 取值说明 |
| --- | --- | --- |
| ip | Union[str, int] | 设置为Host侧的IP地址。 |
| port | int | 设置为Host侧的端口。 |


#### 调用示例

```
llm_cluster = LLMClusterInfo()
llm_cluster.append_remote_ip_info("1.1.1.1", 10000)
```


#### 返回值

正常情况下无返回值。

参数错误可能抛出TypeError或ValueError。


#### 约束说明

无
