华为乾坤-新增AP IPsec加密策略配置:请求参数
请求参数
参数名称 |
必选 |
类型 |
参数值域 |
默认值 |
参数说明 |
参数示例 |
---|---|---|---|---|---|---|
body |
是 |
REFERENCE |
详细请参见表2。 |
AP IPSEC 模板配置参数体。 |
- |
参数名称 |
必选 |
类型 |
参数值域 |
默认值 |
参数说明 |
参数示例 |
---|---|---|---|---|---|---|
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" |