You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/route-server/quickstart-configure-route-server-cli.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,13 +34,14 @@ In this quickstart, you learn how to create an Azure Route Server to peer with a
34
34
35
35
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.
36
36
37
-
1. Create a resource group using [az group create](/cli/azure/group#az-group-create). The following example creates a resource group named **RouteServerRG** in the **WestUS** region:
37
+
1. Create a resource group using [az group create](/cli/azure/group#az-group-create) command. The following example creates a resource group named **RouteServerRG** in the **WestUS** region:
38
38
39
39
```azurecli-interactive
40
+
# Create a resource group.
40
41
az group create --name 'RouteServerRG' --location 'westus'
41
42
```
42
43
43
-
1. Create a virtual network using [az network vnet create](/cli/azure/network/vnet#az-network-vnet-create). The following example creates a default virtual network named **myRouteServerVNet** in the **WestUS** region with **RouteServerSubnet** subnet. The route server requires a dedicated subnet named *RouteServerSubnet*. The subnet size has to be at least /27 or shorter prefix (such as /26 or /25) or you'll receive an error message when deploying the route server.
44
+
1. Create a virtual network using [az network vnet create](/cli/azure/network/vnet#az-network-vnet-create) command. The following example creates a default virtual network named **myRouteServerVNet** in the **WestUS** region with **RouteServerSubnet** subnet. The route server requires a dedicated subnet named *RouteServerSubnet*. The subnet size has to be at least /27 or shorter prefix (such as /26 or /25) or you'll receive an error message when deploying the route server.
44
45
45
46
```azurecli-interactive
46
47
# Create a virtual network and a route server subnet.
@@ -49,7 +50,7 @@ In this section, you create a route server. Prior to creating the route server,
49
50
subnetId=$(az network vnet subnet show --name 'RouteServerSubnet' --resource-group 'RouteServerRG' --vnet-name 'myRouteServerVNet' --query id -o tsv)
50
51
```
51
52
52
-
1. To ensure connectivity to the backend service that manages Route Server configuration, assigning a public IP address is required. Create a Standard Public IP named **RouteServerIP** using [az network public-ip create](/cli/azure/network/public-ip#az-network-public-ip-create).
53
+
1. To ensure connectivity to the backend service that manages Route Server configuration, assigning a public IP address is required. Create a Standard Public IP named **RouteServerIP** using [az network public-ip create](/cli/azure/network/public-ip#az-network-public-ip-create) command.
53
54
54
55
```azurecli-interactive
55
56
# Create a Standard public IP.
@@ -70,6 +71,7 @@ In this section, you create a route server. Prior to creating the route server,
70
71
In this section, you learn how to configure BGP peering with a network virtual appliance (NVA). Use [az network routeserver peering create](/cli/azure/network/routeserver/peering#az-network-routeserver-peering-create) command to establish BGP peering from the route server to your NVA. The following example adds a peer named **myNVA** that has an IP address of **10.0.0.4** and an ASN of **65001**. For more information, see [What Autonomous System Numbers (ASNs) can I use?](route-server-faq.md#what-autonomous-system-numbers-asns-can-i-use)
To complete the peering setup, you must configure the NVA to establish a BGP session with the route server's peer IPs and ASN. Use [az network routeserver show](/cli/azure/network/routeserver#az-network-routeserver-show) command to get the IP and ASN of the route server.
79
81
80
82
```azurecli-interactive
83
+
# Get the route server details.
81
84
az network routeserver show --resource-group 'RouteServerRG' --name 'myRouteServer'
82
85
```
83
86
@@ -125,7 +128,5 @@ az group delete --name 'myResourceGroup' --yes --no-wait
125
128
126
129
## Next step
127
130
128
-
Continue to learn more about how Azure Route Server interacts with ExpressRoute and VPN Gateways:
129
-
130
131
> [!div class="nextstepaction"]
131
132
> [Configure peering between a route server and NVA](peer-route-server-with-virtual-appliance.md)
0 commit comments