Skip to content

Commit 0b7bf18

Browse files
Merge pull request #246655 from cherylmc/vwan-fresh3
freshness update
2 parents 8ba8393 + 5c9bb91 commit 0b7bf18

File tree

4 files changed

+28
-30
lines changed

4 files changed

+28
-30
lines changed

articles/vpn-gateway/reset-gateway.md

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to reset a gateway or a gateway connection to reestablish
55
author: cherylmc
66
ms.service: vpn-gateway
77
ms.topic: how-to
8-
ms.date: 06/13/2022
8+
ms.date: 07/28/2023
99
ms.author: cherylmc
1010
---
1111
# Reset a VPN gateway or a connection
@@ -45,35 +45,41 @@ Before you reset your gateway, verify the key items listed below for each IPsec
4545
Verify the following items before resetting your gateway:
4646

4747
* The Internet IP addresses (VIPs) for both the Azure VPN gateway and the on-premises VPN gateway are configured correctly in both the Azure and the on-premises VPN policies.
48-
* The pre-shared key must be the same on both Azure and on-premises VPN gateways.
48+
* The preshared key must be the same on both Azure and on-premises VPN gateways.
4949
* If you apply specific IPsec/IKE configuration, such as encryption, hashing algorithms, and PFS (Perfect Forward Secrecy), ensure both the Azure and on-premises VPN gateways have the same configurations.
5050

5151
### <a name="portal"></a>Azure portal
5252

53-
You can reset a Resource Manager VPN gateway using the Azure portal. If you want to reset a classic gateway, see the PowerShell steps for the [Classic deployment model](#resetclassic).
53+
You can reset a Resource Manager VPN gateway using the Azure portal.
5454

5555
[!INCLUDE [portal steps](../../includes/vpn-gateway-reset-gw-portal-include.md)]
5656

5757
### <a name="ps"></a>PowerShell
5858

59-
#### Resource Manager deployment model
60-
61-
[!INCLUDE [updated-for-az](../../includes/updated-for-az.md)]
62-
6359
The cmdlet for resetting a gateway is **Reset-AzVirtualNetworkGateway**. Before performing a reset, make sure you have the latest version of the [PowerShell Az cmdlets](/powershell/module/az.network). The following example resets a virtual network gateway named VNet1GW in the TestRG1 resource group:
6460

6561
```azurepowershell-interactive
6662
$gw = Get-AzVirtualNetworkGateway -Name VNet1GW -ResourceGroupName TestRG1
6763
Reset-AzVirtualNetworkGateway -VirtualNetworkGateway $gw
6864
```
6965

70-
Result:
66+
When you receive a return result, you can assume the gateway reset was successful. However, there's nothing in the return result that indicates explicitly that the reset was successful. If you want to look closely at the history to see exactly when the gateway reset occurred, you can view that information in the [Azure portal](https://portal.azure.com). In the portal, navigate to **'GatewayName' -> Resource Health**.
67+
68+
### <a name="cli"></a>Azure CLI
69+
70+
To reset the gateway, use the [az network vnet-gateway reset](/cli/azure/network/vnet-gateway) command. The following example resets a virtual network gateway named VNet5GW in the TestRG5 resource group:
71+
72+
```azurecli-interactive
73+
az network vnet-gateway reset -n VNet5GW -g TestRG5
74+
```
7175

7276
When you receive a return result, you can assume the gateway reset was successful. However, there's nothing in the return result that indicates explicitly that the reset was successful. If you want to look closely at the history to see exactly when the gateway reset occurred, you can view that information in the [Azure portal](https://portal.azure.com). In the portal, navigate to **'GatewayName' -> Resource Health**.
7377

74-
#### <a name="resetclassic"></a>Classic deployment model
78+
### <a name="resetclassic"></a>Reset a classic gateway
7579

76-
The cmdlet for resetting a gateway is **Reset-AzureVNetGateway**. The Azure PowerShell cmdlets for Service Management must be installed locally on your desktop. You can't use Azure Cloud Shell. Before performing a reset, make sure you have the latest version of the [Service Management (SM) PowerShell cmdlets](/powershell/azure/servicemanagement/install-azure-ps#azure-service-management-cmdlets). When using this command, make sure you're using the full name of the virtual network. Classic VNets that were created using the portal have a long name that is required for PowerShell. You can view the long name by using 'Get-AzureVNetConfig -ExportToFile C:\Myfoldername\NetworkConfig.xml'.
80+
The cmdlet for resetting a classic gateway is **Reset-AzureVNetGateway**. The Azure PowerShell cmdlets for Service Management must be installed locally on your desktop. You can't use Azure Cloud Shell. Before performing a reset, make sure you have the latest version of the [Service Management (SM) PowerShell cmdlets](/powershell/azure/servicemanagement/install-azure-ps#azure-service-management-cmdlets).
81+
82+
When using this command, make sure you're using the full name of the virtual network. Classic VNets that were created using the portal have a long name that is required for PowerShell. You can view the long name by using 'Get-AzureVNetConfig -ExportToFile C:\Myfoldername\NetworkConfig.xml'.
7783

7884
The following example resets the gateway for a virtual network named "Group TestRG1 TestVNet1" (which shows as simply "TestVNet1" in the portal):
7985

@@ -92,14 +98,6 @@ RequestId : 9ca273de2c4d01e986480ce1ffa4d6d9
9298
StatusCode : OK
9399
```
94100

95-
### <a name="cli"></a>Azure CLI
96-
97-
To reset the gateway, use the [az network vnet-gateway reset](/cli/azure/network/vnet-gateway) command. The following example resets a virtual network gateway named VNet5GW in the TestRG5 resource group:
101+
## Next steps
98102

99-
```azurecli-interactive
100-
az network vnet-gateway reset -n VNet5GW -g TestRG5
101-
```
102-
103-
Result:
104-
105-
When you receive a return result, you can assume the gateway reset was successful. However, there's nothing in the return result that indicates explicitly that the reset was successful. If you want to look closely at the history to see exactly when the gateway reset occurred, you can view that information in the [Azure portal](https://portal.azure.com). In the portal, navigate to **'GatewayName' -> Resource Health**.
103+
For more information about VPN Gateway, see the [VPN Gateway FAQ](vpn-gateway-vpn-faq.md).

articles/vpn-gateway/vpn-gateway-about-point-to-site-routing.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn about Azure Point-to-Site VPN routing for different operating
55
author: cherylmc
66
ms.service: vpn-gateway
77
ms.topic: article
8-
ms.date: 12/03/2021
8+
ms.date: 07/28/2023
99
ms.author: cherylmc
1010

1111
---
@@ -25,7 +25,7 @@ There are a number of different diagrams in this article. Each section shows a d
2525

2626
## <a name="isolatedvnet"></a>One isolated VNet
2727

28-
The Point-to-Site VPN gateway connection in this example is for a VNet that is not connected or peered with any other virtual network (VNet1). In this example, clients can access VNet1.
28+
The Point-to-Site VPN gateway connection in this example is for a VNet that isn't connected or peered with any other virtual network (VNet1). In this example, clients can access VNet1.
2929

3030
:::image type="content" source="./media/vpn-gateway-about-point-to-site-routing/isolated.jpg" alt-text="Isolated VNet routing" lightbox="./media/vpn-gateway-about-point-to-site-routing/isolated.jpg":::
3131

@@ -49,7 +49,7 @@ The Point-to-Site VPN gateway connection in this example is for a VNet that is n
4949

5050
In this example, the Point-to-Site VPN gateway connection is for VNet1. VNet1 is peered with VNet2. VNet 2 is peered with VNet3. VNet1 is peered with VNet4. There is no direct peering between VNet1 and VNet3. VNet1 has “Allow gateway transit” and VNet2 and VNet4 have “Use remote gateways” enabled.
5151

52-
Clients using Windows can access directly peered VNets, but the VPN client must be downloaded again if any changes are made to VNet peering or the network topology. Non-Windows clients can access directly peered VNets. Access is not transitive and is limited to only directly peered VNets.
52+
Clients using Windows can access directly peered VNets, but the VPN client must be downloaded again if any changes are made to VNet peering or the network topology. Non-Windows clients can access directly peered VNets. Access isn't transitive and is limited to only directly peered VNets.
5353

5454
:::image type="content" source="./media/vpn-gateway-about-point-to-site-routing/multiple.jpg" alt-text="Multiple peered VNets" lightbox="./media/vpn-gateway-about-point-to-site-routing/multiple.jpg":::
5555

@@ -77,7 +77,7 @@ Clients using Windows can access directly peered VNets, but the VPN client must
7777

7878
## <a name="multis2s"></a>Multiple VNets connected using an S2S VPN
7979

80-
In this example, the Point-to-Site VPN gateway connection is for VNet1. VNet1 is connected to VNet2 using a Site-to-Site VPN connection. VNet2 is connected to VNet3 using a Site-to-Site VPN connection. There is no direct peering or Site-to-Site VPN connection between VNet1 and VNet3. All Site-to-Site connections are not running BGP for routing.
80+
In this example, the Point-to-Site VPN gateway connection is for VNet1. VNet1 is connected to VNet2 using a Site-to-Site VPN connection. VNet2 is connected to VNet3 using a Site-to-Site VPN connection. There is no direct peering or Site-to-Site VPN connection between VNet1 and VNet3. All Site-to-Site connections aren't running BGP for routing.
8181

8282
Clients using Windows, or another supported OS, can only access VNet1. To access additional VNets, BGP must be used.
8383

@@ -133,7 +133,7 @@ Clients using Windows, or another supported OS, can access all VNets that are co
133133

134134
## <a name="vnetbranch"></a>One VNet and a branch office
135135

136-
In this example, the Point-to-Site VPN gateway connection is for VNet1. VNet1 is not connected/ peered with any other virtual network, but is connected to an on-premises site through a Site-to-Site VPN connection that is not running BGP.
136+
In this example, the Point-to-Site VPN gateway connection is for VNet1. VNet1 isn't connected/ peered with any other virtual network, but is connected to an on-premises site through a Site-to-Site VPN connection that isn't running BGP.
137137

138138
Windows and non-Windows clients can only access VNet1.
139139

@@ -159,9 +159,9 @@ Windows and non-Windows clients can only access VNet1.
159159

160160
## <a name="vnetbranchbgp"></a>One VNet and a branch office (BGP)
161161

162-
In this example, the Point-to-Site VPN gateway connection is for VNet1. VNet1 is not connected or peered with any other virtual network, but is connected to an on-premises site (Site1) through a Site-to-Site VPN connection running BGP.
162+
In this example, the Point-to-Site VPN gateway connection is for VNet1. VNet1 isn't connected or peered with any other virtual network, but is connected to an on-premises site (Site1) through a Site-to-Site VPN connection running BGP.
163163

164-
Windows clients can access the VNet and the branch office (Site1), but the routes to Site1 must be manually added to the client. Non-Windows clients can access the VNet as well as the on-premises branch office.
164+
Windows clients can access the VNet and the branch office (Site1), but the routes to Site1 must be manually added to the client. Non-Windows clients can access the VNet and the on-premises branch office.
165165

166166
:::image type="content" source="./media/vpn-gateway-about-point-to-site-routing/branch-bgp.jpg" alt-text="Routing with a VNet and a branch office - BGP" lightbox="./media/vpn-gateway-about-point-to-site-routing/branch-bgp.jpg":::
167167

articles/vpn-gateway/vpn-gateway-vpn-faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn about frequently asked questions for VPN Gateway cross-premis
44
author: cherylmc
55
ms.service: vpn-gateway
66
ms.topic: conceptual
7-
ms.date: 01/30/2023
7+
ms.date: 07/28/2023
88
ms.author: cherylmc
99
---
1010

includes/vpn-gateway-reset-gw-portal-include.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
author: cherylmc
33
ms.service: vpn-gateway
44
ms.topic: include
5-
ms.date: 09/14/2022
5+
ms.date: 07/28/2023
66
ms.author: cherylmc
77
---
88

99
1. In the portal, go to the virtual network gateway that you want to reset.
10-
1. On the **Virtual network gateway** page, in the left pane, scroll down to the **Support + Troubleshooting** section and select **Reset**.
10+
1. On the **Virtual network gateway** page, in the left pane, scroll down to **Reset**.
1111
1. On the **Reset** page, click **Reset**. Once the command is issued, the current active instance of the Azure VPN gateway is rebooted immediately. Resetting the gateway will cause a gap in VPN connectivity, and may limit future root cause analysis of the issue.

0 commit comments

Comments
 (0)