Skip to content

Commit aa4d764

Browse files
committed
update diagram and instructions
1 parent d8e5782 commit aa4d764

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

articles/route-server/quickstart-create-route-server-powershell.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ author: halkazwini
55
ms.author: halkazwini
66
ms.service: azure-route-server
77
ms.topic: quickstart
8-
ms.date: 02/10/2025
8+
ms.date: 02/26/2025
99
ms.custom: devx-track-azurepowershell, mode-api
1010
---
1111

1212
# Quickstart: Create an Azure Route Server using PowerShell
1313

1414
In this quickstart, you learn how to create an Azure Route Server to peer with a network virtual appliance (NVA) in your virtual network using Azure PowerShell.
1515

16-
:::image type="content" source="./media/environment-diagram.png" alt-text="Diagram of Route Server deployment environment using the Azure PowerShell.":::
16+
:::image type="content" source="./media/route-server-diagram.png" alt-text="Diagram of Route Server deployment environment using the Azure PowerShell.":::
1717

1818
[!INCLUDE [route server preview note](../../includes/route-server-note-preview-date.md)]
1919

@@ -33,11 +33,11 @@ In this quickstart, you learn how to create an Azure Route Server to peer with a
3333

3434
In this section, you create a route server. Prior to creating the route server, create a resource group to host all resources including the route server. You'll also need to create a virtual network with a dedicated subnet for the route server.
3535

36-
1. Create a resource group using [New-AzResourceGroup](/powershell/module/az.Resources/New-azResourceGroup) cmdlet. The following example creates a resource group named **RouteServerRG** in the **WestUS** region:
36+
1. Create a resource group using [New-AzResourceGroup](/powershell/module/az.Resources/New-azResourceGroup) cmdlet. The following example creates a resource group named **myResourceGroup** in the **EastUS** region:
3737

3838
```azurepowershell-interactive
3939
# Create a resource group.
40-
New-AzResourceGroup = -Name 'RouteServerRG' -Location 'WestUS'
40+
New-AzResourceGroup = -Name 'myResourceGroup' -Location 'EastUS'
4141
```
4242
4343
1. The route server requires a dedicated subnet named *RouteServerSubnet*. Please configure a subnet size of minimum /26 or larger. Create a subnet configuration for **RouteServerSubnet** using [New-AzVirtualNetworkSubnetConfig](/powershell/module/az.network/new-azvirtualnetworksubnetconfig) cmdlet.
@@ -47,11 +47,11 @@ In this section, you create a route server. Prior to creating the route server,
4747
$subnet = New-AzVirtualNetworkSubnetConfig -Name 'RouteServerSubnet' -AddressPrefix '10.0.1.0/26'
4848
```
4949
50-
1. Create a virtual network using [New-AzVirtualNetwork](/powershell/module/az.network/new-azvirtualnetwork) cmdlet. The following example creates a default virtual network named **myRouteServerVNet** in the **WestUS** region.
50+
1. Create a virtual network using [New-AzVirtualNetwork](/powershell/module/az.network/new-azvirtualnetwork) cmdlet. The following example creates a default virtual network named **myVirtualNetwork** in the **EastUS** region.
5151
5252
```azurepowershell-interactive
5353
# Create a virtual network and place into a variable.
54-
$vnet = New-AzVirtualNetwork -Name 'myRouteServerVNet' -ResourceGroupName 'RouteServerRG' -Location 'WestUS' -AddressPrefix '10.0.0.0/16' -Subnet $subnet
54+
$vnet = New-AzVirtualNetwork -Name 'myVirtualNetwork' -ResourceGroupName 'myResourceGroup' -Location 'EastUS' -AddressPrefix '10.0.0.0/16' -Subnet $subnet
5555
# Place the subnet ID into a variable.
5656
$subnetId = (Get-AzVirtualNetworkSubnetConfig -Name 'RouteServerSubnet' -VirtualNetwork $vnet).Id
5757
```
@@ -60,14 +60,14 @@ In this section, you create a route server. Prior to creating the route server,
6060
6161
```azurepowershell-interactive
6262
# Create a Standard public IP and place it into a variable.
63-
$publicIp = New-AzPublicIpAddress -ResourceGroupName 'RouteServerRG' -Name 'myRouteServerIP' -Location 'WestUS' -AllocationMethod 'Static' -Sku 'Standard' -IpAddressVersion 'Ipv4'
63+
$publicIp = New-AzPublicIpAddress -ResourceGroupName 'myResourceGroup' -Name 'myRouteServerIP' -Location 'EastUS' -AllocationMethod 'Static' -Sku 'Standard' -IpAddressVersion 'Ipv4'
6464
```
6565
66-
1. Create the route server using [New-AzRouteServer](/powershell/module/az.network/new-azrouteserver) cmdlet. The following example creates a route server named **myRouteServer** in the **WestUS** region. The *HostedSubnet* is the resource ID of the RouteServerSubnet created in the previous steps.
66+
1. Create the route server using [New-AzRouteServer](/powershell/module/az.network/new-azrouteserver) cmdlet. The following example creates a route server named **myRouteServer** in the **EastUS** region. The *HostedSubnet* is the resource ID of the RouteServerSubnet created in the previous steps.
6767
6868
```azurepowershell-interactive
6969
# Create the route server.
70-
New-AzRouteServer -RouteServerName 'myRouteServer' -ResourceGroupName 'RouteServerRG' -Location 'WestUS' -HostedSubnet $subnetId -PublicIP $publicIp
70+
New-AzRouteServer -RouteServerName 'myRouteServer' -ResourceGroupName 'myResourceGroup' -Location 'EastUS' -HostedSubnet $subnetId -PublicIP $publicIp
7171
```
7272
7373
[!INCLUDE [Deployment note](../../includes/route-server-note-creation-time.md)]
@@ -78,7 +78,7 @@ In this section, you learn how to configure BGP peering with a network virtual a
7878
7979
```azurepowershell-interactive
8080
# Add a peer.
81-
Add-AzRouteServerPeer -ResourceGroupName 'RouteServerRG' -RouteServerName 'myRouteServer' -PeerName 'myNVA' -PeerAsn '65001' -PeerIp '10.0.0.4'
81+
Add-AzRouteServerPeer -ResourceGroupName 'myResourceGroup' -RouteServerName 'myRouteServer' -PeerName 'myNVA' -PeerAsn '65001' -PeerIp '10.0.0.4'
8282
```
8383

8484
## Complete the configuration on the NVA
@@ -87,15 +87,15 @@ To complete the peering setup, you must configure the NVA to establish a BGP ses
8787

8888
```azurepowershell-interactive
8989
# Get the route server details.
90-
Get-AzRouteServer -ResourceGroupName 'RouteServerRG' -RouteServerName 'myRouteServer'
90+
Get-AzRouteServer -ResourceGroupName 'myResourceGroup' -RouteServerName 'myRouteServer'
9191
```
9292

9393
The output should look similar to the following example:
9494

9595
```output
9696
ResourceGroupName Name Location RouteServerAsn RouteServerIps ProvisioningState HubRoutingPreference AllowBranchToBranchTraffic
9797
----------------- ---- -------- -------------- -------------- ----------------- -------------------- --------------------------
98-
RouteServerRG myRouteServer westus 65515 {10.0.1.4, 10.0.1.5} Succeeded ExpressRoute False
98+
myResourceGroup myRouteServer eastus 65515 {10.0.1.4, 10.0.1.5} Succeeded ExpressRoute False
9999
```
100100

101101
[!INCLUDE [NVA peering note](../../includes/route-server-note-nva-peering.md)]
@@ -106,7 +106,7 @@ When no longer needed, delete the resource group and all of the resources it con
106106

107107
```azurepowershell-interactive
108108
# Delete the resource group and all the resources it contains.
109-
Remove-AzResourceGroup -Name 'RouteServerRG' -Force
109+
Remove-AzResourceGroup -Name 'myResourceGroup' -Force
110110
```
111111

112112
## Next step

0 commit comments

Comments
 (0)