华为乾坤-查询LLDP信息:响应示例

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

响应示例

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

HTTP/1.1 200 OK
Date: Sun,16 Feb 2025 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive
{
	"errcode" : "0",
	"errmsg" : "",
	"totalRecords" : 1,
	"pageIndex" : 1,
	"pageSize" : 20,
	"data" : {
		"lldp" : [
			{
				"localIfName" : "interface 0/0/0",
				"remoteIfName" : "interface 0/0/1",
				"sysName" : "10",
				"sysDescription" : "xx:xx:xx:xx:xx:xx",
				"remoteMac" : "xx:xx:xx:xx:xx:xx",
				"sysCapEnabled" : "cap-bridge cap-router",
				"sysCapSupported" : "cap-router"
			}
		]
	}
}
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000002128521014.html