Skip to content

Commit f0801c2

Browse files
authored
Merge pull request #106042 from jaredr80/patch-83
Add the ability to update a connection for FastPath
2 parents df5c57b + a7781c2 commit f0801c2

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

articles/expressroute/expressroute-howto-linkvnet-arm.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,16 +175,21 @@ The range of *RoutingWeight* is 0 to 32000. The default value is 0.
175175
## Configure ExpressRoute FastPath
176176
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 network gateway is Ultra Performance or ErGw3AZ. FastPath improves data path performance such as packets per second and connections per second between your on-premises network and your virtual network.
177177

178-
> [!NOTE]
179-
> 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.
180-
>
181-
>
178+
**Configure FastPath on a new connection**
182179

183180
```azurepowershell-interactive
184181
$circuit = Get-AzExpressRouteCircuit -Name "MyCircuit" -ResourceGroupName "MyRG"
185182
$gw = Get-AzVirtualNetworkGateway -Name "MyGateway" -ResourceGroupName "MyRG"
186183
$connection = New-AzVirtualNetworkGatewayConnection -Name "MyConnection" -ResourceGroupName "MyRG" -ExpressRouteGatewayBypass -VirtualNetworkGateway1 $gw -PeerId $circuit.Id -ConnectionType ExpressRoute -Location "MyLocation"
187184
```
188185

186+
**Updating an existing connection to enable FastPath**
187+
188+
```azurepowershell-interactive
189+
$connection = Get-AzVirtualNetworkGatewayConnection -Name "MyConnection" -ResourceGroupName "MyRG"
190+
$connection.ExpressRouteGatewayBypass = $True
191+
Set-AzVirtualNetworkGatewayConnection -VirtualNetworkGatewayConnection $connection
192+
```
193+
189194
## Next steps
190195
For more information about ExpressRoute, see the [ExpressRoute FAQ](expressroute-faqs.md).

0 commit comments

Comments
 (0)