Skip to content

Commit e13c074

Browse files
committed
Tweaks
1 parent 41c140e commit e13c074

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

AKS-Arc/aks-networks.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@ You can create a logical network using either the Azure Command-Line Interface (
4747

4848
# [Azure CLI](#tab/azurecli)
4949

50-
You can use the [`az stack-hci-vm network lnet create`](/cli/azure/stack-hci-vm/network/lnet#az-stack-hci-vm-network-lnet-create) cmdlet to create a logical network on the VM switch in Static IP configuration.
50+
You can use the [`az stack-hci-vm network lnet create`](/cli/azure/stack-hci-vm/network/lnet#az-stack-hci-vm-network-lnet-create) cmdlet to create a logical network on the VM switch in the static IP configuration.
51+
52+
```azurecli
53+
az stack-hci-vm network lnet create --subscription $subscription --resource-group $resource_group --custom-location $customLocationID --name $lnetName --vm-switch-name $vmSwitchName --ip-allocation-method "Static" --address-prefixes $addressPrefixes --gateway $gateway --dns-servers $dnsServers --ip-pool-start $ipPoolStart --ip-pool-end $ipPoolEnd --vlan 10
54+
```
5155

5256
For static IP, the required parameters are as follows:
5357

@@ -66,10 +70,6 @@ For static IP, the required parameters are as follows:
6670
| `--ip-pool-end` | The end IP address of your IP pool. The address must be in range of the address prefix. Usage: `--ip-pool-end "10.220.32.38"`. |
6771
| `--vlan` | The VLAN ID. Usage: `--vlan 10`. This parameter is required, otherwise the default value of 0 results in an AKS Arc cluster creation failure. |
6872

69-
```azurecli
70-
az stack-hci-vm network lnet create --subscription $subscription --resource-group $resource_group --custom-location $customLocationID --name $lnetName --vm-switch-name $vmSwitchName --ip-allocation-method "Static" --address-prefixes $addressPrefixes --gateway $gateway --dns-servers $dnsServers --ip-pool-start $ipPoolStart --ip-pool-end $ipPoolEnd --vlan 10
71-
```
72-
7373
# [Azure portal](#tab/azureportal)
7474

7575
Complete the following steps to create a logical network using the Azure portal:

0 commit comments

Comments
 (0)