title | description | services | author | ms.service | ms.topic | ms.date | ms.author | ms.custom |
---|---|---|---|---|---|---|---|---|
include file |
include file |
expressroute |
cherylmc |
expressroute |
include |
11/05/2018 |
cherylmc |
include file |
You must create a VNet and a gateway subnet first, before working on the following tasks.
Note
These examples do not apply to S2S/ExpressRoute coexist configurations. For more information about working with gateways in a coexist configuration, see Configure coexisting connections
Use the command below to create a gateway. Be sure to substitute any values for your own.
New-AzureVNetGateway -VNetName "MyAzureVNET" -GatewayType DynamicRouting -GatewaySKU Standard
Use the command below to verify that the gateway has been created. This command also retrieves the gateway ID, which you need for other operations.
Get-AzureVNetGateway
There are a number of Gateway SKUs. You can use the following command to change the Gateway SKU at any time.
Important
This command doesn't work for UltraPerformance gateway. To change your gateway to an UltraPerformance gateway, first remove the existing ExpressRoute gateway, and then create a new UltraPerformance gateway. To downgrade your gateway from an UltraPerformance gateway, first remove the UltraPerformance gateway, and then create a new gateway.
Resize-AzureVNetGateway -GatewayId <Gateway ID> -GatewaySKU HighPerformance
Use the command below to remove a gateway
Remove-AzureVnetGateway -GatewayId <Gateway ID>