Skip to content

Commit a1657d6

Browse files
committed
added commands to register feature flag
1 parent 3cc3cf1 commit a1657d6

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

articles/virtual-network/how-to-multiple-prefixes-subnet.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,42 @@ The following limitations apply during the public preview:
4343

4444
If you choose to install and use PowerShell locally, this article requires the Azure PowerShell module version 5.4.1 or later. Run `Get-Module -ListAvailable Az` to find the installed version. If you need to upgrade, see [Install Azure PowerShell module](/powershell/azure/install-Az-ps). If you're running PowerShell locally, you also need to run `Connect-AzAccount` to create a connection with Azure.
4545

46+
- To access the multiple subnet prefix preview feature you'll need to register it in your Azure subscription. For more information about registering preview features in your subscription, see [Set up preview features in Azure subscription](/azure/azure-resource-manager/management/preview-features).
47+
48+
- Azure Feature Exposure Control (AFEC) is available through the Microsoft.Features namespace. For this feature, two AFEC flags will need to be registered in your subscription:
49+
50+
- **Microsoft.Features/providers/Microsoft.Network/features/AllowMultipleAddressPrefixesOnSubnet**
51+
52+
- **Microsoft.Features/providers/Microsoft.Network/features/AllowDeletionOfIpPrefixFromSubnet**
53+
54+
- To register the feature, use the following commands:
55+
56+
```azurepowershell
57+
Register-AzProviderFeature -FeatureName AllowMultipleAddressPrefixesOnSubnet -ProviderNamespace Microsoft.Network
58+
59+
Register-AzProviderFeature -FeatureName AllowDeletionOfIpPrefixFromSubnet -ProviderNamespace Microsoft.Network
60+
```
61+
4662
# [CLI](#tab/cli)
4763
4864
- The how-to article requires version 2.31.0 or later of the Azure CLI. If using Azure Cloud Shell, the latest version is already installed.
4965
66+
- To access the multiple subnet prefix preview feature you'll need to register it in your Azure subscription. For more information about registering preview features in your subscription, see [Set up preview features in Azure subscription](/azure/azure-resource-manager/management/preview-features).
67+
68+
- Azure Feature Exposure Control (AFEC) is available through the Microsoft.Features namespace. For this feature, two AFEC flags will need to be registered in your subscription:
69+
70+
- **Microsoft.Features/providers/Microsoft.Network/features/AllowMultipleAddressPrefixesOnSubnet**
71+
72+
- **Microsoft.Features/providers/Microsoft.Network/features/AllowDeletionOfIpPrefixFromSubnet**
73+
74+
- To register the feature, use the following commands:
75+
76+
```azurepowershell
77+
az feature register --namespace Microsoft.Network --name AllowMultipleAddressPrefixesOnSubnet
78+
79+
az feature register --namespace Microsoft.Network --name AllowDeletionOfIpPrefixFromSubnet
80+
```
81+
5082
---
5183
5284
## Create a subnet with multiple prefixes

0 commit comments

Comments
 (0)