华为乾坤-查询LLDP信息:响应参数

时间:2025-02-17 11:37:29

响应参数

返回状态码为200:查询成功。

表3 NeighborsInfoResultDto对象的参数列表

参数名称

类型

参数值域

默认值

参数说明

参数示例

errcode

string

-

-

错误码。

"0"

errmsg

string

-

-

错误描述。

""

totalRecords

integer

-

-

当前查询LLDP连接的总数。

1

pageIndex

integer

-

-

分页的序号。

1

pageSize

integer

-

-

分页的大小。

20

data

REFERENCE

详细请参见表4

-

-

表4 data对象的参数列表

参数名称

类型

参数值域

默认值

参数说明

参数示例

lldp

ARRAY_REFERENCE

0-65535个列表项,详细请参见表5

LLDP数据。

-

表5 NeighborsInfoDto对象的参数列表

参数名称

类型

参数值域

默认值

参数说明

参数示例

localIfName

string

-

-

本端接口名称。

"interface 0/0/0"

remoteIfName

string

-

-

远端接口名称。

"interface 0/0/1"

sysName

string

-

-

远端系统名称。

"10"

sysDescription

string

-

-

远端系统描述。

"xx:xx:xx:xx:xx:xx"

remoteMac

string

-

-

远端系统MAC。

"xx:xx:xx:xx:xx:xx"

sysCapEnabled

string

-

-

对端设备支持的能力:cap-other、cap-repeater、cap-bridge、cap-wlan-access-point、cap-router、cap-telephone、cap-docsis-cable-device、cap-station-only;多个能力时以空格间隔。

"cap-bridge cap-router"

sysCapSupported

string

-

-

对端设备使能的能力:cap-other、cap-repeater、cap-bridge、cap-wlan-access-point、cap-router、cap-telephone、cap-docsis-cable-device、cap-station-only;多个能力时以空格间隔。

"cap-router"

support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000002128521014.html