Skip to content

Commit f96ad84

Browse files
committed
tweaks
1 parent 882fa7f commit f96ad84

File tree

3 files changed

+19
-17
lines changed

3 files changed

+19
-17
lines changed

articles/route-server/hub-routing-preference-cli.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.author: halkazwini
77
ms.service: route-server
88
ms.topic: how-to
99
ms.date: 10/12/2023
10-
ms.custom: mode-api, devx-track-azurecli
10+
ms.custom: devx-track-azurecli
1111

1212
#CustomerIntent: As an Azure administrator, I want learn how to use routing preference setting so that I can influence route selection in Azure Route Server by using the Azure CLI.
1313
---
@@ -17,8 +17,7 @@ ms.custom: mode-api, devx-track-azurecli
1717
Learn how to use routing preference setting in Azure Route Server to influence its route learning and selection. For more information, see [Routing preference (preview)](hub-routing-preference.md).
1818

1919
> [!IMPORTANT]
20-
> Routing preference is currently in PREVIEW.
21-
> See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
20+
> Routing preference is currently in PREVIEW. See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
2221
2322
## Prerequisites
2423

@@ -76,17 +75,17 @@ Use [az network routeserver update](/cli/azure/network/routeserver#az-network-ro
7675

7776
```azurecli-interactive
7877
# Change the routing preference to AS Path.
79-
az network routeserver update --name 'myRouteServer' --resource-group 'myResourceGroup' --hub-routing-preference 'ASPath'
78+
az network routeserver update --name 'myRouteServer' --hub-routing-preference 'ASPath' --resource-group 'myResourceGroup'
8079
```
8180

8281
```azurecli-interactive
8382
# Change the routing preference to VPN Gateway.
84-
az network routeserver update --name 'myRouteServer' --resource-group 'myResourceGroup' --hub-routing-preference 'VpnGateway'
83+
az network routeserver update --name 'myRouteServer' --hub-routing-preference 'VpnGateway' --resource-group 'myResourceGroup'
8584
```
8685

8786
```azurecli-interactive
8887
# Change the routing preference to ExpressRoute.
89-
az network routeserver update --name 'myRouteServer' --resource-group 'myResourceGroup' --hub-routing-preference 'ExpressRoute'
88+
az network routeserver update --name 'myRouteServer' --hub-routing-preference 'ExpressRoute' --resource-group 'myResourceGroup'
9089
```
9190

9291
## Related content

articles/route-server/hub-routing-preference-portal.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,13 @@ Learn how to use routing preference setting in Azure Route Server to influence i
3535

3636
1. Select **Configuration**.
3737

38-
1. In the **Configuration** page, select **VPN** or **ASPath** to change the routing preference setting from the default setting: **ExpressRoute**.
38+
1. In the **Configuration** page, select **VPN**, **ASPath** or **ExpressRoute**.
3939

4040
:::image type="content" source="./media/hub-routing-preference-portal/routing-preference-configuration.png" alt-text="Screenshot of configuring routing preference of a Route Server in the Azure portal.":::
4141

42+
> [!NOTE]
43+
> The default routing preference setting is **ExpressRoute**.
44+
4245
1. Select **Save**.
4346

4447
## Related content

articles/route-server/hub-routing-preference-powershell.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ ms.custom: devx-track-azurepowershell
1717
Learn how to use routing preference setting in Azure Route Server to influence its route learning and selection. For more information, see [Routing preference (preview)](hub-routing-preference.md).
1818

1919
> [!IMPORTANT]
20-
> Routing preference is currently in PREVIEW.
21-
> See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
20+
> Routing preference is currently in PREVIEW. See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
2221
2322
## Prerequisites
2423

@@ -43,29 +42,30 @@ ResourceGroupName Name Location RouteServerAsn RouteServerIps Pro
4342
myResourceGroup myRouteServer eastus 65515 {10.1.1.5, 10.1.1.4} Succeeded ExpressRoute
4443
```
4544

46-
The default routing preference setting is **ExpressRoute**.
45+
> [!NOTE]
46+
> The default routing preference setting is **ExpressRoute**.
4747
4848
## Configure routing preference
4949

5050
Use [Update-AzRouteServer](/powershell/module/az.network/update-azrouteserver) to configure routing preference.
5151

5252
```azurepowershell-interactive
53-
# Change the routing preference to AS Path (with branch-to-branch enabled).
54-
Update-AzRouteServer -RouteServerName 'myRouteServer' -HubRoutingPreference 'ASPath' -ResourceGroupName 'myResourceGroup' -AllowBranchToBranchTraffic
53+
# Change the routing preference to AS Path.
54+
Update-AzRouteServer -RouteServerName 'myRouteServer' -HubRoutingPreference 'ASPath' -ResourceGroupName 'myResourceGroup'
5555
```
5656

5757
```azurepowershell-interactive
58-
# Change the routing preference to VPN Gateway (with branch-to-branch enabled).
59-
Update-AzRouteServer -RouteServerName 'myRouteServer' -HubRoutingPreference 'VpnGateway' -ResourceGroupName 'myResourceGroup' -AllowBranchToBranchTraffic
58+
# Change the routing preference to VPN Gateway.
59+
Update-AzRouteServer -RouteServerName 'myRouteServer' -HubRoutingPreference 'VpnGateway' -ResourceGroupName 'myResourceGroup'
6060
```
6161

6262
```azurepowershell-interactive
63-
# Change the routing preference to ExpressRoute (with branch-to-branch enabled).
64-
Update-AzRouteServer -RouteServerName 'myRouteServer' -HubRoutingPreference 'ExpressRoute' -ResourceGroupName 'myResourceGroup' -AllowBranchToBranchTraffic
63+
# Change the routing preference to ExpressRoute.
64+
Update-AzRouteServer -RouteServerName 'myRouteServer' -HubRoutingPreference 'ExpressRoute' -ResourceGroupName 'myResourceGroup'
6565
```
6666

6767
> [!IMPORTANT]
68-
> If you don't include ***-AllowBranchToBranchTraffic*** parameter, **route exchange (branch-to-branch)** will be disabled even if it was enabled before running the **Update-AzRouteServer** cmdlet.
68+
> Include ***-AllowBranchToBranchTraffic*** parameter to enable **route exchange (branch-to-branch)** even if it was enabled before running the **Update-AzRouteServer** cmdlet. For more information, see [Configure route exchange](quickstart-configure-route-server-powershell.md#configure-route-exchange).
6969
7070
## Related content
7171

0 commit comments

Comments
 (0)