华为乾坤-修改ARP配置:请求示例

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

请求示例

HTTP的示例
PATCH /restconf/v2/data/huawei-ac-nes-device:nes/ne/00000000-0000-0000-0000-000000000000/huawei-nce-e-arp:arp 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-arp:arp" : {
		"static-arp" : [
			{
				"ip-addr" : "10.1.1.1",
				"vpn-instance" : "_public_",
				"mac-addr" : "xxxx-xxxx-xxxx",
				"vxlan-id" : 233,
				"source-addr" : "10.1.1.2",
				"peer-addr" : "10.1.1.3"
			}
		],
		"speed-limit" : [
			{
				"slot-id" : "23",
				"suppress-type" : "arp",
				"ip-type" : "dest-ip",
				"suppress-value" : 2333
			}
		]
	}
}
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000001899964397.html