You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-network/accelerated-networking-overview.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,8 @@ The following Linux and FreeBSD distributions from the Azure Gallery support Acc
91
91
--output table
92
92
```
93
93
94
-
Although NC and NV sizes appear in the command output, those sizes don't support Accelerated Networking. Enabling Accelerated Networking on NC or NV VMs has no effect.
94
+
>[!NOTE]
95
+
>Although NC and NV sizes appear in the command output, those sizes don't support Accelerated Networking. Enabling Accelerated Networking on NC or NV VMs has no effect.
Copy file name to clipboardExpand all lines: articles/virtual-network/create-vm-accelerated-networking-powershell.md
+26-29Lines changed: 26 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ ms.author: allensu
15
15
16
16
# Use Azure PowerShell to create a Windows VM with Accelerated Networking
17
17
18
-
This article describes how to use Azure PowerShell to create a Windows virtual machine (VM) with Accelerated Networking (AccelNet) enabled. The article also discusses application binding requirements, and how to enable and manage Accelerated Networking on existing VMs.
18
+
This article describes how to use Azure PowerShell to create a Windows virtual machine (VM) with Accelerated Networking (AccelNet) enabled. The article also discusses how to enable and manage Accelerated Networking on existing VMs.
19
19
20
20
You can also create a VM with Accelerated Networking enabled by using the [Azure portal](quick-create-portal.md). For more information about managing Accelerated Networking on VMs through the Azure portal, see [Manage Accelerated Networking through the portal](#manage-accelerated-networking-through-the-portal).
21
21
@@ -27,7 +27,7 @@ To use Azure CLI to create a Linux VM with Accelerated Networking enabled, see [
27
27
28
28
-[Azure PowerShell](/powershell/azure/install-az-ps) 1.0.0 or later installed. To find your currently installed version, run `Get-Module -ListAvailable Az`. If you need to install or upgrade, install the latest version of the Az module from the [PowerShell Gallery](https://www.powershellgallery.com/packages/Az).
29
29
30
-
- In a PowerShell session, sign in to an Azure account by using [Connect-AzAccount](/powershell/module/az.accounts/connect-azaccount).
30
+
- In PowerShell, sign in to your Azure account by using [Connect-AzAccount](/powershell/module/az.accounts/connect-azaccount).
31
31
32
32
## Create a VM with Accelerated Networking
33
33
@@ -46,16 +46,16 @@ In the following examples, replace the example parameters such as `<myResourceGr
46
46
```azurepowershell
47
47
$subnet = New-AzVirtualNetworkSubnetConfig `
48
48
-Name "<mySubnet>" `
49
-
-AddressPrefix "192.168.1.0/24"
49
+
-AddressPrefix "<192.168.1.0/24>"
50
50
```
51
51
52
-
1. Use [New-AzVirtualNetwork](/powershell/module/az.Network/New-azVirtualNetwork) to create the virtual network with the subnet.
52
+
1. Use [New-AzVirtualNetwork](/powershell/module/az.Network/New-azVirtualNetwork) to create a virtual network with the subnet.
@@ -81,7 +81,7 @@ In the following examples, replace the example parameters such as `<myResourceGr
81
81
82
82
```azurepowershell
83
83
$nsg = New-AzNetworkSecurityGroup `
84
-
-ResourceGroupName "<myResourceGroup>" `
84
+
-ResourceGroupName "<myResourceGroup>" `
85
85
-Location "<myAzureRegion>" `
86
86
-Name "<myNsg>" `
87
87
-SecurityRules $rdp
@@ -93,7 +93,7 @@ In the following examples, replace the example parameters such as `<myResourceGr
93
93
Set-AzVirtualNetworkSubnetConfig `
94
94
-VirtualNetwork $vnet `
95
95
-Name "<mySubnet>" `
96
-
-AddressPrefix "192.168.1.0/24" `
96
+
-AddressPrefix "<192.168.1.0/24>" `
97
97
-NetworkSecurityGroup $nsg
98
98
```
99
99
@@ -123,7 +123,7 @@ In the following examples, replace the example parameters such as `<myResourceGr
123
123
124
124
### Create a VM and attach the network interface
125
125
126
-
1. Use [Get-Credential](/powershell/module/microsoft.powershell.security/get-credential) to set credentials for the VM and store them in the `$cred` variable, which prompts you to sign in.
126
+
1. Use [Get-Credential](/powershell/module/microsoft.powershell.security/get-credential) to set a user name and password for the VM and store them in the `$cred` variable.
127
127
128
128
```azurepowershell
129
129
$cred = Get-Credential
@@ -157,7 +157,7 @@ In the following examples, replace the example parameters such as `<myResourceGr
@@ -177,20 +177,20 @@ Once you create the VM in Azure, connect to the VM and confirm that the Ethernet
177
177
178
178
1. On the **Native RDP** screen, select **Download RDP file**.
179
179
180
-
1. Open the downloaded RDP file, and then sign in to the VM with the credentials you entered when you created the VM.
180
+
1. Open the downloaded RDP file, and then sign in with the credentials you entered when you created the VM.
181
181
182
-
1. On the remote VM, right-click the Windows **Start** button and select **Device Manager**.
182
+
1. On the remote VM, right-click **Start** and select **Device Manager**.
183
183
184
184
1. In the **Device Manager** window, expand the **Network adapters** node.
185
185
186
186
1. Confirm that the **Mellanox ConnectX-4 Lx Virtual Ethernet Adapter** appears, as shown in the following image:
187
187
188
-

188
+

189
189
190
-
Accelerated networking is now enabled for your VM.
190
+
The presence of the adapter confirms that Accelerated Networking is enabled for your VM.
191
191
192
192
> [!NOTE]
193
-
> If the Mellanox adapter fails to start, open an administrator prompt in the remote desktop session and enter the following command:
193
+
> If the Mellanox adapter fails to start, open an administrator command prompt on the remote VM and enter the following command:
194
194
>
195
195
> `netsh int tcp set global rss = enabled`
196
196
@@ -211,15 +211,14 @@ You can enable Accelerated Networking on an existing VM. The VM must meet the fo
If you created your VM individually without an availability set, you must stop or deallocate only the individual VM to enable Accelerated Networking. If you created your VM with an availability set, you must stop or deallocate all VMs in the set before you can enable Accelerated Networking on any of the NICs. The VMs then end up on a cluster that supports Accelerated Networking.
214
+
If you created your VM individually without an availability set, you must stop or deallocate only the individual VM to enable Accelerated Networking. If you created your VM with an availability set, you must stop or deallocate all VMs in the set, so the VMs end up on a cluster that supports Accelerated Networking.
215
215
216
-
The stop or deallocate requirement is unnecessary if you disable Accelerated Networking. Clusters that support Accelerated Networking also work fine with NICs that don't use Accelerated Networking.
216
+
The stop or deallocate requirement is unnecessary to disable Accelerated Networking. Clusters that support Accelerated Networking also work fine with NICs that don't use Accelerated Networking.
217
217
218
218
1. Enable Accelerated Networking on the NIC of your VM:
@@ -229,8 +228,7 @@ You can enable Accelerated Networking on an existing VM. The VM must meet the fo
229
228
3. Restart your VM, or all the VMs in the availability set, and [confirm that Accelerated Networking is enabled](#confirm-the-ethernet-controller-is-installed).
Once you restart and the upgrades finish, the virtual function (VF) appears inside VMs that use a supported OS and VM size.
@@ -289,7 +286,7 @@ VMs with Accelerated Networking enabled can be resized only to sizes that also s
289
286
When you [create a VM in the Azure portal](quick-create-portal.md), you can select the **Enable accelerated networking** checkbox on the **Networking** tab of the **Create a virtual machine** screen. If the VM uses a [supported operating system](./accelerated-networking-overview.md#supported-operating-systems) and [VM size](./accelerated-networking-overview.md#supported-vm-instances) for Accelerated Networking, the checkbox is automatically selected. If Accelerated Networking isn't supported, the checkbox isn't selected, and a message explains the reason.
290
287
291
288
>[!NOTE]
292
-
>-You can enable Accelerated Networking during portal VM creation only for Azure Marketplace supported operating systems. To create and enable Accelerated Networking for a VM with a custom OS image, you must use PowerShell or Azure CLI.
289
+
>You can enable Accelerated Networking during portal VM creation only for Azure Marketplace supported operating systems. To create and enable Accelerated Networking for a VM with a custom OS image, you must use PowerShell or Azure CLI.
293
290
294
291
To enable or disable Accelerated Networking for an existing VM through the Azure portal:
Run the [Remove-AzVirtualNetworkSubnetConfig](/powershell/module/az.network/remove-azvirtualnetworksubnetconfig?toc=%2fazure%2fvirtual-network%2ftoc.json) command and then set the configuration.
0 commit comments