通訊協定Protocol

Protocol 指定叢集所使用的連接埠規則的通訊的協定。Protocol specifies the protocol of the port rule used by the cluster.

附註  若要啟用此網路負載平衡的設定,必須啟用 NetworkLoadBalancingFullServer 封裝在您要安裝的 Windows 映像。Note   To enable this Network Load Balancing setting, the NetworkLoadBalancingFullServer package must be enabled in the Windows image you are installing. 若要這樣做,請使用 Windows 系統映像管理員將 Microsoft-Windows-Foundation-Package 新增至回應檔案,然後設定 NetworkLoadBalancingFullServer 套件以啟用它。To do this, use Windows System Image Manager to add the Microsoft-Windows-Foundation-Package to your answer file, and then configure the NetworkLoadBalancingFullServer package to enable it. 如需有關加入和設定封裝的詳細資訊,請參閱 < Windows 評定及部署 (Windows ADK) 的技術參考For more information about adding and configuring packages, see the Windows Assessment and Deployment (Windows ADK) Technical Reference.

Values

TCPTCP

指定 TCP 通訊協定叢集所使用的 TCP 流量。Specifies that the TCP protocol is used by the cluster for TCP traffic.

UDPUDP

指定的 UDP 通訊協定叢集所使用的 UDP 流量。Specifies that the UDP protocol is used by the cluster for UDP traffic.

兩者BOTH

指定 TCP 通訊協定和 UDP 通訊協定會使用叢集的 TCP 和 UDP 流量。Specifies that both the TCP protocol and the UDP protocol are used by the cluster for TCP and UDP traffic.

此字串類型不支援空元素。This string type does not support empty elements. 請勿為此設定建立空值。Do not create an empty value for this setting.

有效的設定階段Valid Configuration Passes

特製化specialize

父階層Parent Hierarchy

microsoft-windows-networkloadbalancing-core- | 叢集 | 叢集 | Portrules | Portrule | 通訊協定microsoft-windows-networkloadbalancing-core- | Clusters | Cluster | Portrules | Portrule | Protocol

套用至Applies To

如需支援的 Windows 版本和架構,此元件支援的清單,請參閱microsoft-windows-networkloadbalancing-core-For the list of the supported Windows editions and architectures that this component supports, see microsoft-windows-networkloadbalancing-core-.

XML 範例XML Example

下列的 XML 輸出會顯示如何指定 TCP 通訊協定叢集所使用的 TCP 流量。The following XML output shows how to specify that the TCP protocol is used by the cluster for TCP traffic.

<Protocol>TCP</Protocol>

PortrulePortrule