User Manual

Table Of Contents
Rev 4.60
Mellanox Technologies
44
Step 5. [Optional] If VLANs are used, mark the egress traffic with the relevant VlanID.
The NIC is referred as "Ethernet 4” in the examples below.
Step 6. [Optional] Configure the IP address for the NIC.
If DHCP is used, the IP address will be assigned automatically.
Step 7. [Optional] Set the DNS server (assuming its IP address is 192.168.1.2).
Step 8. Disable Priority Flow Control (PFC) for all other priorities except for 3.
Step 9. Enable QoS on the relevant interface.
Step 10. Enable PFC on priority 3.
To add the script to the local machine startup scripts:
Step 1. From the PowerShell invoke.
Step 2. In the pop-up window, under the 'Computer Configuration' section, perform the following:
1. Select Windows Settings
2. Select Scripts (Startup/Shutdown)
3. Double click Startup to open the Startup Properties
4. Click Add
5. Browse for the script's location.
6. Click OK
PS $ Set-NetAdapterAdvancedProperty -Name "Ethernet 4" -RegistryKeyword "VlanID" -RegistryValue
"55"
PS $ Set-NetIPInterface -InterfaceAlias “Ethernet 4” -DHCP Disabled
PS $ Remove-NetIPAddress -InterfaceAlias “Ethernet 4” -AddressFamily IPv4 -Confirm:$false
PS $ New-NetIPAddress -InterfaceAlias “Ethernet 4” -IPAddress 192.168.1.10 -PrefixLength 24 -Type
Unicast
PS $ Set-DnsClientServerAddress -InterfaceAlias “Ethernet 4” -ServerAddresses 192.168.1.2
After establishing the priorities of ND/NDK traffic, the priorities must have PFC
enabled on them.
PS $ Disable-NetQosFlowControl 0,1,2,4,5,6,7
PS $ Enable-NetAdapterQos -InterfaceAlias "Ethernet 4"
PS $ Enable-NetQosFlowControl -Priority 3
gpedit.msc