Skip to content

Commit 33e1a5c

Browse files
Merge pull request #307165 from brianlehr/patch-365752
Add removal steps for global/regional model IP prefixes
2 parents 7acafea + da940d0 commit 33e1a5c

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

articles/virtual-network/ip-services/manage-custom-ip-address-prefix.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ This article explains how to:
3636

3737
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).
3838

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+
3942
## Create a public IP prefix from a custom IP prefix
4043

4144
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
116119
A custom IP prefix must be decommissioned to turn off advertisements.
117120

118121
> [!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).
120123
>
121124
> The estimated time to fully complete the decommissioning process is 3-4 hours.
122125
@@ -170,6 +173,18 @@ The following commands can be used in Azure CLI and Azure PowerShell to deprovis
170173

171174
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.
172175

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+
173188
## Permissions
174189

175190
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

Comments
 (0)