diff --git a/azure-local/multi-rack/multi-rack-create-logical-networks.md b/azure-local/multi-rack/multi-rack-create-logical-networks.md index 0d5ff81757..3bbb58f118 100644 --- a/azure-local/multi-rack/multi-rack-create-logical-networks.md +++ b/azure-local/multi-rack/multi-rack-create-logical-networks.md @@ -82,14 +82,14 @@ Create a static logical network when you want to create Azure Local VMs with net ```azurecli $lnetName = "mylocal-lnet-static" - $internalNetworkName = "" + $fabricResourceID = "" $subscription = "" $resource_group = "mylocal-rg" $customLocationID = "/subscriptions//resourceGroups/mylocal-rg/providers/Microsoft.ExtendedLocation/customLocations/mylocal-cl" $location = "eastus" $addressPrefixes = "100.68.180.0/28" - $ipPoolEnd = "100.68.180.20" $ipPoolStart = "100.68.180.10" + $ipPoolEnd = "100.68.180.20" $dnsServers = "192.168.200.222" $vlan = "201" ``` @@ -121,8 +121,7 @@ Create a static logical network when you want to create Azure Local VMs with net 1. Create a static logical network. Run the following command: ```azurecli - az stack-hci-vm network lnet create --subscription $subscription --resource-group $resource_group --custom-location $customLocationID --location $location --name $lnetName --ip-allocation-method "Static" --address-prefixes $addressPrefixes --no-gateway - --ip-pool-start $ipPoolStart --ip-pool-end $ipPoolEnd --ip-pool-type "vm" --dns-servers $dnsServers --fabric-network-configuration-id $fabricResourceID --vlan $vlan + az stack-hci-vm network lnet create --subscription $subscription --resource-group $resource_group --custom-location $customLocationID --location $location --name $lnetName --ip-allocation-method "Static" --address-prefixes $addressPrefixes --no-gateway --ip-pool-start $ipPoolStart --ip-pool-end $ipPoolEnd --ip-pool-type "vm" --dns-servers $dnsServers --fabric-network-configuration-id $fabricResourceID --vlan $vlan ``` Here's a sample output: @@ -199,4 +198,4 @@ Create a static logical network when you want to create Azure Local VMs with net ## Next steps -- [Create Azure Local VMs enabled by Azure Arc](./multi-rack-create-arc-virtual-machines.md) \ No newline at end of file +- [Create Azure Local VMs enabled by Azure Arc](./multi-rack-create-arc-virtual-machines.md)