Skip to content

Commit ff7bd77

Browse files
Tidier commands
1 parent 66bcd61 commit ff7bd77

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

articles/private-5g-core/deploy-private-mobile-network-with-site-powershell.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ Use `New-AzMobileNetworkPacketCoreControlPlane` to create a new **Packet Core Co
9595
| `<RESOURCEGROUP>` | Enter the name of the resource group. |
9696

9797
```powershell
98-
New-AzMobileNetworkPacketCoreControlPlane -Name <CONTROLPLANE> -ResourceGroupName <RESOURCEGROUP> -LocalDiagnosticAccessAuthenticationType Password -Location eastus -PlatformType AKS-HCI -Site $siteResourceId -Sku G0 -ControlPlaneAccessInterfaceIpv4Address 192.168.1.10 -ControlPlaneAccessInterfaceIpv4Gateway 192.168.1.1 -ControlPlaneAccessInterfaceIpv4Subnet 192.168.1.0/24 -ControlPlaneAccessInterfaceName N2 -CoreNetworkTechnology 5GC
98+
$aseId = "/subscriptions/9e276fe5-9273-4474-80c6-032321ab3795/resourceGroups/<RESOURCEGROUP>/providers/Microsoft.DataBoxEdge/DataBoxEdgeDevices/<ASE>"
99+
$customLocationId = "/subscriptions/9e276fe5-9273-4474-80c6-032321ab3795/resourceGroups/<RESOURCEGROUP>/providers/Microsoft.ExtendedLocation/customLocations/<CUSTOMLOCATION>"
100+
New-AzMobileNetworkPacketCoreControlPlane -Name <CONTROLPLANE> -ResourceGroupName <RESOURCEGROUP> -LocalDiagnosticAccessAuthenticationType Password -Location eastus -PlatformType AKS-HCI -Site $siteResourceId -Sku G0 -ControlPlaneAccessInterfaceIpv4Address 10.232.44.56 -ControlPlaneAccessInterfaceName N2 -AzureStackEdgeDeviceId $aseId -CustomLocationId $customLocationId
99101
```
100102

101103
### Create a Packet Core Data Plane resource
@@ -109,7 +111,7 @@ Use `New-AzMobileNetworkPacketCoreDataPlane` to create a new **Packet Core Data
109111
| `<RESOURCEGROUP>` | Enter the name of the resource group. |
110112

111113
```powershell
112-
New-AzMobileNetworkPacketCoreDataPlane -Name <DATAPLANE> -PacketCoreControlPlaneName <CONTROLPLANE> -ResourceGroupName <RESOURCEGROUP> -Location eastus -UserPlaneAccessInterfaceIpv4Address 10.0.1.10 -UserPlaneAccessInterfaceIpv4Gateway 10.0.1.1 -UserPlaneAccessInterfaceIpv4Subnet 10.0.1.0/24 -UserPlaneAccessInterfaceName N3
114+
New-AzMobileNetworkPacketCoreDataPlane -Name <DATAPLANE> -PacketCoreControlPlaneName <CONTROLPLANE> -ResourceGroupName <RESOURCEGROUP> -Location eastus -UserPlaneAccessInterfaceName N3
113115
```
114116

115117
### Create a Data Network
@@ -242,7 +244,7 @@ Use `New-AzMobileNetworkAttachedDataNetwork` to attach the **Data Network** you
242244
| `<RESOURCEGROUP>` | Enter the name of the resource group. |
243245

244246
```powershell
245-
New-AzMobileNetworkAttachedDataNetwork -Name <DATANETWORK> -PacketCoreControlPlaneName <CONTROLPLANE> -PacketCoreDataPlaneName <DATAPLANE> -ResourceGroupName <RESOURCEGROUP> -DnsAddress $dns -Location eastus -UserPlaneDataInterfaceIpv4Address 10.0.0.10 -UserPlaneDataInterfaceIpv4Gateway 10.0.0.1 -UserPlaneDataInterfaceIpv4Subnet 10.0.0.0/24 -UserPlaneDataInterfaceName N6
247+
New-AzMobileNetworkAttachedDataNetwork -Name <DATANETWORK> -PacketCoreControlPlaneName <CONTROLPLANE> -PacketCoreDataPlaneName <DATAPLANE> -ResourceGroupName <RESOURCEGROUP> -DnsAddress "1.1.1.1" -Location eastus -UserPlaneDataInterfaceName N6 -UserEquipmentAddressPoolPrefix "192.168.1.0/24"
246248
```
247249

248250
## Clean up resources

0 commit comments

Comments
 (0)