az network vpn-gateway connection ipsec-policy
Note
This reference is part of the virtual-wan extension for the Azure CLI (version 2.55.0 or higher). The extension will automatically install the first time you run an az network vpn-gateway connection ipsec-policy command. Learn more about extensions.
Manage site-to-site VPN gateway connection IPSec policies.
Commands
Name | Description | Type | Status |
---|---|---|---|
az network vpn-gateway connection ipsec-policy add |
Add an IPSec policy to a site-to-site VPN gateway connection. |
Extension | GA |
az network vpn-gateway connection ipsec-policy list |
List site-to-site VPN gateway connection IPSec policies. |
Extension | GA |
az network vpn-gateway connection ipsec-policy remove |
Remove an IPSec policy from a site-to-site VPN gateway connection. |
Extension | GA |
az network vpn-gateway connection ipsec-policy add
Add an IPSec policy to a site-to-site VPN gateway connection.
az network vpn-gateway connection ipsec-policy add --connection-name
--dh-group {DHGroup1, DHGroup14, DHGroup2, DHGroup2048, DHGroup24, ECP256, ECP384, None}
--gateway-name
--ike-encryption {AES128, AES192, AES256, DES, DES3, GCMAES128, GCMAES256}
--ike-integrity {GCMAES128, GCMAES256, MD5, SHA1, SHA256, SHA384}
--ipsec-encryption {AES128, AES192, AES256, DES, DES3, GCMAES128, GCMAES192, GCMAES256, None}
--ipsec-integrity {GCMAES128, GCMAES192, GCMAES256, MD5, SHA1, SHA256}
--pfs-group {ECP256, ECP384, None, PFS1, PFS14, PFS2, PFS2048, PFS24, PFSMM}
--resource-group
--sa-data-size
--sa-lifetime
[--no-wait]
Required Parameters
Name of the VPN gateway connection.
DH Groups used in IKE Phase 1 for initial SA.
Property | Value |
---|---|
Parameter group: | IP Security Arguments |
Accepted values: | DHGroup1, DHGroup14, DHGroup2, DHGroup2048, DHGroup24, ECP256, ECP384, None |
Name of the VPN gateway.
IKE encryption algorithm (IKE phase 2).
Property | Value |
---|---|
Parameter group: | IP Security Arguments |
Accepted values: | AES128, AES192, AES256, DES, DES3, GCMAES128, GCMAES256 |
IKE integrity algorithm (IKE phase 2).
Property | Value |
---|---|
Parameter group: | IP Security Arguments |
Accepted values: | GCMAES128, GCMAES256, MD5, SHA1, SHA256, SHA384 |
IPSec encryption algorithm (IKE phase 1).
Property | Value |
---|---|
Parameter group: | IP Security Arguments |
Accepted values: | AES128, AES192, AES256, DES, DES3, GCMAES128, GCMAES192, GCMAES256, None |
IPSec integrity algorithm (IKE phase 1).
Property | Value |
---|---|
Parameter group: | IP Security Arguments |
Accepted values: | GCMAES128, GCMAES192, GCMAES256, MD5, SHA1, SHA256 |
The Pfs Groups used in IKE Phase 2 for new child SA.
Property | Value |
---|---|
Parameter group: | IP Security Arguments |
Accepted values: | ECP256, ECP384, None, PFS1, PFS14, PFS2, PFS2048, PFS24, PFSMM |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site-to-site VPN tunnel.
Property | Value |
---|---|
Parameter group: | IP Security Arguments |
IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site-to-site VPN tunnel.
Property | Value |
---|---|
Parameter group: | IP Security Arguments |
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az network vpn-gateway connection ipsec-policy list
List site-to-site VPN gateway connection IPSec policies.
az network vpn-gateway connection ipsec-policy list --connection-name
--gateway-name
--resource-group
Required Parameters
Name of the VPN gateway connection.
Name of the VPN gateway.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az network vpn-gateway connection ipsec-policy remove
Remove an IPSec policy from a site-to-site VPN gateway connection.
az network vpn-gateway connection ipsec-policy remove --connection-name
--gateway-name
--index
--resource-group
[--no-wait]
Required Parameters
Name of the VPN gateway connection.
Name of the VPN gateway.
List index of the item (starting with 1).
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |