华为乾坤-新增AP IPsec加密策略配置:响应参数
响应参数
返回状态码为200:创建成功。
参数名称 |
类型 |
参数值域 |
默认值 |
参数说明 |
参数示例 |
---|---|---|---|---|---|
errcode |
string |
0~64个字符。 |
- |
错误码。 |
"0" |
errmsg |
string |
0~256个字符。 |
- |
错误信息 |
"" |
data |
REFERENCE |
详细请参见表4。 |
VPN配置数据 |
- |
参数名称 |
类型 |
参数值域 |
默认值 |
参数说明 |
参数示例 |
---|---|---|---|---|---|
id |
string |
36个字符。 |
- |
id |
"fbb684c8-0d37-496f-bafa-4b06db151e2e" |
name |
string |
0~15个字符。 |
- |
加密策略名称,请输入1-15位字符,由字母、数字、下划线、短线、点号、@符组成。 |
"TEST" |
ikeVersion |
string |
0~3个字符。 |
- |
ike版本。取值【v1|v2|all】。只有当取值为v1时,需要配置协商模式,认证算法。 |
"v1" |
ikeEncryptAlgorithm |
string |
0~7个字符。 |
- |
ike加密算法。取值【des|3des|aes-128|aes-192|aes-256】。 |
"aes-256" |
ikeNegotiationMode |
string |
0~10个字符。 |
- |
(仅IKEv1)协商模式。取值【main|aggressive】。 |
"main" |
ikeAuthAlgorithm |
string |
0~8个字符。 |
- |
(仅IKEv1)认证算法。取值【md5|sha1|sha2-256|sha2-384|sha2-512|sm3】。 |
"sha2-256" |
ikeIntegrityAlgorithm |
string |
0~11个字符。 |
- |
(仅IKEv2)完整性算法。取值【aes-xcbc-96|md5|sha1|sha2-256|sha2-384|sha2-512】。 |
"sha2-256" |
ikePrf |
string |
0~12个字符。 |
- |
(仅IKEv2)协商伪随机数产生函数(PRF)的算法。取值【aes-xcbc-128|md5|sha1|sha2-256|sha2-384|sha2-512】。 |
"sha2-256" |
ipsecTransformProtocol |
string |
0~6个字符。 |
- |
ipsec 安全协议。取值【ah|esp|ah-esp】。当取值为ah、ah-esp时,需要配置认证算法。当取值为esp、ah-esp时,需要配置esp加密算法、esp认证算法。 |
"ah" |
ipsecEncapsulationMode |
string |
0~8个字符。 |
- |
ipsec 封装模式。取值【tunnel|transport】。 |
"tunnel" |
ipsecAhAuthAlgorithm |
string |
0~8个字符。 |
- |
ipsec 认证算法,ah、ah-esp安全协议下使用。取值【md5|sha1|sha2-256|sha2-384|sha2-512|sm3】。 |
"sha2-256" |
ipsecAuthAlgorithm |
string |
0~8个字符。 |
- |
ipsec ESP认证算法,esp、ah-esp安全协议下使用。取值【md5|sha1|sha2-256|sha2-384|sha2-512】。 |
"sha2-256" |
ipsecEncryptAlgorithm |
string |
0~15个字符。 |
- |
ipsec ESP加密算法。取值【3des|des|aes-128|aes-192|aes-256|none|aes-128-gcm-128|aes-192-gcm-128|aes-256-gcm-128】。 |
"aes-256" |
ipsecPfs |
string |
0~7个字符。 |
- |
ipsec pfs。取值【group1|group2|group5|group14|group15|group16】。 |
"group1" |
ipsecLifetimeSeconds |
string |
0~6个字符。 |
- |
ipsec sa 存活时间(基于时间)。取值30-604800。 |
"30" |
ipsecLifetimeKilobytes |
string |
0~9个字符。 |
- |
ipsec sa 允许处理的最大流量(基于流量)。取值256-200000000。 |
"256" |
ipsecDpdType |
string |
0~9个字符。 |
- |
ipsec dpd检测方式。取值【periodic|on-demand】。 |
"periodic" |
ipsecDpdMsg |
string |
0~15个字符。 |
- |
ipsec dpd 载 荷顺序。取值【seq-hash-notify|seq-notify-hash】。 |
"seq-hash-notify" |
ipsecDpdInterval |
string |
0~4个字符。 |
- |
ipsec dpd 检测时间间隔(秒)。取值10-3600。 |
"30" |
ipsecDpdTimeout |
string |
0~2个字符。 |
- |
ipsec dpd 重传时间间隔(秒)。取值2-60。 |
"15" |
ikeDh |
string |
0~7个字符。 |
- |
dh组。取值【group1|group2|group5|group14|group15|group16】。 |
"group1" |
ikeLifeTime |
string |
0~6个字符。 |
- |
SA超时时间。取值30-604800。 |
"60" |