Create an ExpressRoute Circuit with BGP Peering

Last updated: 29/09/2015

This template creates an ExpressRoute Circuit and an AzurePrublicPeering BGP Peering, for a specified Service Provider and SKU

This Azure Resource Manager (ARM) template was created by a member of the community and not by Microsoft. Each ARM template is licensed to you under a licence agreement by its owner, not Microsoft. Microsoft is not responsible for ARM templates provided and licensed by community members and does not screen for security, compatibility or performance. Community ARM templates are not supported under any Microsoft support programme or service, and are made available AS IS without warranty of any kind.

Parameters

Parameter Name Description
circuitName This is the name of the ExpressRoute circuit
serviceProviderName This is the name of the ExpressRoute Service Provider. It must exactly match one of the Service Providers from List ExpressRoute Service Providers API call.
peeringLocation This is the name of the peering location and not the ARM resource location. It must exactly match one of the available peering locations from List ExpressRoute Service Providers API call.
bandwidthInMbps This is the bandwidth in Mbps of the circuit being created. It must exactly match one of the available bandwidth offers List ExpressRoute Service Providers API call.
sku_tier Chosen SKU Tier of ExpressRoute circuit. Choose from Premium or Standard SKU tiers.
sku_family Chosen SKU family of ExpressRoute circuit. Choose from MeteredData or UnlimitedData SKU families.
peeringType BGP peering type for the Circuit. Choose from AzurePrivatePeering, AzurePublicPeering or MicrosoftPeering.
sharedKey The shared key for peering configuration. Router does MD5 hash comparison to validate the packets sent by BGP connection. This parameter is optional and can be removed from peering configuration if not required.
peerASN The autonomous system number of the customer/connectivity provider.
primaryPeerAddressPrefix /30 subnet used to configure IP addresses for interfaces on Link1.
secondaryPeerAddressPrefix /30 subnet used to configure IP addresses for interfaces on Link2.
vlanId Specifies the identifier that is used to identify the customer.

Use the template

PowerShell

New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/201-expressroute-circuit-public-private-peering/azuredeploy.json
Installing and configuring Azure PowerShell

Command line

azure config mode arm
azure group deployment create <my-resource-group> <my-deployment-name> --template-uri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/201-expressroute-circuit-public-private-peering/azuredeploy.json
Installing and configuring the Azure cross-platform command-line interface