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

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

响应示例

返回状态码为200:查询LACP LAG信息成功,响应体参考LacpLagInfoResultDto。

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" : "",
	"data" : {
		"ethtrunk" : [
			{
				"lagId" : 1,
				"mode" : "lacp",
				"hash" : "diffluence",
				"leastActive" : 20,
				"maxActive" : 64,
				"opStatus" : "up",
				"portCount" : 10,
				"sysPrio" : 10,
				"sysId" : "xx:xx:xx:xx:xx:xx",
				"interfaces" : [
					{
						"ifId" : 1,
						"ifName" : "interface 0/0/1",
						"remPrio" : 10,
						"remId" : "xx:xx:xx:xx:xx:xx",
						"ifOpStatus" : "up",
						"ifWeight" : 30
					}
				]
			}
		]
	}
}
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000002128679174.html