Configuring Port Ranges on Lync Clients for Quality of Service (QoS)
Topic Last Modified: 2011-07-17
This topic describes how to enable Quality of Service (QoS) for specific communication types on Lync 2010 clients: audio, video, application sharing, and file transfer. Microsoft Office Communicator 2007 R2 clients cannot differentiate between communication types for QoS, and therefore use the same port range for all communication types.
To configure client port ranges
Log on to a server in your deployment Microsoft Lync Server 2010 deployment as a member of the Administrators group.
Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell.
Get the current port ranges: At a command prompt, type the following command, and then press Enter:
Get-CsConferencingConfiguration
If you want to change the current settings, enable setting of port ranges: At a command prompt, type the following command, and then press Enter:
Set-CsConferencingConfiguration -ClientMediaPortRangeEnabled 1
Change the port range settings as necessary: At a command prompt, type the following command, including only the parameters that you want to change, and then press Enter:
Set-CsConferencingConfiguration -ClientAudioPort <beginning of port range> -ClientAudioPortRange <extent of port range, at least 20> -ClientVideoPort <beginning of port range> -ClientVideoPortRange <extent of port range, at least 20> -ClientAppSharingPort <beginning of port range> -ClientAppSharingPortRange <extent of port range, at least 4> -ClientFileTransferPort <beginning of port range> -ClientFileTransferPortRange <extent of port range, at least 4>
Note
(Optional) You can include the -ClientMediaPortRange and -ClientMediaPort parameters in addition to the parameters for specific communication types in this example. If your environment includes Office Communicator 2007 R2 clients, those clients will only use the ports specified by the -ClientMediaPortRange and -ClientMediaPort parameters for QoS. However, Lync 2010 clients do not use the values specified by the -ClientMediaPortRange and –ClientMediaPort parameters unless you run the command with only those parameters and without the parameters for specific communication types. For details, see Set-CsConferencingConfiguration in the Lync Server Management Shell cmdlet Help.
Clients must sign out and then sign in again for the changes to take effect.