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
Copy file name to clipboardExpand all lines: articles/virtual-network/ip-services/manage-custom-ip-address-prefix.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,9 @@ This article explains how to:
36
36
37
37
For information on provisioning an IP address, see [Create a custom IP address prefix - Azure portal](create-custom-ip-address-prefix-portal.md), [Create a custom IP address prefix - Azure PowerShell](create-custom-ip-address-prefix-powershell.md), or [Create a custom IP address prefix - Azure CLI](create-custom-ip-address-prefix-cli.md).
38
38
39
+
> [!NOTE]
40
+
> The examples below primarily reference the "unified" model for custom IP prefixes. For decommissoning and deprovisioning of custom IP prefixes using the "global/regional" model, see the special section at the end of this page.
41
+
39
42
## Create a public IP prefix from a custom IP prefix
40
43
41
44
When a unified (or regional) model custom IP prefix is in **Provisioned**, **Commissioning**, or **Commissioned** state, a linked public IP prefix can be created. Either as a subset of the custom IP prefix range or the entire range.
@@ -116,7 +119,7 @@ To view a custom IP prefix, the following commands can be used in Azure CLI and
116
119
A custom IP prefix must be decommissioned to turn off advertisements.
117
120
118
121
> [!NOTE]
119
-
> All public IP prefixes created from a provisioned custom IP prefix must be deleted before a custom IP prefix can be decommissioned. If this could potentially cause an issue as part of a migration, see the following section on regional commissioning.
122
+
> All public IP prefixes created from a provisioned custom IP prefix must be deleted before a custom IP prefix can be decommissioned. If this could potentially cause an issue as part of a migration, see the following section on [regional commissioning](#removal-of-prefixes-using-the-globalregional-model).
120
123
>
121
124
> The estimated time to fully complete the decommissioning process is 3-4 hours.
122
125
@@ -170,6 +173,18 @@ The following commands can be used in Azure CLI and Azure PowerShell to deprovis
170
173
171
174
Alternatively, a custom IP prefix can be decommissioned via the Azure portal using the **Deprovision** button in the **Overview** section of the custom IP prefix, and then deleted using the **Delete** button in the same section.
172
175
176
+
## Removal of prefixes using the global/regional model
177
+
178
+
The above examples use the unified model for custom IP prefixes. When removing custom IP prefixes created using the global/regional model, a specific order is reccomended to ensure proper cleanup:
179
+
180
+
1. Decommission the global custom IP prefix - this will prevent advertising from the Microsoft WAN.
181
+
2. Ensure any public ip prefixes created from regional custom IP prefixes are deleted.
182
+
3. Decommission all regional custom IP prefixes - this will prevent them from advertsing within their respective Azure regions.
183
+
4. Deprovision all regional custom IP prefixes.
184
+
5. Deprovision the global custom IP prefix.
185
+
186
+
If you only want to remove specific regional custom IP prefixes, then steps 3 and 4 in isolation will work.
187
+
173
188
## Permissions
174
189
175
190
For permissions to manage public IP address prefixes, your account must be assigned to the [network contributor](../../role-based-access-control/built-in-roles.md?toc=%2fazure%2fvirtual-network%2ftoc.json#network-contributor) role or to a [custom](../../role-based-access-control/custom-roles.md?toc=%2fazure%2fvirtual-network%2ftoc.json) role.
0 commit comments