华为乾坤-批量修改IPv4配置:请求示例

时间:2025-05-12 15:31:16

请求示例

HTTP的示例
PUT /restconf/v2/data/huawei-ac-nes-device:nes/ne/00000000-0000-0000-0000-000000000000/huawei-nce-e-ipv4:ipv4 HTTP/1.1
Host: 192.168.1.125:18002
Content-Type: application/json
Accept: application/json
Accept-Language: en-US
X-AC CES S-TOKEN: x-yyyyyy
restconf-transaction-id: "00000000-0000-0000-0000-000000000000"
{
	"huawei-nce-e-ipv4:ipv4" : [
		{
			"config-status" : "configured-database-success",
			"last-committed-time" : "2022-01-01 00:00:00",
			"related-pkg-version" : "1.0.1",
			"edit-state" : "RUNNING",
			"if-name" : "Vbdif1",
			"address-type" : "address",
			"access-type" : "Static",
			"address" : "10.10.1.1",
			"mask" : 24,
			"unnumbered-if-name" : "LoopBack1",
			"mtu" : 1500,
			"sub-address" : [
				{
					"address" : "10.10.1.2",
					"mask" : 24
				}
			]
		}
	]
}
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000001899845133.html