Skip to content

Commit 5c90e27

Browse files
authored
Merge pull request #205754 from halkazwini/er-gw-ps
ExpressRoute: Freshness: Tutorial: Configure a virtual network gateway for ExpressRoute using PowerShell
2 parents 64f0c7a + 2c87643 commit 5c90e27

File tree

2 files changed

+12
-17
lines changed

2 files changed

+12
-17
lines changed

articles/expressroute/expressroute-howto-add-gateway-portal-resource-manager.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 'Tutorial: Azure ExpressRoute - Add a gateway to a VNet (Azure portal)'
2+
title: 'Tutorial: Configure a virtual network gateway for ExpressRoute using Azure portal'
33
description: This tutorial walks you through adding a virtual network gateway to a VNet for ExpressRoute using the Azure portal.
44
services: expressroute
55
author: duongau
@@ -17,7 +17,7 @@ ms.custom: seodec18, template-tutorial
1717
> * [Classic - PowerShell](expressroute-howto-add-gateway-classic.md)
1818
>
1919
20-
This tutorial walks you through the steps to add, resize, and remove a virtual network gateway for a pre-existing virtual network (VNet). The steps for this configuration apply to VNets that were created using the Resource Manager deployment model for an ExpressRoute configuration. For more information about virtual network gateways and gateway configuration settings for ExpressRoute, see [About virtual network gateways for ExpressRoute](expressroute-about-virtual-network-gateways.md).
20+
This tutorial walks you through the steps to add and remove a virtual network gateway for a pre-existing virtual network (VNet). The steps for this configuration apply to VNets that were created using the Resource Manager deployment model for an ExpressRoute configuration. For more information about virtual network gateways and gateway configuration settings for ExpressRoute, see [About virtual network gateways for ExpressRoute](expressroute-about-virtual-network-gateways.md).
2121

2222
In this tutorial, you learn how to:
2323
> [!div class="checklist"]

articles/expressroute/expressroute-howto-add-gateway-resource-manager.md

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
11
---
2-
title: 'Tutorial - Azure ExpressRoute: Add a gateway to a VNet - Azure PowerShell'
3-
description: This tutorial helps you add VNet gateway to an already created Resource Manager VNet for ExpressRoute using Azure PowerShell.
2+
title: 'Tutorial: Configure a virtual network gateway for ExpressRoute using PowerShell'
3+
description: This tutorial walks you through adding a virtual network gateway to a VNet for ExpressRoute using Azure PowerShell.
44
services: expressroute
55
author: duongau
66

77
ms.service: expressroute
88
ms.topic: tutorial
9-
ms.date: 10/05/2020
9+
ms.date: 07/22/2022
1010
ms.author: duau
11-
ms.custom: seodec18, devx-track-azurepowershell
11+
ms.custom: seodec18, devx-track-azurepowershell, template-tutorial
1212

1313
---
1414
# Tutorial: Configure a virtual network gateway for ExpressRoute using PowerShell
1515
> [!div class="op_single_selector"]
1616
> * [Resource Manager - Azure portal](expressroute-howto-add-gateway-portal-resource-manager.md)
1717
> * [Resource Manager - PowerShell](expressroute-howto-add-gateway-resource-manager.md)
1818
> * [Classic - PowerShell](expressroute-howto-add-gateway-classic.md)
19-
> * [Video - Azure portal](https://azure.microsoft.com/documentation/videos/azure-expressroute-how-to-create-a-vpn-gateway-for-your-virtual-network)
2019
>
2120
22-
This tutorial helps you add, resize, and remove a virtual network (VNet) gateway for a pre-existing VNet. The steps for this configuration apply to VNets that were created using the Resource Manager deployment model for an ExpressRoute configuration. For more information, see [About virtual network gateways for ExpressRoute](expressroute-about-virtual-network-gateways.md).
21+
This tutorial walks you through the steps to add, resize, and remove a virtual network gateway for a pre-existing virtual network (VNet) using PowerShell. The steps for this configuration apply to VNets that were created using the Resource Manager deployment model for an ExpressRoute configuration. For more information about virtual network gateways and gateway configuration settings for ExpressRoute, see [About virtual network gateways for ExpressRoute](expressroute-about-virtual-network-gateways.md).
2322

2423
In this tutorial, you learn how to:
2524
> [!div class="checklist"]
@@ -53,7 +52,7 @@ The steps for this task use a VNet based on the values in the following configur
5352

5453
1. To connect with Azure, run `Connect-AzAccount`.
5554

56-
1. Declare your variables for this exercise. Be sure to edit the sample to reflect the settings that you want to use.
55+
1. Declare your variables for this tutorial. Be sure to edit the sample to reflect the settings that you want to use.
5756

5857
```azurepowershell-interactive
5958
$RG = "TestRG"
@@ -73,7 +72,7 @@ The steps for this task use a VNet based on the values in the following configur
7372
```azurepowershell-interactive
7473
Add-AzVirtualNetworkSubnetConfig -Name GatewaySubnet -VirtualNetwork $vnet -AddressPrefix 192.168.200.0/26
7574
```
76-
If you are using a dual stack virtual network and plan to use IPv6-based private peering over ExpressRoute, create a dual stack gateway subnet instead.
75+
If you're using a dual stack virtual network and plan to use IPv6-based private peering over ExpressRoute, create a dual stack gateway subnet instead.
7776

7877
```azurepowershell-interactive
7978
Add-AzVirtualNetworkSubnetConfig -Name GatewaySubnet -VirtualNetwork $vnet -AddressPrefix "10.0.0.0/26","ace:daa:daaa:deaa::/64"
@@ -94,7 +93,7 @@ The steps for this task use a VNet based on the values in the following configur
9493
$pip = New-AzPublicIpAddress -Name $GWIPName -ResourceGroupName $RG -Location $Location -AllocationMethod Dynamic
9594
```
9695
97-
If you plan to use IPv6-based private peering over ExpressRoute, please set the IP SKU to Standard and the AllocationMethod to Static:
96+
If you plan to use IPv6-based private peering over ExpressRoute, set the IP SKU to Standard and the AllocationMethod to Static:
9897
```azurepowershell-interactive
9998
$pip = New-AzPublicIpAddress -Name $GWIPName -ResourceGroupName $RG -Location $Location -AllocationMethod Static -SKU Standard
10099
```
@@ -122,11 +121,7 @@ Get-AzVirtualNetworkGateway -ResourceGroupName $RG
122121
```
123122

124123
## Resize a gateway
125-
There are a number of [Gateway SKUs](expressroute-about-virtual-network-gateways.md). You can use the following command to change the Gateway SKU at any time.
126-
127-
> [!IMPORTANT]
128-
> This command doesn't work for UltraPerformance gateway. To change your gateway to an UltraPerformance gateway, first remove the existing ExpressRoute gateway, and then create a new UltraPerformance gateway. To downgrade your gateway from an UltraPerformance gateway, first remove the UltraPerformance gateway, and then create a new gateway.
129-
>
124+
There are a number of [gateway SKUs](expressroute-about-virtual-network-gateways.md). You can use the following command to change the Gateway SKU at any time.
130125

131126
```azurepowershell-interactive
132127
$gw = Get-AzVirtualNetworkGateway -Name $GWName -ResourceGroupName $RG
@@ -144,4 +139,4 @@ Remove-AzVirtualNetworkGateway -Name $GWName -ResourceGroupName $RG
144139
After you've created the VNet gateway, you can link your VNet to an ExpressRoute circuit.
145140

146141
> [!div class="nextstepaction"]
147-
> [Link a Virtual Network to an ExpressRoute circuit](expressroute-howto-linkvnet-arm.md)
142+
> [Link a virtual network to an ExpressRoute circuit](expressroute-howto-linkvnet-arm.md)

0 commit comments

Comments
 (0)