华为乾坤-新增AP IPsec加密策略配置:请求示例

时间:2025-02-17 11:38:40

请求示例

HTTP的示例
POST /controller/campus/v1/networkservice/networkconfig/profile/apvpn/encryptionpolicy 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
{
	"id" : "fbb684c8-0d37-496f-bafa-4b06db151e2e",
	"name" : "TEST",
	"ikeVersion" : "v1",
	"ikeEncryptAlgorithm" : "aes-256",
	"ikeNegotiationMode" : "main",
	"ikeAuthAlgorithm" : "sha2-256",
	"ikeIntegrityAlgorithm" : "sha2-256",
	"ikePrf" : "sha2-256",
	"ipsecTransformProtocol" : "ah",
	"ipsecEncapsulationMode" : "tunnel",
	"ipsecAhAuthAlgorithm" : "sha2-256",
	"ipsecAuthAlgorithm" : "sha2-256",
	"ipsecEncryptAlgorithm" : "aes-256",
	"ipsecPfs" : "group1",
	"ipsecLifetimeSeconds" : "30",
	"ipsecLifetimeKilobytes" : "256",
	"ipsecDpdType" : "periodic",
	"ipsecDpdMsg" : "seq-hash-notify",
	"ipsecDpdInterval" : "30",
	"ipsecDpdTimeout" : "15",
	"ikeDh" : "group1",
	"ikeLifeTime" : "60"
}
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000001931080842.html