Skip to content

Commit 26eb76c

Browse files
committed
Format code
1 parent 8f3d77b commit 26eb76c

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

AKS-Arc/aks-networks.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,19 @@ You can create a logical network by using either the Azure CLI or the Azure port
5050
To create a logical network on the VM switch in a static IP configuration, 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) command:
5151

5252
```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
53+
az stack-hci-vm network lnet create \
54+
--subscription $subscription \
55+
--resource-group $resource_group \
56+
--custom-location $customLocationID \
57+
--name $lnetName \
58+
--vm-switch-name $vmSwitchName \
59+
--ip-allocation-method "Static" \
60+
--address-prefixes $addressPrefixes \
61+
--gateway $gateway \
62+
--dns-servers $dnsServers \
63+
--ip-pool-start $ipPoolStart \
64+
--ip-pool-end $ipPoolEnd \
65+
--vlan 10
5466
```
5567

5668
For static IP, the required parameters are as follows:

0 commit comments

Comments
 (0)