Compartilhar via


Protocol

Applies To: Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

Protocol specifies the protocol of the port rule used by the cluster.

Note

To enable this Network Load Balancing setting, the NetworkLoadBalancingFullServer package must be enabled in the Windows® image you are installing. 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. For more information about adding and configuring packages, see the Windows® Assessment and Deployment (Windows ADK) Technical Reference.

Values

TCP

Specifies that the TCP protocol is used by the cluster for TCP traffic.

UDP

Specifies that the UDP protocol is used by the cluster for UDP traffic.

BOTH

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 Passes

specialize

Parent Hierarchy

Microsoft-Windows-NetworkLoadBalancing-Core | Clusters | Cluster | Portrules | Portrule | Protocol

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-NetworkLoadBalancing-Core.

XML Example

The following XML output shows how to specify that the TCP protocol is used by the cluster for TCP traffic.

<Protocol>TCP</Protocol>

See Also

Concepts

Portrule