华为乾坤-查询LLDP信息:响应参数
响应参数
返回状态码为200:查询成功。
参数名称 |
类型 |
参数值域 |
默认值 |
参数说明 |
参数示例 |
---|---|---|---|---|---|
errcode |
string |
- |
- |
错误码。 |
"0" |
errmsg |
string |
- |
- |
错误描述。 |
"" |
totalRecords |
integer |
- |
- |
当前查询LLDP连接的总数。 |
1 |
pageIndex |
integer |
- |
- |
分页的序号。 |
1 |
pageSize |
integer |
- |
- |
分页的大小。 |
20 |
data |
REFERENCE |
详细请参见表4。 |
- |
- |
参数名称 |
类型 |
参数值域 |
默认值 |
参数说明 |
参数示例 |
---|---|---|---|---|---|
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" |