doc-exports/docs/vpn/api-ref/vpn_api_0027.html
Hongwei, King Wang 32c06a10a2 vpn_api
Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: Hongwei, King Wang <king.wanghongwei@huawei.com>
Co-committed-by: Hongwei, King Wang <king.wanghongwei@huawei.com>
2024-08-15 14:18:28 +00:00

1215 lines
157 KiB
HTML

<a name="EN-US_TOPIC_0000001854169149"></a><a name="EN-US_TOPIC_0000001854169149"></a>
<h1 class="topictitle1">Creating a VPN Connection</h1>
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_section20114008"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p7951122310122">This API is used to create a VPN connection that connects a VPN gateway to a customer gateway.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_section18104173342818"><h4 class="sectiontitle">Calling Method</h4><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1833417457325">For details, see <a href="vpn_api_0008.html#EN-US_TOPIC_0000001807530276">Calling APIs</a>.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_section46808346"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1584346195111">POST /v5/{project_id}/vpn-connection</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table3672032" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row10026740"><th align="left" class="cellrowborder" valign="top" width="20.61793820617938%" id="mcps1.3.3.3.2.5.1.1"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p6859639">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.02809719028097%" id="mcps1.3.3.3.2.5.1.2"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p179611479215">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.798820117988202%" id="mcps1.3.3.3.2.5.1.3"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p18759866">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="48.555144485551445%" id="mcps1.3.3.3.2.5.1.4"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p43154149">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row5825185"><td class="cellrowborder" valign="top" width="20.61793820617938%" headers="mcps1.3.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p2077973">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="19.02809719028097%" headers="mcps1.3.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p177965479212">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.798820117988202%" headers="mcps1.3.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p34098154">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="48.555144485551445%" headers="mcps1.3.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1760663115204">Specifies a project ID. You can obtain the project ID by referring to <a href="vpn_api_0051.html#EN-US_TOPIC_0000001807530332">Obtaining the Project ID</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_section18621933"><h4 class="sectiontitle">Request</h4><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul5992193374713"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li59922337473">Request parameters
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table65486" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row29579237122"><th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.4.2.1.1.2.5.1.1"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p159571233121">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.4.2.1.1.2.5.1.2"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p139571723131218">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.76470588235294%" id="mcps1.3.4.2.1.1.2.5.1.3"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p8957112371219">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="49.01960784313725%" id="mcps1.3.4.2.1.1.2.5.1.4"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p15957162311129">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row1957152314127"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.1.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1095719239126">vpn_connection</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.1.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1195832341211"><a href="#EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92764">CreateVpnConnectionRequestBodyContent</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.1.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p149581023181214">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.1.2.5.1.4 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p3958423121219">Specifies the VPN connection object.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92764"></a><a name="en-us_topic_0000001543833172_table92764"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92764" frame="border" border="1" rules="all"><caption><b>Table 3 </b>CreateVpnConnectionRequestBodyContent</caption><thead align="left"><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row1198312171516"><th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.4.2.1.2.2.5.1.1"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p39841324151">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.4.2.1.2.2.5.1.2"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1998492151517">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.76470588235294%" id="mcps1.3.4.2.1.2.2.5.1.3"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p13984028155">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="49.01960784313725%" id="mcps1.3.4.2.1.2.2.5.1.4"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1198414214153">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row1198352151514"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p15984172141515">name</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p69851222154">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p159851821157">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.2.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul1257530132415"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li05751408249">Specifies the name of a VPN connection. If this parameter is not specified, a name in the format of <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b4493103413616">vpn-</strong><em id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_i55219379613">****</em> is automatically generated, for example, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b19683960713">vpn-13be</strong>.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li155230331394">The value is a string of 1 to 64 characters, which can contain digits, letters, underscores (_), hyphens (-), and periods (.).</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row149838231515"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1298515216153">vgw_id</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p109856215159">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p49856217159">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.2.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul897315513244"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li13973154244">Specifies a VPN gateway ID.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li2044713122414">The value is a UUID containing 36 characters. </li></ul>
<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p177181843185713">You can obtain the VPN gateway ID by <a href="vpn_api_0016.html#EN-US_TOPIC_0000001807530284">querying the VPN gateway list</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row7983229156"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p149854218154">vgw_ip</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1398542131514">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p13986122141514">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.2.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul19318939192411"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li544424868">Function description:<ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul20674111213401"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li84662108408">When <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b2275335522">network_type</strong> of the VPN gateway is set to <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b527573511212">public</strong>, set <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b142759351023">vgw_ip</strong> to the EIP IDs of the VPN gateway.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li94661010154019">When <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b16625111754519">network_type</strong> of the VPN gateway is set to <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b4625101744513">private</strong>, set <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b10625111754518">vgw_ip</strong> to the private IP addresses of the VPN gateway.</li></ul>
</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li18371441122415">The value is a UUID containing 36 characters or an IPv4 address in dotted decimal notation (for example, 192.168.45.7).</li></ul>
<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p14598714145910">You can obtain the EIP IDs or private IP addresses of the VPN gateway by <a href="vpn_api_0015.html#EN-US_TOPIC_0000001854089181">querying information about the VPN gateway</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row6983132201512"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1498620218152">style</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p69862201520">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p12986132121513">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.2.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul18852195716245"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1138710324362">Specifies the connection mode.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li16852145719247">Value range:<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1597143419533"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li16852145719247"></a><a name="en-us_topic_0000001543833172_li16852145719247"></a><strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b2837114111123">policy</strong>: policy-based mode</p>
<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1497133445316"><strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b219112459124">static</strong>: static routing mode</p>
<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p19971153485311"><strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b203201348191218">bgp</strong>: BGP routing mode</p>
<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p206155714593"><strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b159811705132">policy-template</strong>: policy template mode</p>
</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li20485556202317">The default value is <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b724755451216">static</strong>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row1698362151512"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p189875281517">cgw_id</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p149878221517">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p12987112141512">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.2.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul32631349102510"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li42631249182519">Specifies a customer gateway ID.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1727305511251">The value is a UUID containing 36 characters. </li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row298352131517"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p6987162131517">peer_subnets</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p5987122191514">Array of String</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p2098817218153">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.2.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul16191432191115"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li119173219119">Specifies a customer subnet.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li85612014289">Constraints:<ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul361447174010"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li12854459403">This parameter is not required when the association mode of the VPN gateway is set to <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b189281550526">er</strong> and <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b199281450821">style</strong> is set to <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b109281650222">policy</strong> or <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b1092965015216">bgp</strong>. This parameter is mandatory in other scenarios.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li829774584015">Reserved VPC CIDR blocks such as 100.64.0.0/10 cannot be used as customer subnets.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1730904534019">A maximum of 50 customer subnets can be configured for each VPN connection.</li></ul>
</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row1798318271518"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p2098813216153">tunnel_local_address</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1898813210155">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p139881725156">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.2.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul1236412541668"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li164261081777">Specifies the tunnel interface address configured on the VPN gateway in route-based mode, for example, 169.254.76.1/30.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li988744194015">Constraints:<ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul1238116313415"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li4382926417">The first 16 bits must be 169.254, and the value cannot be <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b112310284457">169.254.195.</strong><em id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_i1323222884511">xxx</em>.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li193824244114">The mask length must be 30, and the address must be in the same CIDR block as the value of <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b95891239193215">tunnel_peer_address</strong>.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1438382144119">The address needs to be a host address in a CIDR block.</li></ul>
</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row1087412724112"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p199881227159">tunnel_peer_address</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p14988192111513">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p12988525152">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.2.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul622611231173"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li177314357715">Specifies the tunnel interface address configured on the customer gateway device in route-based mode, for example, 169.254.76.2/30.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1522612232717">Constraints:<ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul686115179415"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li3112131718411">The first 16 bits must be 169.254, and the value cannot be <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b64401930164511">169.254.195.</strong><em id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_i7440330164513">xxx</em>.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li17112181719416">The mask length must be 30, and the address must be in the same CIDR block as the value of <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b9226164823316">tunnel_local_address</strong>.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li13113171717415">The address needs to be a host address in a CIDR block.</li></ul>
</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row898372121515"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p169893241519">enable_nqa</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1598922181516">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p79894218158">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.2.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul5337132316265"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li38278011415">Specifies whether to enable the network quality analysis (NQA) function.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1922010549247">The value can be <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b328572012197">true</strong> or <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b028692011910">false</strong>.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1123174802414">The default value is <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b0653726171917">false</strong>.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li636519194377">Set this parameter only when <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b451662917192">style</strong> is set to <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b251711291199">static</strong>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row69849218150"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p998912121520">psk</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p8989721150">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p5989152141510">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.2.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul17169052103211"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li2170155219324">Specifies a pre-shared key.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1414005473217">The value is a string of 8 to 128 characters, which must contain at least three types of the following: uppercase letters, lowercase letters, digits, and special characters (~!@#$%^()-_+={ },./:;).</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row169845214157"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p129893261519">policy_rules</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p199012214156">Array of <a href="#EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table65488">PolicyRule</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p6990729153">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.2.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul1945223517341"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li114861011111719">Specifies policy rules.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li3395854143412">A maximum of five policy rules can be specified. Set this parameter only when <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b713432418133">style</strong> is set to <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b05106258137">policy</strong>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row20984142191519"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p119909211153">ikepolicy</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p997519344537"><a href="#EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92511">IkePolicy</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p189901624152">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p143123388232">Specifies the Internet Key Exchange (IKE) policy object.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row1298419201517"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p9990821154">ipsecpolicy</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p8975123435319"><a href="#EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92510">IpsecPolicy</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p159901524157">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1499115261518">Specifies the Internet Protocol Security (IPsec) policy object.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row441533872510"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p14416123892510">ha_role</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1741603814250">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1941603882512">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.2.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul14245155612814"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li6245205602811">This parameter is optional when you create a connection for a VPN gateway in active-active mode. When you create a connection for a VPN gateway in active-standby mode, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b113331516152719">master</strong> indicates the active connection, and <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b173544219279">slave</strong> indicates the standby connection.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li572095493620">The default value is <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b097019232271">master</strong>.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li14638659102813">Constraints: In active-active mode, this field must be set to <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b67481145863">master</strong> for the connection established using the active EIP or active private IP address of the VPN gateway, and must be set to <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b19261104615717">slave</strong> for the connection established using active EIP 2 or active private IP address 2 of the VPN gateway.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row614617228613"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p12518647185817">tags</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p155181847125816">Array of <a href="#EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92238">VpnResourceTag</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p951834755816">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.2.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul124531254455"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li84543256453">Specifies a tag list.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li145412253459">A maximum of 20 tags can be specified.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table65488"></a><a name="en-us_topic_0000001543833172_table65488"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table65488" frame="border" border="1" rules="all"><caption><b>Table 4 </b>PolicyRule</caption><thead align="left"><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row997212331211"><th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.4.2.1.3.2.5.1.1"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p159721723181215">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.4.2.1.3.2.5.1.2"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p49721223121213">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.76470588235294%" id="mcps1.3.4.2.1.3.2.5.1.3"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p10973152312121">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="49.01960784313725%" id="mcps1.3.4.2.1.3.2.5.1.4"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1897317237121">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row159725239122"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p6973723111220">rule_index</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p20973132341216">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1997310236125">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.3.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul31891344132814"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1918954413287">Specifies a rule ID, which is used to identify the sequence in which the rule is configured. You are advised not to set this parameter.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li197041251162810">The value ranges from 0 to 50.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li46701756192616">The value of <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b6843202221114">rule_index</strong> in each policy rule must be unique. The value of <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b19391113410127">rule_index</strong> in <a href="#EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92515">ResponseVpnConnection</a> may be different from the value of this parameter. This is because if multiple destination CIDR blocks are specified, the VPN service generates a rule for each destination CIDR block.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row1797262320127"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p945785321520">source</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p2097322341211">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p9974102311215">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.3.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul10590144352911"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li12982875480">Specifies a source CIDR block.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li55901443152920">The value of <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b123241282612">source</strong> in each policy rule must be unique.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row1197232371212"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1974202318124">destination</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p2097417232122">Array of String</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1597422316129">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.3.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul5298166103115"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1273652105312">Specifies a destination CIDR block.<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p188674389524"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1273652105312"></a><a name="en-us_topic_0000001543833172_li1273652105312"></a>For example, a destination CIDR block can be 192.168.52.0/24.</p>
</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li5462162313115">A maximum of 50 destination CIDR blocks can be configured in each policy rule.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92511"></a><a name="en-us_topic_0000001543833172_table92511"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92511" frame="border" border="1" rules="all"><caption><b>Table 5 </b>IkePolicy</caption><thead align="left"><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row423652914513"><th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.4.2.1.4.2.5.1.1"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p24661629255">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.4.2.1.4.2.5.1.2"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p104661929654">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.519607843137255%" id="mcps1.3.4.2.1.4.2.5.1.3"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p124664298518">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="49.264705882352935%" id="mcps1.3.4.2.1.4.2.5.1.4"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p24660291253">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row7236122912510"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.4.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p146617295519">ike_version</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.4.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p14466129755">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.519607843137255%" headers="mcps1.3.4.2.1.4.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p8466629453">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.264705882352935%" headers="mcps1.3.4.2.1.4.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul162887853418"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li2807164416613">Specifies the IKE version.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li142131932513">Value range:<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p203095813262"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li142131932513"></a><a name="en-us_topic_0000001543833172_li142131932513"></a>v1 and v2</p>
</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li87872285104">Default value:<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p42686431269"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li87872285104"></a><a name="en-us_topic_0000001543833172_li87872285104"></a>v2</p>
</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row1723614291159"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.4.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p94661629656">phase1_negotiation_mode</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.4.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1646616291956">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.519607843137255%" headers="mcps1.3.4.2.1.4.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1746618292511">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.264705882352935%" headers="mcps1.3.4.2.1.4.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul1940203911342"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li19414438348">Specifies the negotiation mode.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1840418154818">Value range:<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1993681010374"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1840418154818"></a><a name="en-us_topic_0000001543833172_li1840418154818"></a><strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b182176250394">main</strong>: ensures high security during negotiation.</p>
<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1893620107379"><strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b24935527536">aggressive</strong>: ensures fast negotiation and a high negotiation success rate.</p>
</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li13635946182516">The default value is <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b1975061325410">main</strong>.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1140253920346">This parameter is mandatory only when the IKE version is v1.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row172362291859"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.4.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1146717292513">authentication_algorithm</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.4.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p046713292514">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.519607843137255%" headers="mcps1.3.4.2.1.4.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p154672299511">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.264705882352935%" headers="mcps1.3.4.2.1.4.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul17478132133519"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li84782219355">Specifies an authentication algorithm.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li141748921112">Value range:<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p19608136202813"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li141748921112"></a><a name="en-us_topic_0000001543833172_li141748921112"></a>sha2-512, sha2-384, sha2-256, sha1, md5</p>
<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p104855202118">Exercise caution when using <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b121699734018">sha1</strong> and <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b8170147174011">md5</strong> as they have low security.</p>
</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li61755914111">Default value:<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p171662396282"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li61755914111"></a><a name="en-us_topic_0000001543833172_li61755914111"></a>sha2-256</p>
</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row22361429554"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.4.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p19467112916518">encryption_algorithm</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.4.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1846720295512">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.519607843137255%" headers="mcps1.3.4.2.1.4.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p24671629759">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.264705882352935%" headers="mcps1.3.4.2.1.4.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul55059257363"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li350542515364">Specifies an encryption algorithm.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li05422056201115">Value range:<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p3290150192917"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li05422056201115"></a><a name="en-us_topic_0000001543833172_li05422056201115"></a>aes-256-gcm-16, aes-128-gcm-16, aes-256, aes-192, aes-128, 3des</p>
<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1254245617117">Exercise caution when using <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b115731849144016">3des</strong> as it has low security.</p>
</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1954211562115">Default value:<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p01079265293"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1954211562115"></a><a name="en-us_topic_0000001543833172_li1954211562115"></a>aes-128</p>
</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row152362291254"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.4.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p34687292517">dh_group</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.4.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p646812291758">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.519607843137255%" headers="mcps1.3.4.2.1.4.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p174683293516">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.264705882352935%" headers="mcps1.3.4.2.1.4.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul551518553814"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li14515165133817">Specifies the DH group used for key exchange in phase 1.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li76388114134">The value can be <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b1410853516414">group1</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b191088350416">group2</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b710813515413">group5</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b1310818351411">group14</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b2010843518411">group15</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b19108183519414">group16</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b141096357410">group19</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b201099352417">group20</strong>, or <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b2010916357418">group21</strong>.<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p2425234699">Exercise caution when using <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b1849926164213">group1</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b134926764220">group2</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b46182864216">group5</strong>, or <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b937561212421">group14</strong> as they have low security.</p>
</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li116386121311">The default value is <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b8469131818421">group15</strong>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row108421544494"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.4.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p228761616364">authentication_method</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.4.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p15287141617368">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.519607843137255%" headers="mcps1.3.4.2.1.4.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1428751653618">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.264705882352935%" headers="mcps1.3.4.2.1.4.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul1581114202398"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li208111720173920">Specifies the authentication method used during IKE negotiation.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li67941326103813">Value range:<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p679422663818"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li67941326103813"></a><a name="en-us_topic_0000001543833172_li67941326103813"></a><strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b18429132962311">pre-share</strong>: pre-shared key</p>
</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li18984123293811">Default value: <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b2020985112915">pre-share</strong></li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row10236162913515"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.4.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1546813295513">lifetime_seconds</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.4.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p54681292512">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="11.519607843137255%" headers="mcps1.3.4.2.1.4.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p3468129153">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.264705882352935%" headers="mcps1.3.4.2.1.4.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul1080514275402"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li9805132724020">Specifies the security association (SA) lifetime. When the lifetime expires, an IKE SA is automatically updated.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li9127243271">The value ranges from 60 to 604800, in seconds.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li14636173511403">The default value is 86400.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row162365291053"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.4.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p11469129653">local_id_type</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.4.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p14469172917515">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.519607843137255%" headers="mcps1.3.4.2.1.4.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p16469202919519">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.264705882352935%" headers="mcps1.3.4.2.1.4.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul1823815102417"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li52381810134118">Specifies the local ID type.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li122673135214">Value range:<ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul5641183054411"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li2604152816439">ip</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li105611817195112">fqdn (currently not supported)</li></ul>
</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1227120122417">The default value is <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b14714145419319">ip</strong>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row72367299518"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.4.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p124691292057">local_id</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.4.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1946914291054">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.519607843137255%" headers="mcps1.3.4.2.1.4.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p84691929653">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.264705882352935%" headers="mcps1.3.4.2.1.4.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul3829145284110"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li16829852174114">Specifies the local ID.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li18648113419550">The value can contain a maximum of 255 case-sensitive characters, including letters, digits, and special characters (excluding &amp; &lt; &gt; [ ] \). Spaces are not supported. Set this parameter when <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b201401410111711">local_id_type</strong> is set to <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b914012108173">fqdn</strong>. The value must be the same as that of <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b7140110101718">peer_id</strong> on the peer device.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row17236529455"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.4.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p646911291157">peer_id_type</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.4.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1346922916511">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.519607843137255%" headers="mcps1.3.4.2.1.4.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p114691429658">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.264705882352935%" headers="mcps1.3.4.2.1.4.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul76599358425"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li06596356427">Specifies the peer ID type.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1879054745118">Value range:<ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul7679195115115"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li9790134765114">ip</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li19544342105118">fqdn (currently not supported)</li></ul>
</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li4228398421">The default value is <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b65782560312">ip</strong>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row6236142917519"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.4.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1946910291359">peer_id</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.4.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p104698294515">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.519607843137255%" headers="mcps1.3.4.2.1.4.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p16469429251">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.264705882352935%" headers="mcps1.3.4.2.1.4.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul1559518220431"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li17595172184312">Specifies the peer ID.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li14913716437">The value can contain a maximum of 255 case-sensitive characters, including letters, digits, and special characters (excluding &amp; &lt; &gt; [ ] \). Spaces are not supported. Set this parameter when <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b19358719101717">peer_id_type</strong> is set to <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b835831971718">fqdn</strong>. The value must be the same as that of <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b1735841991710">local_id</strong> on the peer device.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row1423662920517"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.4.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p184691329353">dpd</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.4.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1020314358539"><a href="#EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92513">Dpd</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="11.519607843137255%" headers="mcps1.3.4.2.1.4.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1347032911514">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.264705882352935%" headers="mcps1.3.4.2.1.4.2.5.1.4 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p847012291654">Specifies the dead peer detection (DPD) object.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92513"></a><a name="en-us_topic_0000001543833172_table92513"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92513" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Dpd</caption><thead align="left"><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row924515293517"><th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.4.2.1.5.2.5.1.1"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p3470182916514">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.4.2.1.5.2.5.1.2"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p74700291651">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.76470588235294%" id="mcps1.3.4.2.1.5.2.5.1.3"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1247072918511">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="49.01960784313725%" id="mcps1.3.4.2.1.5.2.5.1.4"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p347011291959">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row35531123151"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.5.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p154771612141511">timeout</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.5.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p16477512111512">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.5.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p047781201510">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.5.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul114771912101513"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1947719123158">Specifies the interval for retransmitting DPD packets.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li17429101672816">The value ranges from 2 to 60, in seconds.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li15477612191517">The default value is 15.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row624511293512"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.5.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p84703296515">interval</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.5.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p847012293517">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.5.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p047015294519">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.5.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul177072019154313"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li2070751984314">Specifies the DPD idle timeout period.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li3412102314285">The value ranges from 10 to 3600, in seconds.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li19462110431">The default value is 30.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row12457291053"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.5.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p34702029055">msg</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.5.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1447017294519">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.5.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1047013299510">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.5.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul158125219446"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li897532204516">Specifies the format of DPD packets.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1284051412717">Value range:<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p114862251076"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1284051412717"></a><a name="en-us_topic_0000001543833172_li1284051412717"></a><strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b22241157144410">seq-hash-notify</strong>: indicates that the payload of DPD packets is in the sequence of hash-notify.</p>
<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p99061371978"><strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b121851934515">seq-notify-hash</strong>: indicates that the payload of DPD packets is in the sequence of notify-hash.</p>
</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li121931237142819">The default value is <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b439432814459">seq-hash-notify</strong>.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92510"></a><a name="en-us_topic_0000001543833172_table92510"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92510" frame="border" border="1" rules="all"><caption><b>Table 7 </b>IpsecPolicy</caption><thead align="left"><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row1227162912520"><th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.4.2.1.6.2.5.1.1"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p322820291959">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.4.2.1.6.2.5.1.2"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p16228152914512">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.76470588235294%" id="mcps1.3.4.2.1.6.2.5.1.3"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p922812291550">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="49.01960784313725%" id="mcps1.3.4.2.1.6.2.5.1.4"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p13228429551">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row16227152913516"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p52287295518">authentication_algorithm</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p19229192911512">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p822920291556">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.6.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul1250214005118"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li7907163744912">Specifies an authentication algorithm.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li133519415177">Value range:<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p18414174113010"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li133519415177"></a><a name="en-us_topic_0000001543833172_li133519415177"></a>sha2-512, sha2-384, sha2-256, sha1, md5</p>
<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p193351744177">Exercise caution when using <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b13787913104014">sha1</strong> and <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b12787111314405">md5</strong> as they have low security.</p>
</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1133518421715">Default value:<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1374029314"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1133518421715"></a><a name="en-us_topic_0000001543833172_li1133518421715"></a>sha2-256</p>
</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row422732918519"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p202308299520">encryption_algorithm</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p14230122910514">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p82301329753">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.6.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul125025401511"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li8416185984916">Specifies an encryption algorithm.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li4625131913173">Value range:<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p14681224123111"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li4625131913173"></a><a name="en-us_topic_0000001543833172_li4625131913173"></a>aes-256-gcm-16, aes-128-gcm-16, aes-256, aes-192, aes-128, 3des</p>
<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p9625191941715">Exercise caution when using <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b08845244017">3des</strong> as it has low security.</p>
</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li4625219161714">Default value:<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p3407741113111"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li4625219161714"></a><a name="en-us_topic_0000001543833172_li4625219161714"></a>aes-128</p>
</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row022716293517"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p723132914515">pfs</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p16231029057">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p023292913516">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.6.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul1031211105469"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1431281044611">Specifies the DH key group used by Perfect Forward Secrecy (PFS).</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li6928141142920">The value can be <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b141511814124611">group1</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b1115281414464">group2</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b71529149462">group5</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b1515331414466">group14</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b1415431418465">group15</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b13155191434612">group16</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b171555147463">group19</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b8156714164611">group20</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b4157131484620">group21</strong>, or <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b11397182164616">disable</strong>.<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p29533381671">Exercise caution when using <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b19203122494215">group1</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b1220310241424">group2</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b6203182454213">group5</strong>, or <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b1520319245424">group14</strong> as they have low security.</p>
</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li6312191064619">The default value is <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b571383602212">group15</strong>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row7227192917510"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p16233132916515">transform_protocol</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1823315297514">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1123316291356">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.6.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul13678851104610"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li17678165154616">Specifies the transfer protocol.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1482613195504">Value range:<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p3444122735018"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1482613195504"></a><a name="en-us_topic_0000001543833172_li1482613195504"></a><strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b81688012478">esp</strong>: encapsulating security payload protocol</p>
</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li205451632202914">The default value is <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b1172165412499">esp</strong>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row1622792918519"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1946512291654">lifetime_seconds</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p146520291957">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p19465122919513">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.6.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul167218134477"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li15720133479">Specifies the lifetime of a tunnel established over an IPsec connection.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li918145473013">The value ranges from 30 to 604800, in seconds.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li0903114144715">The default value is 3600.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row18227429356"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.6.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p20466192910510">encapsulation_mode</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.6.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1146672916514">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.6.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p846617295519">No</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.6.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul1851117194911"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li131446599141">Specifies the packet encapsulation mode.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1513714102150">Value range:<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p172081112161510"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1513714102150"></a><a name="en-us_topic_0000001543833172_li1513714102150"></a><strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b59741134115117">tunnel</strong>: encapsulates packets in tunnel mode.</p>
</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1267418015313">The default value is <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b59881455175114">tunnel</strong>.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92238"></a><a name="en-us_topic_0000001543833172_table92238"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92238" frame="border" border="1" rules="all"><caption><b>Table 8 </b>VpnResourceTag</caption><thead align="left"><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row12907152516281"><th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.4.2.1.7.2.5.1.1"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1790862522818">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.4.2.1.7.2.5.1.2"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1590862511281">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.76470588235294%" id="mcps1.3.4.2.1.7.2.5.1.3"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p190822518281">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="49.01960784313725%" id="mcps1.3.4.2.1.7.2.5.1.4"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p11908132532819">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row19907325142817"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.7.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p86437477589">key</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.7.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p11643144711589">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.7.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p764319470581">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.7.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul65231833153920"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1303152053315">Specifies a tag key.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li152316335391">The value is a string of 1 to 128 characters that can contain digits, letters, Spanish characters, Portuguese characters, spaces, and special characters (_ . : = + - @).</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row129071625122816"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.7.2.5.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p16643847205814">value</p>
</td>
<td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.4.2.1.7.2.5.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p764324795815">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.76470588235294%" headers="mcps1.3.4.2.1.7.2.5.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p18643647195814">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="49.01960784313725%" headers="mcps1.3.4.2.1.7.2.5.1.4 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul961219349376"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li5601175311451">Specifies a tag value.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li186123345379">The value is a string of 0 to 255 characters that can contain digits, letters, Spanish characters, Portuguese characters, spaces, and special characters (_ . : = + - @).</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1414813715583">Example requests<ol id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ol2318105193318"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li17318651123315">Create a VPN connection in static routing mode.<pre class="screen" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_screen123591915114116">POST https://{Endpoint}/v5/{project_id}/vpn-connection
{
"vpn_connection": {
"vgw_id": "b32d91a4-demo-a8df-va86-e907174eb11d",
"vgw_ip": "0c464dad-demo-a8df-va86-c22bb0eb0bde",
"cgw_id": "5247ae10-demo-a8df-va86-dd36659a7f5d",
"peer_subnets": [
"192.168.44.0/24"
],
"psk": "abcd****"
}
}</pre>
</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1510862583417">Create a VPN connection in policy-based mode.<pre class="screen" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_screen1135813154414">POST https://{Endpoint}/v5/{project_id}/vpn-connection
{
"vpn_connection": {
"vgw_id": "b32d91a4-demo-a8df-va86-e907174eb11d",
"vgw_ip": "0c464dad-demo-a8df-va86-c22bb0eb0bde",
"style": "policy",
"cgw_id": "5247ae10-demo-a8df-va86-dd36659a7f5d",
"peer_subnets": [
"192.168.44.0/24"
],
"psk": "abcd****",
"policy_rules": [{
"rule_index": 1,
"source": "10.0.0.0/24",
"destination": [
"192.168.0.0/24"
]
}]
}
}</pre>
</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li15374153873419">Create a VPN connection in BGP routing mode.<pre class="screen" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_screen735991511411">POST https://{Endpoint}/v5/{project_id}/vpn-connection
{
"vpn_connection": {
"name": "vpn-1655",
"vgw_id": "b32d91a4-demo-a8df-va86-e907174eb11d",
"vgw_ip": "0c464dad-demo-a8df-va86-c22bb0eb0bde",
"style": "bgp",
"cgw_id": "5247ae10-demo-a8df-va86-dd36659a7f5d",
"peer_subnets": [
"192.168.44.0/24"
],
"tunnel_local_address": "169.254.56.225/30",
"tunnel_peer_address": "169.254.56.226/30",
"psk": "abcd****",
"ikepolicy": {
"ike_version": "v2",
"authentication_algorithm": "sha2-512",
"encryption_algorithm": "aes-256",
"dh_group": "group16",
"lifetime_seconds": 172800,
"local_id": "123***",
"peer_id": "456***",
"dpd": {
"timeout": 30,
"interval": 60,
"msg": "seq-notify-hash"
}
},
"ipsecpolicy": {
"authentication_algorithm": "sha2-512",
"encryption_algorithm": "aes-256",
"pfs": "group16",
"transform_protocol": "esp",
"lifetime_seconds": 7200,
"encapsulation_mode": "tunnel"
}
}
}</pre>
</li></ol>
</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_section33379675"><h4 class="sectiontitle">Response</h4><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul2144514204819"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li61441714114816">Response parameters<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1623112417119"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li61441714114816"></a><a name="en-us_topic_0000001543833172_li61441714114816"></a>Returned status code 201: successful operation</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92514" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Parameters in the response body</caption><thead align="left"><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row1425215291353"><th align="left" class="cellrowborder" valign="top" width="22.220000000000002%" id="mcps1.3.5.2.1.2.2.4.1.1"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1647242911518">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22.220000000000002%" id="mcps1.3.5.2.1.2.2.4.1.2"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1047322910518">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="55.559999999999995%" id="mcps1.3.5.2.1.2.2.4.1.3"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p124731929954">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row9252142911517"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p44735298516">vpn_connection</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1143521232011"><a href="#EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92515">ResponseVpnConnection</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p144733291955">Specifies the VPN connection object.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row102526295512"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p64738290510">request_id</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p14731429055">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p11473129352">Specifies a request ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92515"></a><a name="en-us_topic_0000001543833172_table92515"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92515" frame="border" border="1" rules="all"><caption><b>Table 10 </b>ResponseVpnConnection</caption><thead align="left"><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row225413291751"><th align="left" class="cellrowborder" valign="top" width="22.16%" id="mcps1.3.5.2.1.3.2.4.1.1"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p74736296516">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22.16%" id="mcps1.3.5.2.1.3.2.4.1.2"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p547313291758">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="55.67999999999999%" id="mcps1.3.5.2.1.3.2.4.1.3"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p647312916511">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row82542291355"><td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p18473132910519">id</p>
</td>
<td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p847317291758">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.67999999999999%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul1064673414438"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li4646123404312">Specifies a VPN connection ID.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li159901033598">The value is a UUID containing 36 characters.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row1125411291252"><td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p9473329351">name</p>
</td>
<td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p147316291953">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.67999999999999%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul1299053310918"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li984125514435">Specifies a VPN connection name. If no VPN connection name is specified, the system automatically generates one.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li16990233898">The value is a string of 1 to 64 characters, which can contain digits, letters, underscores (_), and hyphens (-).</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row1325472916511"><td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p124741529454">vgw_id</p>
</td>
<td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p74741629550">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.67999999999999%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul136649501691"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li46641502092">Specifies a VPN gateway ID.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li91977350441">The value is a UUID containing 36 characters.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row18254202911515"><td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p14744294518">vgw_ip</p>
</td>
<td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p154741029252">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.67999999999999%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul6665850398"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li15665135012911">Specifies an EIP ID or private IP address of the VPN gateway.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li13665165016920">The value is a UUID containing 36 characters or an IPv4 address in dotted decimal notation (for example, 192.168.45.7).</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row172545291459"><td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p184745291055">style</p>
</td>
<td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1947402910513">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.67999999999999%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul97381430161412"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li17381830121413">Specifies the connection mode.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li106691158111412">Value range:<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1666545014915"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li106691158111412"></a><a name="en-us_topic_0000001543833172_li106691158111412"></a><strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b1015110195544">POLICY</strong>: policy-based mode</p>
<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p166656501992"><strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b7547428155419">STATIC</strong>: static routing mode</p>
<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p106651350091"><strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b18323163210546">BGP</strong>: BGP routing mode</p>
</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row72541292516"><td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p194747291656">cgw_id</p>
</td>
<td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1247432914515">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.67999999999999%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul18590024121317"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li117211751101313">Specifies a customer gateway ID.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li9590152415133">The value is a UUID containing 36 characters.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row32545291154"><td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1547542912510">peer_subnets</p>
</td>
<td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p194751429056">Array of String</p>
</td>
<td class="cellrowborder" valign="top" width="55.67999999999999%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p176711921639">Specifies a customer subnet. This parameter is not returned when the association mode of the VPN gateway is <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b15641316195516">ER</strong> and <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b134964197558">style</strong> is <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b117511536165511">BGP</strong> or <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b1197175344312">POLICY</strong>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row1025416292520"><td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1047512291059">tunnel_local_address</p>
</td>
<td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p447592917513">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.67999999999999%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1547512912514">Specifies the tunnel interface address configured on the VPN gateway in route-based mode. This parameter is valid only when <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b18685131013567">style</strong> is <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b1489161915561">STATIC</strong> or <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b13737120185612">BGP</strong>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row10254182918510"><td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1347513291555">tunnel_peer_address</p>
</td>
<td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p247518298511">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.67999999999999%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p847519295511">Specifies the tunnel interface address configured on the customer gateway device in route-based mode. This parameter is valid only when <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b2020432185613">style</strong> is <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b820414212560">STATIC</strong> or <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b1520452155619">BGP</strong>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row425418291057"><td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p14475142920511">enable_nqa</p>
</td>
<td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p84757291351">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="55.67999999999999%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul12665195012919"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1266518506914">Specifies whether NQA is enabled. This parameter is returned only when <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b1671211715572">style</strong> is <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b171318717579">STATIC</strong>.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1665950492">The value can be <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b1493413245195">true</strong> or <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b2934824101914">false</strong>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row125412912518"><td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p174756292511">policy_rules</p>
</td>
<td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p13475929950">Array of <a href="#EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92516">PolicyRule</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="55.67999999999999%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1247510294516">Specifies policy rules, which are returned only when <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b4987122051518">style</strong> is set to <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b16297192201513">POLICY</strong>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row82541129158"><td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1747513291057">ikepolicy</p>
</td>
<td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p84359441110"><a href="#EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92517">IkePolicy</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="55.67999999999999%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p03543072813">Specifies the IKE policy object.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row13255102912518"><td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1347518291510">ipsecpolicy</p>
</td>
<td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1820813511539"><a href="#EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92518">IpsecPolicy</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="55.67999999999999%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1635230112813">Specifies the IPsec policy object.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row20255182916515"><td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p24754291152">created_at</p>
</td>
<td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p4475162914519">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.67999999999999%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul13548558132310"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1642383152420">Specifies the time when the VPN connection is created.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li55481858132312">The UTC time format is <em id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_i115872282233930">yyyy-MM-ddTHH:mm:ss.SSSZ</em>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row10255162910514"><td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p104761029453">updated_at</p>
</td>
<td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1947642916520">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.67999999999999%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul6106151392213"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li14238322412">Specifies the last update time.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1277785732017">The UTC time format is <em id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_i21987725033930">yyyy-MM-ddTHH:mm:ss.SSSZ</em>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row19255929057"><td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1047613291956">enterprise_project_id</p>
</td>
<td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p04761292053">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.67999999999999%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul1346517119494"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1243612127408">Specifies an enterprise project ID.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li144651611124913">The value is a UUID containing 36 characters. The value must be the same as the enterprise project ID of the VPN gateway specified by <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b105251048175912">vgw_id</strong>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row1575714401371"><td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1316114817376">ha_role</p>
</td>
<td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p9161048193716">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.67999999999999%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul516134823715"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li816124833714">For a VPN gateway in active-standby mode, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b3268134133318">master</strong> indicates the active connection, and <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b719913462339">slave</strong> indicates the standby connection. For a VPN gateway in active-active mode, the value of <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b1537111412341">ha_role</strong> can only be <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b511902716349">master</strong>.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1516144819375">The default value is <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b169431130112715">master</strong>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row1322119479425"><td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p14785225145413">tags</p>
</td>
<td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p147855259548">Array of <a href="#EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table4138248135518">VpnResourceTag</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="55.67999999999999%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1280042717591">Specifies a tag list.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row2076005918434"><td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p197601059134318">eip_id</p>
</td>
<td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p20848192034414">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.67999999999999%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul5536750154420"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li05361450114414">Specifies an EIP ID or private IP address of the VPN gateway.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li15536115074411">The value is a UUID containing 36 characters or an IPv4 address in dotted decimal notation (for example, 192.168.45.7).<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p44963582149"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li15536115074411"></a><a name="en-us_topic_0000001543833172_li15536115074411"></a>This parameter has been deprecated, but is retained for compatibility purposes. Using this parameter is not recommended.</p>
</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row817913210443"><td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p16179152174410">type</p>
</td>
<td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p12179222448">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.67999999999999%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul106464105013"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li116594175020">Specifies the connection mode.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li196594185014">Value range:<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p96514185013"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li196594185014"></a><a name="en-us_topic_0000001543833172_li196594185014"></a><strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b525220327171">POLICY</strong>: policy-based mode</p>
<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p176564125020"><strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b469274316179">ROUTE</strong>: routing mode</p>
<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p184041030185010">This parameter has been deprecated, but is retained for compatibility purposes. Using this parameter is not recommended.</p>
</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row05971155144319"><td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p15971555174318">route_mode</p>
</td>
<td class="cellrowborder" valign="top" width="22.16%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p85971554431">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.67999999999999%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul6822164365013"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li582204305020">Specifies the routing mode.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li16822114385020">Value range:<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p0822043105010"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li16822114385020"></a><a name="en-us_topic_0000001543833172_li16822114385020"></a><strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b10444031387173">static</strong>: static routing mode</p>
<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p182284315013"><strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b317165911171">bgp</strong>: BGP routing mode</p>
<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p138221843105016">This parameter has been deprecated, but is retained for compatibility purposes. Using this parameter is not recommended.</p>
</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92516"></a><a name="en-us_topic_0000001543833172_table92516"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92516" frame="border" border="1" rules="all"><caption><b>Table 11 </b>PolicyRule</caption><thead align="left"><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row4264202920510"><th align="left" class="cellrowborder" valign="top" width="22.220000000000002%" id="mcps1.3.5.2.1.4.2.4.1.1"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p7476122918512">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22.220000000000002%" id="mcps1.3.5.2.1.4.2.4.1.2"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p194761229554">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="55.559999999999995%" id="mcps1.3.5.2.1.4.2.4.1.3"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1447614291952">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row826410291858"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.4.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p164761729858">rule_index</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.4.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p847619293515">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.4.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul148478916105"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li684718971018">Specifies a rule ID.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li14847169201013">The value ranges from 0 to 50.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row52646291516"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.4.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p24761229651">source</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.4.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p14476142916519">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.4.2.4.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1847620291056">Specifies a source CIDR block.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row226482911520"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.4.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p047772911518">destination</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.4.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1247716297520">Array of String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.4.2.4.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1457013454314">Specifies a destination CIDR block. For example, a destination CIDR block can be 192.168.52.0/24. A maximum of 50 destination CIDR blocks can be returned for each policy rule.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92517"></a><a name="en-us_topic_0000001543833172_table92517"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92517" frame="border" border="1" rules="all"><caption><b>Table 12 </b>IkePolicy</caption><thead align="left"><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row152667291254"><th align="left" class="cellrowborder" valign="top" width="22.220000000000002%" id="mcps1.3.5.2.1.5.2.4.1.1"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1547714299515">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22.220000000000002%" id="mcps1.3.5.2.1.5.2.4.1.2"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1477192920514">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="55.559999999999995%" id="mcps1.3.5.2.1.5.2.4.1.3"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1447772914516">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row19266182920513"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.5.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1847719294515">ike_version</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.5.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p5477029757">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.5.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul84805211109"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li12481192181016">Specifies the IKE version.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li2481121151017">The value can be <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b63102181533">v1</strong> or <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b10310131825317">v2</strong>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row02661929652"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.5.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p94771629552">phase1_negotiation_mode</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.5.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p19477829258">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.5.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul2481162119104"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li94811021101015">Specifies the negotiation mode. This parameter is available only when the IKE version is <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b342112511511">v1</strong>.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li16481921151010">Value range:<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1348112217104"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li16481921151010"></a><a name="en-us_topic_0000001543833172_li16481921151010"></a><strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b4700121119213">main</strong>: ensures high security during negotiation.</p>
<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p148122116107"><strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b9749415024">aggressive</strong>: ensures fast negotiation and a high negotiation success rate.</p>
</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row1026610297513"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.5.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1747710291514">authentication_algorithm</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.5.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p11477129053">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.5.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul204811921191020"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1368346062">Specifies an authentication algorithm.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li14481621111012">The value can be <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b17421810153114">sha2-512</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b197421910203110">sha2-384</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b1774220108314">sha2-256</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b14742111016316">sha1</strong>, or <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b13742910103115">md5</strong>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row22668291257"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.5.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p847816296519">encryption_algorithm</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.5.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p647819291959">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.5.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul7481132141015"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li748172120107">Specifies an encryption algorithm.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li20481192111105">The value can be <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b5787718133110">aes-256-gcm-16</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b3787131817313">aes-128-gcm-16</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b117871418153118">aes-256</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b57877188312">aes-192</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b2078731863120">aes-128</strong>, or <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b17787131863112">3des</strong>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row12266102917513"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.5.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p174783296512">dh_group</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.5.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p74780291757">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.5.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul1948182111109"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li14481182121010">Specifies the DH group used for key exchange in phase 1. </li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li134811421161013">The value can be <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b5695182432219">group1</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b146951424112216">group2</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b196957248225">group5</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b169572422219">group14</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b16695424152212">group15</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b16951224122213">group16</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b669514240228">group19</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b17695924142213">group20</strong>, or <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b669592410221">group21</strong>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row1426610294520"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.5.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1547920291453">authentication_method</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.5.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p847962911514">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.5.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul548118217104"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1248118218104">Specifies the authentication method used during IKE negotiation.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li152260571264">Value range:<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p618175810611"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li152260571264"></a><a name="en-us_topic_0000001543833172_li152260571264"></a><strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b743001409">pre-share</strong>: pre-shared key</p>
</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row1326618291459"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.5.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1147919291156">lifetime_seconds</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.5.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p74795293519">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.5.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul1448120211104"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li648116215104">Specifies the SA lifetime. When the lifetime expires, an IKE SA is automatically updated.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li3481162181011">The value ranges from 60 to 604800, in seconds.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row16266529157"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.5.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p54791292517">local_id_type</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.5.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p34791829955">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.5.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul134821721101018"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1748210210108">Specifies the local ID type. </li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li166921028105220">Value range:<ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul219783218523"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li168791526195220">ip</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li72203585219">fqdn (currently not supported)</li></ul>
</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row172661929152"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.5.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p174804291457">local_id</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.5.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p748082919510">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.5.2.4.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1182183913526">Specifies the local ID. When <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b75571735111710">local_id_type</strong> is set to <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b155833551712">ip</strong>, the VPN gateway IP address corresponding to the VPN connection is returned. When <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b05581335161712">local_id_type</strong> is set to <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b15558133514173">fqdn</strong>, the local ID specified during VPN connection creation or update is returned.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row72662292514"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.5.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p848018291859">peer_id_type</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.5.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p14480182917512">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.5.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul6534115182915"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li19534195102916">Specifies the peer ID type. </li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1186113592524">Value range:<ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul1986285915524"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li886295912522">ip</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li986213591523">fqdn (currently not supported)</li></ul>
</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row122661129751"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.5.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p184802029256">peer_id</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.5.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p174801291056">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.5.2.4.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p310091716567">Specifies the peer ID. When <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b8636184491717">peer_id_type</strong> is set to <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b6636144481716">ip</strong>, the IP address of the customer gateway is returned. When <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b663744410177">peer_id_type</strong> is set to <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b7637164415177">fqdn</strong>, the peer ID specified during VPN connection creation or update is returned.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row72661929759"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.5.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p104801229050">dpd</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.5.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p132111035195315"><a href="#EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92520">Dpd</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.5.2.4.1.3 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p25441143154">Specifies the DPD object.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92520"></a><a name="en-us_topic_0000001543833172_table92520"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92520" frame="border" border="1" rules="all"><caption><b>Table 13 </b>Dpd</caption><thead align="left"><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row1427512291657"><th align="left" class="cellrowborder" valign="top" width="22.220000000000002%" id="mcps1.3.5.2.1.6.2.4.1.1"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p54814291951">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22.220000000000002%" id="mcps1.3.5.2.1.6.2.4.1.2"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p18481729559">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="55.559999999999995%" id="mcps1.3.5.2.1.6.2.4.1.3"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p148113292516">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row1230151122915"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.6.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1615158172918">timeout</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.6.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p915158162916">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.6.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul13255932171011"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li9255632141019">Specifies the interval for retransmitting DPD packets.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li12551332161013">The value ranges from 2 to 60, in seconds.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row227562919513"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.6.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p20481129550">interval</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.6.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p104815291553">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.6.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul202551632171012"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li8255113210105">Specifies the DPD idle timeout period.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1625513214109">The value ranges from 10 to 3600, in seconds.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row15275182912514"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.6.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1248117291512">msg</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.6.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p14811297513">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.6.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul122551832111019"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li0255103281017">Specifies the format of DPD packets.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li225583221017">Value range:<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p182556324105"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li225583221017"></a><a name="en-us_topic_0000001543833172_li225583221017"></a><strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b6275414134510">seq-hash-notify</strong>: indicates that the payload of DPD packets is in the sequence of hash-notify.</p>
<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p125523220101"><strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b8967133594716">seq-notify-hash</strong>: indicates that the payload of DPD packets is in the sequence of notify-hash.</p>
</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92518"></a><a name="en-us_topic_0000001543833172_table92518"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table92518" frame="border" border="1" rules="all"><caption><b>Table 14 </b>IpsecPolicy</caption><thead align="left"><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row12773291155"><th align="left" class="cellrowborder" valign="top" width="22.220000000000002%" id="mcps1.3.5.2.1.7.2.4.1.1"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p184829291155">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22.220000000000002%" id="mcps1.3.5.2.1.7.2.4.1.2"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p948217291558">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="55.559999999999995%" id="mcps1.3.5.2.1.7.2.4.1.3"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1648212912517">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row112771229856"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.7.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1148214291053">authentication_algorithm</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.7.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p194821429455">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.7.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul11212415102"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li2121184131012">Specifies an authentication algorithm.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li5121941171018">The value can be <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b14669185612316">sha2-512</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b18669115613119">sha2-384</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b1666995633118">sha2-256</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b1266915565312">sha1</strong>, or <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b136697565318">md5</strong>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row727732913512"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.7.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p248262910510">encryption_algorithm</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.7.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p194821429551">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.7.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul312124112109"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1608112013145">Specifies an encryption algorithm.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li181215416108">The value can be <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b1595413083218">aes-256-gcm-16</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b4954305329">aes-128-gcm-16</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b1695413013325">aes-256</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b29541105324">aes-192</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b99542019324">aes-128</strong>, or <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b89541501322">3des</strong>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row527782919516"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.7.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1948312910515">pfs</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.7.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p18483929651">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.7.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul121216411104"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li312114416109">Specifies the DH key group used by PFS. </li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li2121194119106">The value can be <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b3430423174614">group1</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b164301723124616">group2</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b34301023164617">group5</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b1743062318461">group14</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b20430423104613">group15</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b843092364615">group16</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b13430182319464">group19</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b24301623194612">group20</strong>, <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b743072310465">group21</strong>, or <strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b2430142310462">disable</strong>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row82771429051"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.7.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p748362911516">transform_protocol</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.7.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p154832029956">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.7.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul13121144131014"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li41211041171012">Specifies the transfer protocol.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li8121114171014">Value range:<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p17122441121010"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li8121114171014"></a><a name="en-us_topic_0000001543833172_li8121114171014"></a><strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b319985317499">esp</strong>: encapsulating security payload protocol</p>
</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row42774291519"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.7.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p6483122913513">lifetime_seconds</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.7.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p15483329853">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.7.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul15122541141014"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li18122184110108">Specifies the lifetime of a tunnel established over an IPsec connection.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li412214112104">The value ranges from 30 to 604800, in seconds.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row1027710291551"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.7.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p184840292519">encapsulation_mode</p>
</td>
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.7.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1048418297511">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.5.2.1.7.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul71228416104"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li4463194741413">Specifies the packet encapsulation mode.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1149413505145">Value range:<p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p19823165120146"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1149413505145"></a><a name="en-us_topic_0000001543833172_li1149413505145"></a><strong id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_b9754114765119">tunnel</strong>: encapsulates packets in tunnel mode.</p>
</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table4138248135518"></a><a name="en-us_topic_0000001543833172_table4138248135518"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_table4138248135518" frame="border" border="1" rules="all"><caption><b>Table 15 </b>VpnResourceTag</caption><thead align="left"><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row313874885517"><th align="left" class="cellrowborder" valign="top" width="22.220000000000002%" id="mcps1.3.5.2.1.8.2.4.1.1"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1613864810559">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22.009999999999998%" id="mcps1.3.5.2.1.8.2.4.1.2"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p11138114805517">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="55.769999999999996%" id="mcps1.3.5.2.1.8.2.4.1.3"><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p913874812558">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row5138148125515"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.8.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p121761293375">key</p>
</td>
<td class="cellrowborder" valign="top" width="22.009999999999998%" headers="mcps1.3.5.2.1.8.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p41771729153718">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.769999999999996%" headers="mcps1.3.5.2.1.8.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul4177729133712"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1217762923713">Specifies a tag key.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li41771629103713">The value is a string of 1 to 128 characters that can contain digits, letters, Spanish characters, Portuguese characters, spaces, and special characters (_ . : = + - @).</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_row16139174885513"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.5.2.1.8.2.4.1.1 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p171774293371">value</p>
</td>
<td class="cellrowborder" valign="top" width="22.009999999999998%" headers="mcps1.3.5.2.1.8.2.4.1.2 "><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p1617782919374">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.769999999999996%" headers="mcps1.3.5.2.1.8.2.4.1.3 "><ul id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ul10177112943717"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1917702915375">Specifies a tag value.</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li11177152993718">The value is a string of 0 to 255 characters that can contain digits, letters, Spanish characters, Portuguese characters, spaces, and special characters (_ . : = + - @).</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li2022416307598">Example responses<ol id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_ol10961164217374"><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li0961174263717">Response to the request for creating a VPN connection in static routing mode<pre class="screen" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_screen1541252123318">{
"vpn_connection": {
"id": "98c5af8a-6ee2-4482-99a2-ae2280a6f4c3",
"name": "vpn-b2cb",
"vgw_id": "b32d91a4-demo-a8df-va86-e907174eb11d",
"vgw_ip": "0c464dad-demo-a8df-va86-c22bb0eb0bde",
"style": "STATIC",
"cgw_id": "5247ae10-demo-a8df-va86-dd36659a7f5d",
"peer_subnets": ["192.168.44.0/24"],
"tunnel_local_address": "169.254.56.225/30",
"tunnel_peer_address": "169.254.56.226/30",
"enable_nqa": false,
"ikepolicy": {
"ike_version": "v2",
"authentication_algorithm": "sha2-256",
"encryption_algorithm": "aes-128",
"dh_group": "group15",
"authentication_method": "pre-share",
"lifetime_seconds": 86400,
"local_id_type": "ip",
"local_id": "10.***.***.134",
"peer_id_type": "ip",
"peer_id": "88.***.***.164",
"dpd": {
"timeout": 15,
"interval": 30,
"msg": "seq-hash-notify"
}
},
"ipsecpolicy": {
"authentication_algorithm": "sha2-256",
"encryption_algorithm": "aes-128",
"pfs": "group15",
"transform_protocol": "esp",
"lifetime_seconds": 3600,
"encapsulation_mode": "tunnel"
},
"created_at": "2024-06-28T09:41:11.445Z",
"updated_at": "2024-06-28T09:41:11.445Z",
"enterprise_project_id": "0",
"ha_role":"master"
},
"request_id": "f91082d4-6d49-479c-ad1d-4e552a9f5cae"
}</pre>
</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li15404195823718">Response to the request for creating a connection in policy-based mode<pre class="screen" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_screen52691313145211">{
"vpn_connection": {
"id": "98c5af8a-demo-a8df-va86-ae2280a6f4c3",
"name": "vpn-799d",
"vgw_id": "b32d91a4-demo-a8df-va86-e907174eb11d",
"vgw_ip": "0c464dad-demo-a8df-va86-c22bb0eb0bde",
"style": "POLICY",
"cgw_id": "5247ae10-demo-a8df-va86-dd36659a7f5d",
"peer_subnets": ["192.168.44.0/24"],
"tunnel_local_address": "169.254.56.225/30",
"tunnel_peer_address": "169.254.56.226/30",
"policy_rules": [{
"rule_index": 1,
"source": "10.0.0.0/24",
"destination": [
"192.168.44.0/24"
]
}],
"ikepolicy": {
"ike_version": "v2",
"authentication_algorithm": "sha2-256",
"encryption_algorithm": "aes-128",
"dh_group": "group15",
"authentication_method": "pre-share",
"lifetime_seconds": 86400,
"local_id_type": "ip",
"local_id": "10.***.***.134",
"peer_id_type": "ip",
"peer_id": "88.***.***.164",
"dpd": {
"timeout": 15,
"interval": 30,
"msg": "seq-hash-notify"
}
},
"ipsecpolicy": {
"authentication_algorithm": "sha2-256",
"encryption_algorithm": "aes-128",
"pfs": "group15",
"transform_protocol": "esp",
"lifetime_seconds": 3600,
"encapsulation_mode": "tunnel"
},
"created_at": "2024-06-28T09:41:11.445Z",
"updated_at": "2024-06-28T09:41:11.445Z",
"enterprise_project_id": "0",
"ha_role":"master"
},
"request_id": "f91082d4-6d49-479c-ad1d-4e552a9f5cae"
}</pre>
</li><li id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_li1655691453819">Response to the request for creating a VPN connection in BGP routing mode<pre class="screen" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_screen9269191355216">{
"vpn_connection": {
"id": "98c5af8a-demo-a8df-va86-ae2280a6f4c3",
"name": "vpn-1655",
"vgw_id": "b32d91a4-demo-a8df-va86-e907174eb11d",
"vgw_ip": "0c464dad-demo-a8df-va86-c22bb0eb0bde",
"style": "BGP",
"cgw_id": "5247ae10-demo-a8df-va86-dd36659a7f5d",
"peer_subnets": ["192.168.44.0/24"],
"tunnel_local_address": "169.254.56.225/30",
"tunnel_peer_address": "169.254.56.226/30",
"ikepolicy": {
"ike_version": "v2",
"authentication_algorithm": "sha2-512",
"encryption_algorithm": "aes-256",
"dh_group": "group16",
"authentication_method": "pre-share",
"lifetime_seconds": 172800,
"local_id": "123***",
"peer_id": "456***",
"dpd": {
"timeout": 30,
"interval": 60,
"msg": "seq-notify-hash"
}
},
"ipsecpolicy": {
"authentication_algorithm": "sha2-512",
"encryption_algorithm": "aes-256",
"pfs": "group16",
"transform_protocol": "esp",
"lifetime_seconds": 7200,
"encapsulation_mode": "tunnel"
},
"created_at": "2024-06-28T09:41:11.445Z",
"updated_at": "2024-06-28T09:41:11.445Z",
"enterprise_project_id": "0",
"ha_role":"master"
},
"request_id": "f91082d4-6d49-479c-ad1d-4e552a9f5cae"
}</pre>
</li></ol>
</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_section31981619"><h4 class="sectiontitle">Status Codes</h4><p id="EN-US_TOPIC_0000001854169149__en-us_topic_0000001543833172_p18112112662914">For details, see <a href="vpn_api_0052.html#EN-US_TOPIC_0000001807370508">Status Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="vpn_api_0026.html">VPN Connection</a></div>
</div>
</div>