华为乾坤-全量修改L3子接口配置:请求示例

时间:2025-02-17 11:36:44

请求示例

HTTP的示例
PUT /restconf/v2/data/huawei-ac-nes-device:nes/ne/00000000-0000-0000-0000-000000000000/huawei-nce-e-l3-sub-interface:l3-sub-interface 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-l3-sub-interface:l3-sub-interface" : [
		{
			"config-status" : "",
			"last-committed-time" : "",
			"related-pkg-version" : "",
			"edit-state" : "",
			"if-name" : "Vbdif20.20",
			"dot1q-vlans" : {
				"vlan-list" : "20"
			},
			"vlan-type-dot1q" : {
				"vlan-type-vid" : 20
			}
		}
	]
}
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000001866854320.html