az network vpn-gateway connection vpn-site-link-conn
Note
This reference is part of the virtual-wan extension for the Azure CLI (version 2.0.67 or higher). The extension will automatically install the first time you run an az network vpn-gateway connection vpn-site-link-conn command. Learn more about extensions.
Manage site-to-site VPN gateway connection VPN site link connection.
Commands
| az network vpn-gateway connection vpn-site-link-conn add |
Add a VPN site link connection to a site-to-site VPN gateway connection. |
| az network vpn-gateway connection vpn-site-link-conn ipsec-policy |
Manage site-to-site VPN gateway connection VPN site link IPSec policies. |
| az network vpn-gateway connection vpn-site-link-conn ipsec-policy add |
Add an IPSec policy to a site-to-site VPN gateway connection VPN site link. |
| az network vpn-gateway connection vpn-site-link-conn ipsec-policy list |
List site-to-site VPN gateway connection VPN site link IPSec policies. |
| az network vpn-gateway connection vpn-site-link-conn ipsec-policy remove |
Remove an IPSec policy from a site-to-site VPN gateway connection VPN site link. |
| az network vpn-gateway connection vpn-site-link-conn list |
List site-to-site VPN gateway connection VPN site link connection. |
| az network vpn-gateway connection vpn-site-link-conn remove |
Remove a VPN site link connection from a site-to-site VPN gateway connection. |
az network vpn-gateway connection vpn-site-link-conn add
Add a VPN site link connection to a site-to-site VPN gateway connection.
az network vpn-gateway connection vpn-site-link-conn add --connection-name
--gateway-name
--name
--resource-group
--vpn-site-link
[--connection-bandwidth]
[--enable-bgp {false, true}]
[--no-wait]
[--rate-limiting {false, true}]
[--routing-weight]
[--shared-key]
[--use-local-azure-ip-address {false, true}]
[--use-policy-based-traffic-selectors {false, true}]
[--vpn-connection-protocol-type {IKEv1, IKEv2}]
[--vpn-link-connection-mode {Default, InitiatorOnly, ResponderOnly}]
Examples
Add a VPN site link connection to site-to-site VPN gateway connection
az network vpn-gateway connection vpn-site-link-conn add -g MyRG --connection-name MyConnection --gateway-name MyGateway -n MyVPNSiteLinkConn --vpn-site-link /subscriptions/MySub/resourceGroups/MyRG/providers/Microsoft.Network/vpnSites/MyVPNSite/vpnSiteLinks/vpnsitelink --vpn-connection-protocol-type IKEv2
Required Parameters
Name of the VPN gateway connection.
Name of the VPN gateway.
Name of the VPN site link connection.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The resource ID of VPN Site Link.
Optional Parameters
Expected bandwidth in Mbps.
Enable BGP.
Do not wait for the long-running operation to finish.
Enable rate limiting.
Routing weight.
Shared key.
Use local azure ip to initiate connection.
Enable policy-based traffic selectors.
Connection protocol used for this connection.
Vpn link connection mode.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az network vpn-gateway connection vpn-site-link-conn list
List site-to-site VPN gateway connection VPN site link connection.
az network vpn-gateway connection vpn-site-link-conn list --connection-name
--gateway-name
--resource-group
Examples
List VPN site link connections on site-to-site VPN gateway connection
az network vpn-gateway connection vpn-site-link-conn list -g MyRG --connection-name MyConnection --gateway-name MyGateway
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>.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az network vpn-gateway connection vpn-site-link-conn remove
Remove a VPN site link connection from a site-to-site VPN gateway connection.
az network vpn-gateway connection vpn-site-link-conn remove --connection-name
--gateway-name
--index
--resource-group
[--no-wait]
Examples
Remove aVPN site link connection from site-to-site VPN gateway connection
az network vpn-gateway connection vpn-site-link-conn remove -g MyRG --connection-name MyConnection --gateway-name MyGateway --index 1
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
Do not wait for the long-running operation to finish.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ