安裝橋接 (DCB) Windows Server 2016 或 Windows 10 中的資料中心Install Data Center Bridging (DCB) in Windows Server 2016 or Windows 10

適用於:Windows Server(以每年次管道)、Windows Server 2016Applies To: Windows Server (Semi-Annual Channel), Windows Server 2016

您可以使用本主題以了解如何在 Windows Server 2016 或 Windows 10 上安裝 DCB。You can use this topic to learn how to install DCB in Windows Server 2016 or Windows 10.

使用 DCB 必要條件Prerequisites for using DCB

以下是設定及管理 DCB 的必要條件。Following are the prerequisites for configuring and managing DCB.

安裝相容的作業系統Install a compatible operating system

在下列作業系統中,您可以使用此指南 DCB 命令。You can use the DCB commands from this guide in the following operating systems.

  • Windows Server(以每年次通道)Windows Server (Semi-Annual Channel)
  • Windows Server 2016Windows Server 2016
  • Windows 10 (all versions)Windows 10 (all versions)

在下列作業系統包含的舊版 DCB 不是相容 DCB Windows Server 2016 和 Windows 10 的文件中所使用的命令。The following operating systems include previous versions of DCB that are not compatible with the commands that are used in DCB documentation for Windows Server 2016 and Windows 10.

  • Windows Server 2012 R2Windows Server 2012 R2
  • Windows Server 2012Windows Server 2012

硬體需求Hardware requirements

以下是 DCB 的硬體需求的清單。Following is a list of hardware requirements for DCB.

  • DCB\ 能力乙太網路 adapter(s) 必須安裝在 Windows Server 2016 DCB 提供的電腦。DCB-capable Ethernet network adapter(s) must be installed in computers that are providing Windows Server 2016 DCB.
  • 網路上必須部署參數 DCB\ 支援的硬體。DCB-capable hardware switches must be deployed on your network.

Windows Server 2016 中安裝 DCBInstall DCB in Windows Server 2016

若要執行的 Windows Server 2016 的電腦上安裝 DCB,您可以使用下列各節。You can use the following sections to install DCB on a computer running Windows Server 2016.

管理認證Administrative Credentials

執行下列程序,您必須成員可以的系統管理員To perform these procedures, you must be a member of Administrators.

安裝 DCB 使用 Windows PowerShellInstall DCB Using Windows PowerShell

您可以使用 Windows PowerShell 來安裝 DCB 使用下列程序。You can use the following procedure to install DCB by using Windows PowerShell.

  1. 在執行 Windows Server 2016 的電腦,請按一下[開始],然後以滑鼠右鍵按一下 [Windows PowerShell 圖示。On a computer running Windows Server 2016, click Start, then right-click the Windows PowerShell icon. 會出現功能表。A menu appears. 功能表中,按一下 [更多,然後按一下 [以系統管理員身分執行In the menu, click More, and then click Run as administrator. 如果出現提示,請輸入認證帳號在電腦上的系統管理員權限。If prompted, type the credentials for an account that has Administrator privileges on the computer. Windows PowerShell 開啟以系統管理員權限。Windows PowerShell opens with Administrator privileges.
  2. 輸入下列命令,,然後按 ENTER 鍵。Type the following command, and then press ENTER.
    Install-WindowsFeature -Name Data-Center-Bridging -IncludeManagementTools

安裝 DCB 使用伺服器管理員Install DCB Using Server Manager

您可以使用下列程序使用伺服器管理員安裝 DCB。You can use the following procedure to install DCB by using Server Manager.

注意

之後您的第一個步驟執行這個程序,在您開始之前頁面上新增角色與精靈中的功能不顯示如果先前已選取預設略過此頁面功能精靈與新增的角色執行。After you perform the first step in this procedure, the Before You Begin page of the Add Roles and Features Wizard is not displayed if you have previously selected Skip this page by default when the Add Roles and Features Wizard was run. 如果在您開始之前,請先頁面上未顯示,步驟 1 跳至步驟 3。If the Before You Begin page is not displayed, skip from step 1 to step 3.

  1. 在 DC1,在伺服器管理員中,按一下管理,然後按一下 [新增角色與功能On DC1, in Server Manager, click Manage, and then click Add Roles and Features. 新增角色與功能精靈開啟。The Add Roles and Features Wizard opens.
  2. 在您開始之前,請先,按一下 [In Before You Begin, click Next.
  3. 選擇安裝類型,確認以角色為基礎,或為基礎的功能的安裝已選取,然後按一下 [下一步In Select Installation Type, ensure that Role-Based or feature-based installation is selected, and then click Next.
  4. 選取目的伺服器,確保選取伺服器伺服器集區的選取。In Select destination server, ensure that Select a server from the server pool is selected. 伺服器集區,請確定已選取 [本機電腦。In Server Pool, ensure that the local computer is selected. 按一下下一步Click Next.
  5. 選擇伺服器角色,按一下 [In Select server roles, click Next.
  6. 選擇功能,請在功能,按一下 [資料中心橋接In Select features, in Features, click Data Center Bridging. 對話方塊要求您是否要將新增 DCB 所需的功能。A dialog box opens to ask if you want to add DCB required features. 按一下[新增功能Click Add Features.
  7. 選擇功能,按一下 [In Select features, click Next.
  8. 7.的確認安裝選項,按一下 [安裝7.In Confirm installation selections, click Install. 安裝進度頁面上的安裝程序期間會顯示狀態。The Installation progress page displays status during the installation process. 安裝該成功的訊息會出現 stating 之後,請按一下關閉After the message appears stating that installation succeeded, click Close.

設定允許 QoS (Optional) 核心偵錯工具Configure the kernel debugger to allow QoS (Optional)

根據預設,核心偵錯工具封鎖 NetQos。By default, kernel debuggers block NetQos. 無論您用來安裝 DCB,如果您有核心偵錯工具安裝於電腦的方法,您必須設定允許 QoS 控制和設定,執行下列命令,偵錯工具。Regardless of the method that you used to install DCB, if you have a kernel debugger installed in the computer, you must configure the debugger to allow QoS to be enabled and configured by running the following command.

Set-ItemProperty HKLM:"\SYSTEM\CurrentControlSet\Services\NDIS\Parameters" AllowFlowControlUnderDebugger -type DWORD -Value 1 -Force

在 Windows 10 中安裝 DCBInstall DCB in Windows 10

您可以在 Windows 10 電腦上,執行下列程序。You can perform the following procedure on a Windows 10 computer.

若要執行此程序,您必須成員的系統管理員To perform this procedure, you must be a member of Administrators.

安裝 DCBInstall DCB

  1. 按一下[開始],然後向下捲動並按一下 [ Windows 系統Click Start, then scroll down to and click Windows System.
  2. 按一下控制台Click Control Panel. [控制台]對話方塊。The Control Panel dialog box opens.
  3. [控制台],按一下,以檢視,然後按一下 *大圖示小圖示In **Control Panel, click **View by, and then click either **Large icons* or Small icons.
  4. 按一下程式和功能Click Programs and Features. [程式和功能] 對話方塊。The Programs and Features dialog box opens.
  5. 程式和功能,在左窗格中,按Windows 功能或關閉In Programs and Features, in the left pane, click Turn Windows features on or off. Windows 功能對話方塊。The Windows Features dialog box opens.
  6. Windows 功能,按一下 [資料中心橋接,然後按一下 [ [確定]In Windows Features, click Data Center Bridging, and then click OK.

關閉對話方塊中,關閉 Windows 功能