You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: This article walks you through the steps for creating and provisioning the private, public and Microsoft peering of an ExpressRoute circuit. This article also shows you how to check the status, update, or delete peerings for your circuit.
This article walks you through the steps to create and manage peering/routing configuration for an ExpressRoute circuit using PowerShell and the classic deployment model. The steps below will also show you how to check the status, update, or delete and deprovision peerings for an ExpressRoute circuit. You can configure one, two, or all three peerings (Azure private, Azure public, and Microsoft) for an ExpressRoute circuit. You can configure peerings in any order you choose. However, you must make sure that you complete the configuration of each peering one at a time.
23
+
This article walks you through the steps to create and manage peering/routing configuration for an ExpressRoute circuit using PowerShell and the classic deployment model. The following steps show you how to check the status, update, or delete and deprovision peerings for an ExpressRoute circuit. You can configure one, two, or all three peerings (Azure private, Azure public, and Microsoft) for an ExpressRoute circuit. You can configure peerings in any order you choose. However, you must make sure that you complete the configuration of each peering one at a time.
25
24
26
-
These instructions only apply to circuits created with service providers that offer Layer 2 connectivity services. If you are using a service provider that offers managed Layer 3 services (typically an IPVPN, like MPLS), your connectivity provider will configure and manage routing for you.
25
+
These instructions only apply to circuits created with service providers that offer Layer 2 connectivity services. If you're using a service provider that offers managed Layer 3 services, your connectivity provider configures and manage routing for you.
@@ -33,8 +32,8 @@ These instructions only apply to circuits created with service providers that of
33
32
34
33
## Configuration prerequisites
35
34
36
-
* Make sure that you have reviewed the [prerequisites](expressroute-prerequisites.md) page, the [routing requirements](expressroute-routing.md) page, and the [workflows](expressroute-workflows.md) page before you begin configuration.
37
-
* You must have an active ExpressRoute circuit. Follow the instructions to [create an ExpressRoute circuit](expressroute-howto-circuit-classic.md) and have the circuit enabled by your connectivity provider before you proceed. The ExpressRoute circuit must be in a provisioned and enabled state for you to be able to run the cmdlets described below.
35
+
* Make sure that you review the [prerequisites](expressroute-prerequisites.md) page, the [routing requirements](expressroute-routing.md) page, and the [workflows](expressroute-workflows.md) page before you begin configuration.
36
+
* You must have an active ExpressRoute circuit. Follow the instructions to [create an ExpressRoute circuit](expressroute-howto-circuit-classic.md) and have the circuit enabled by your connectivity provider before you proceed. The ExpressRoute circuit must be in a provisioned and enabled state for you to be able to run the following cmdlets.
38
37
39
38
### Download the latest PowerShell cmdlets
40
39
@@ -48,7 +47,7 @@ This section provides instructions on how to create, get, update, and delete the
48
47
49
48
1.**Create an ExpressRoute circuit.**
50
49
51
-
Follow the instructions to create an [ExpressRoute circuit](expressroute-howto-circuit-classic.md) and have it provisioned by the connectivity provider. If your connectivity provider offers managed Layer 3 services, you can request your connectivity provider to enable Azure private peering for you. In that case, you won't need to follow instructions listed in the next sections. However, if your connectivity provider does not manage routing for you, after creating your circuit, follow the instructions below.
50
+
Follow the instructions to create an [ExpressRoute circuit](expressroute-howto-circuit-classic.md) and provisioned by the connectivity provider. If your connectivity provider offers managed Layer 3 services, you can request your connectivity provider to enable Azure private peering for you. In that case, you won't need to follow instructions listed in the next sections. However, if your connectivity provider doesn't manage routing for you, after creating your circuit, continue with the following steps.
52
51
2.**Check the ExpressRoute circuit to make sure it is provisioned.**
53
52
54
53
Check to see if the ExpressRoute circuit is Provisioned and also Enabled.
@@ -80,10 +79,10 @@ This section provides instructions on how to create, get, update, and delete the
80
79
81
80
Make sure that you have the following items before you proceed with the next steps:
82
81
83
-
* A /30 subnet for the primary link. This must not be part of any address space reserved for virtual networks.
84
-
* A /30 subnet for the secondary link. This must not be part of any address space reserved for virtual networks.
82
+
* A /30 subnet for the primary link. The subnet must not be part of any address space reserved for virtual networks.
83
+
* A /30 subnet for the secondary link. The subnet must not be part of any address space reserved for virtual networks.
85
84
* A valid VLAN ID to establish this peering on. Verify that no other peering in the circuit uses the same VLAN ID.
86
-
* AS number for peering. You can use both 2-byte and 4-byte AS numbers. You can use a private AS number for this peering. Verify that you are not using 65515.
85
+
* AS number for peering. You can use both 2-byte and 4-byte AS numbers. You can use a private AS number for this peering. Verify that you aren't using 65515.
87
86
* An MD5 hash if you choose to use one. **Optional**.
88
87
89
88
You can use the following example to configure Azure private peering for your circuit:
@@ -143,114 +142,6 @@ You can remove your peering configuration by running the following cmdlet. You m
This section provides instructions on how to create, get, update, and delete the Azure public peering configuration for an ExpressRoute circuit.
149
-
150
-
> [!NOTE]
151
-
> Azure public peering is deprecated for new circuits.
152
-
>
153
-
154
-
### To create Azure public peering
155
-
156
-
1.**Create an ExpressRoute circuit**
157
-
158
-
Follow the instructions to create an [ExpressRoute circuit](expressroute-howto-circuit-classic.md) and have it provisioned by the connectivity provider. If your connectivity provider offers managed Layer 3 services, you can request your connectivity provider to enable Azure public peering for you. In that case, you won't need to follow instructions listed in the next sections. However, if your connectivity provider does not manage routing for you, after creating your circuit, follow the instructions below.
159
-
2.**Check ExpressRoute circuit to verify that it is provisioned**
160
-
161
-
You must first check to see if the ExpressRoute circuit is Provisioned and also Enabled.
Verify that the circuit shows as Provisioned and Enabled. If it isn't, work with your connectivity provider to get your circuit to the required state and status.
181
-
182
-
```powershell
183
-
ServiceProviderProvisioningState : Provisioned
184
-
Status : Enabled
185
-
```
186
-
4.**Configure Azure public peering for the circuit**
187
-
188
-
Make sure that you have the following information before you proceed:
189
-
190
-
* A /30 subnet for the primary link. This must be a valid public IPv4 prefix.
191
-
* A /30 subnet for the secondary link. This must be a valid public IPv4 prefix.
192
-
* A valid VLAN ID to establish this peering on. Verify that no other peering in the circuit uses the same VLAN ID.
193
-
* AS number for peering. You can use both 2-byte and 4-byte AS numbers.
194
-
* An MD5 hash if you choose to use one. **Optional**.
195
-
196
-
> [!IMPORTANT]
197
-
> Make sure that you specify your AS number as peering ASN and not customer ASN.
198
-
>
199
-
200
-
You can use the following example to configure Azure public peering for your circuit:
Verify that the circuit shows as Provisioned and Enabled.
246
-
### To delete Azure public peering
247
-
248
-
You can remove your peering configuration by running the following cmdlet:
249
-
250
-
```powershell
251
-
Remove-AzureBGPPeering -AccessType Public -ServiceKey "*********************************"
252
-
```
253
-
254
145
## Microsoft peering
255
146
256
147
This section provides instructions on how to create, get, update, and delete the Microsoft peering configuration for an ExpressRoute circuit.
@@ -259,7 +150,7 @@ This section provides instructions on how to create, get, update, and delete the
259
150
260
151
1.**Create an ExpressRoute circuit**
261
152
262
-
Follow the instructions to create an [ExpressRoute circuit](expressroute-howto-circuit-classic.md) and have it provisioned by the connectivity provider. If your connectivity provider offers managed Layer 3 services, you can request your connectivity provider to enable Azure private peering for you. In that case, you won't need to follow instructions listed in the next sections. However, if your connectivity provider does not manage routing for you, after creating your circuit, follow the instructions below.
153
+
Follow the instructions to create an [ExpressRoute circuit](expressroute-howto-circuit-classic.md) and provisioned by the connectivity provider. If your connectivity provider offers managed Layer 3 services, you can request your connectivity provider to enable Azure private peering for you. In that case, you won't need to follow instructions listed in the next sections. However, if your connectivity provider doesn't manage routing for you, after creating your circuit, continue with the following steps.
263
154
2.**Check ExpressRoute circuit to verify that it is provisioned**
264
155
265
156
Verify that the circuit shows as Provisioned and Enabled.
@@ -291,12 +182,12 @@ This section provides instructions on how to create, get, update, and delete the
291
182
292
183
Make sure that you have the following information before you proceed.
293
184
294
-
* A /30 subnet for the primary link. This must be a valid public IPv4 prefix owned by you and registered in an RIR / IRR.
295
-
* A /30 subnet for the secondary link. This must be a valid public IPv4 prefix owned by you and registered in an RIR / IRR.
185
+
* A /30 subnet for the primary link. The subnet must be a valid public IPv4 prefix owned by you and registered in an RIR / IRR.
186
+
* A /30 subnet for the secondary link. The subnet must be a valid public IPv4 prefix owned by you and registered in an RIR / IRR.
296
187
* A valid VLAN ID to establish this peering on. Verify that no other peering in the circuit uses the same VLAN ID.
297
188
* AS number for peering. You can use both 2-byte and 4-byte AS numbers.
298
189
* Advertised prefixes: You must provide a list of all prefixes you plan to advertise over the BGP session. Only public IP address prefixes are accepted. You can send a comma-separated list if you plan to send a set of prefixes. These prefixes must be registered to you in an RIR / IRR.
299
-
* Customer ASN: If you are advertising prefixes that are not registered to the peering AS number, you can specify the AS number to which they are registered. **Optional**.
190
+
* Customer ASN: If you're advertising prefixes that aren't registered to the peering AS number, you can specify the AS number to which they're registered. **Optional**.
300
191
* Routing Registry Name: You can specify the RIR / IRR against which the AS number and prefixes are registered.
301
192
* An MD5 hash, if you choose to use one. **Optional.**
302
193
@@ -348,7 +239,7 @@ Remove-AzureBGPPeering -AccessType Microsoft -ServiceKey "**********************
348
239
349
240
## Next steps
350
241
351
-
Next, [Link a VNet to an ExpressRoute circuit](expressroute-howto-linkvnet-classic.md).
242
+
Next, [Link a virtual network to an ExpressRoute circuit](expressroute-howto-linkvnet-classic.md).
352
243
353
244
* For more information about workflows, see [ExpressRoute workflows](expressroute-workflows.md).
354
245
* For more information about circuit peering, see [ExpressRoute circuits and routing domains](expressroute-circuit-peerings.md).
0 commit comments