13–Windows Server 2016
RoCE over Switch Embedded Teaming
204
AH0054601-00 B
Creating a Hyper-V Virtual Switch with SET and RDMA Virtual NICs
To create a Hyper-V virtual switch with SET and RDMA virtual NICs:
To create a SET, issue the following Windows PowerShell command:
PS C:\Users\Administrator>
New-VMSwitch -Name SET
-NetAdapterName "Ethernet 2","Ethernet 3"
-EnableEmbeddedTeaming $true
shows command output.
Figure 13-7. Windows PowerShell Command: New-VMSwitch
Enabling RDMA on SET
To enable RDMA on SET:
1.
To view the SET on the adapter, issue the following Windows PowerShell
command:
PS C:\Users\Administrator>
Get-NetAdapter "vEthernet (SET)"
shows command output.
Figure 13-8. Windows PowerShell Command: Get-NetAdapter
2.
To enable RDMA on SET, issue the following Windows PowerShell
command:
PS C:\Users\Administrator>
Enable-NetAdapterRdma "vEthernet
(SET)"
Assigning a VLAN ID on SET
To assign a VLAN ID on SET:
To assign a VLAN ID on SET, issue the following Windows PowerShell
command:
PS C:\Users\Administrator>
Set-VMNetworkAdapterVlan
-VMNetworkAdapterName "SET" -VlanId 5 -Access -ManagementOS