Skip to content

Commit 1241d93

Browse files
authored
Merge pull request #77388 from charwen/patch-62
Added connection weight and fastpath configuration
2 parents 86d8659 + ac9ee7c commit 1241d93

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

articles/expressroute/howto-linkvnet-cli.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: cherylmc
66

77
ms.service: expressroute
88
ms.topic: conceptual
9-
ms.date: 12/07/2018
9+
ms.date: 05/21/2019
1010
ms.author: anzaman,cherylmc
1111
ms.custom: seodec18
1212

@@ -136,6 +136,32 @@ az network vpn-connection create --name ERConnection --resource-group ExpressRou
136136

137137
You can release an authorization by deleting the connection that links the ExpressRoute circuit to the virtual network.
138138

139+
## Modify a virtual network connection
140+
You can update certain properties of a virtual network connection.
141+
142+
**To update the connection weight**
143+
144+
Your virtual network can be connected to multiple ExpressRoute circuits. You may receive the same prefix from more than one ExpressRoute circuit. To choose which connection to send traffic destined for this prefix, you can change *RoutingWeight* of a connection. Traffic will be sent on the connection with the highest *RoutingWeight*.
145+
146+
```azurecli
147+
az network vpn-connection update --name ERConnection --resource-group ExpressRouteResourceGroup --routing-weight 100
148+
```
149+
150+
The range of *RoutingWeight* is 0 to 32000. The default value is 0.
151+
152+
## Configure ExpressRoute FastPath
153+
You can enable [ExpressRoute FastPath](expressroute-about-virtual-network-gateways.md) if your ExpressRoute circuit is on [ExpressRoute Direct](expressroute-erdirect-about.md) and your virtual newtork gateway is Ultra Performance or ErGw3AZ. FastPath improves data path preformance such as packets per second and connections per second between your on-premises network and your virtual network.
154+
155+
> [!NOTE]
156+
> If you already have a virtual network connection but haven't enabled FastPath you need to delete the virtual network connection and create a new one.
157+
>
158+
>
159+
160+
```azurecli
161+
az network vpn-connection create --name ERConnection --resource-group ExpressRouteResourceGroup --express-route-gateway-bypass true --vnet-gateway1 VNet1GW --express-route-circuit2 MyCircuit
162+
```
163+
164+
139165
## Next steps
140166

141167
For more information about ExpressRoute, see the [ExpressRoute FAQ](expressroute-faqs.md).

0 commit comments

Comments
 (0)