Skip to content

Commit c27a1ad

Browse files
Placeholder formatting and additional command fix
1 parent f98535c commit c27a1ad

File tree

2 files changed

+103
-57
lines changed

2 files changed

+103
-57
lines changed

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

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Azure Private 5G Core is an Azure cloud service for deploying and managing 5G co
3838
- [az mobile-network pcdp create](/cli/azure/mobile-network/pcdp#az-mobile-network-pcdp-create)
3939
- [az mobile-network data-network create](/cli/azure/mobile-network/data-network#az-mobile-network-data-network-create)
4040
- [az mobile-network sim group create](/cli/azure/mobile-network/sim/group#az-mobile-network-sim-group-create)
41-
- [az mobile-network slice create](/cli/azure/mobile-network/slice#az-mobile-network-slice-create)
41+
- [az mobile-network slice create](/cli/azure/mobile-network/slice#az-mobile-network-slice-create)
4242
- [az mobile-network service create](/cli/azure/mobile-network/service#az-mobile-network-service-create)
4343
- [az mobile-network sim policy create](/cli/azure/mobile-network/sim/policy#az-mobile-network-sim-policy-create)
4444
- [az mobile network sim create](/cli/azure/mobile-network/sim#az-mobile-network-sim-create)
@@ -83,10 +83,24 @@ Use `az mobile-network pccp create` to create a new **Packet Core Control Plane*
8383

8484
|Placeholder|Value|
8585
|-|-|
86-
| `<MOBILENETWORK>` | Enter the name for the mobile network. |
86+
| `<MOBILENETWORK>` | Enter the name of the ASE. |
87+
| `<MOBILENETWORK>` | Enter the name of the mobile network. |
8788
| `<RESOURCEGROUP>` | Enter the name of the resource group. |
8889
| `<CONTROLPLANE>` | Enter the name for the packet core control plane. |
8990
| `<SITE>` | Enter the name of the site. |
91+
| `<IPV4ADDRESS>` | Enter the IPV4 address of the site. |
92+
93+
Obtain the ASE ID and assign it to a variable.
94+
95+
```azurecli
96+
ASE_ID=$(databoxedge device show --device-name <ASE> -g <RESOURCEGROUP> --query "id")
97+
```
98+
99+
Obtain the custom location ID and assign it to a variable.
100+
101+
```azurecli
102+
ASE_ID=$(customlocation show --name <CUSTOMLOCATION> -g <RESOURCEGROUP> --query "id")
103+
```
90104

91105
Obtain the site ID and assign it to a variable.
92106

@@ -97,7 +111,7 @@ SITE_ID=$(mobile-network site show --mobile-network-name <MOBILENETWORK> -g <RES
97111
Create the site.
98112

99113
```azurecli
100-
az mobile-network pccp create -n <CONTROLPLANE> -g <RESOURCEGROUP> --access-interface "{name:N2,ipv4Address:10.28.128.2,ipv4Subnet:10.28.128.0/24,ipv4Gateway:10.28.128.1}" --local-diagnostics "{authentication-type:AAD}" --platform "{type:AKS-HCI}" --sites "[{id:$SITE_ID}]" --sku G0 --location eastus
114+
az mobile-network pccp create -n <CONTROLPLANE> -g <RESOURCEGROUP> --access-interface name=N2 ipv4Address=<IPV4ADDRESS> --local-diagnostics authentication-type=Password --platform type=AKS-HCI azure-stack-edge-device="{id:$ASE_ID}" customLocation="{id:$CUSTOM_LOCATION_ID}" --sites "[{id:$SITE_ID}]" --sku G0 --location eastus
101115
```
102116

103117
### Create a Packet Core Data Plane resource
@@ -242,7 +256,7 @@ Use `az mobile-network attached-data-network create` to attach the **Data Networ
242256
| `<RESOURCEGROUP>` | Enter the name of the resource group. |
243257

244258
```azurecli
245-
az mobile-network attached-data-network create -n <DATANETWORK> -g <RESOURCEGROUP> --pccp-name <CONTROLPLANE> --pcdp-name <DATAPLANE> --dns-addresses "[1.1.1.1]" --data-interface " {name:N2,ipv4Address:10.28.128.2,ipv4Subnet:10.28.128.0/24,ipv4Gateway:10.28.128.1}"
259+
az mobile-network attached-data-network create -n <DATANETWORK> -g <RESOURCEGROUP> --pccp-name <CONTROLPLANE> --pcdp-name <DATAPLANE> --dns-addresses "[1.1.1.1]" --data-interface name=N6 --address-pool 192.168.1.0/24
246260
```
247261

248262
## Clean up resources

0 commit comments

Comments
 (0)